Using SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc.
|
|
|
- Frank Cook
- 10 years ago
- Views:
Transcription
1 Paper 189 Using SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc., Cary, NC ABSTRACT This paper highlights some ways of customizing SAS/GRAPH device drivers to produce graphics that are suitable for presentation on the Web. It also highlights new Version 7 enhancements that allow you to create HTML image maps in order to produce drill-down graphs on the Web. INTRODUCTION You can use SAS/GRAPH software in three different ways to produce output on the Web: 1. SAS/GRAPH Device Drivers This method is designed for batch jobs. It creates HTML files for you and uses the GOPTIONS statement to direct procedure output to GIF files that are referenced in the HTML files. 2. Output Delivery System (ODS) This method also creates HTML files for you. The advantage of using this method over device drivers is that it lets you combine output from different procedures to define custom layouts. 3. Output Data Set of SAS/GRAPH This method is for users with extensive HTML knowledge who want to write their own Web pages that include SAS/GRAPH output with drill-down capabilities. With this method, you use the SAS language to generate your own HTML files. Thus, your HTML page design is not limited to designs the first two methods generate for you; you can design the Web pages any way you like. Using SAS/GRAPH Device Drivers You may prefer this method if you have experience with device drivers and GOPTIONS statements. SAS/GRAPH software provides three device drivers to create HTML output for the Web: GIF, HTML and WEBFRAME. The GIF driver creates a GIF format file that can be referenced in your HTML file for viewing. The HTML driver creates one HTML file, and also one GIF file for each graph produced by SAS/GRAPH procedures. All the GIF files are referenced in the HTML file. The WEBFRAME driver is similar to the HTML driver, but it creates multiple HTML files that establish a set of frames for displaying the GIF images as thumbnail links. Clicking on these links will cause the full-size version of the thumbnail to be displayed. GIF DEVICE DRIVER This is the most basic method to get the SAS/GRAPH output in your HTML files. All other methods utilize GIF device drivers to create the SAS/GRAPH output in GIF format to be referenced in HTML files. HTML DEVICE DRIVERS You can use the HTML device driver to create a simple scrollable graph that can be viewed on any viewer. The HTML device driver creates one or more GIF files and one HTML file that references the GIF images created. To create a series of graphs use GOPTIONS DEVICE=HTML. This creates a default HTML file called index.html that can be viewed on any browser. It also creates a GIF file for every graph that is produced by the procedure. Output 1 and 2 show the first two graphs in a series of five graphs produced by the GCHART procedure with the HTML device driver. This is the program that creates the graphs shown in Output 1 and 2. Example 1: data totals; length dept $ 7 site $ 8; input dept site quarter sales; datalines; Parts Sydney Parts Atlanta Parts Paris Repairs Sydney Repairs Atlanta Repairs Paris Tools Sydney
2 Tools Atlanta Tools Paris Parts Sydney Parts Atlanta Parts Paris Repairs Sydney Repairs Atlanta Repairs Paris Tools Sydney Tools Atlanta Tools Paris Parts Sydney Parts Atlanta Parts Paris ; /* define location for output files */ filename out /tmp ; /* Specify device related options */ goptions reset=all nodisplay device=html gsfname=out gsfmode=replace; /* define axis characteristics */ axis1 value=none label=none width=2; axis2 label=none minor=none; /* define legend characteristics */ legend1 cborder=black label=none; title 'Quarterly Sales For Atlanta'; where site="atlanta"; name= Atlanta ; /* Create a 3dpie chart for Paris */ title 'Quarterly Sales For Paris'; where site="paris"; name= Paris ; /* Create a 3dpie chart for Sydney */ title 'Quarterly Sales For Sydney'; where site="sydney"; name= Sydney ; quit; goptions display dev=html; proc greplay igout=work.gseg nofs; replay _all_; quit; /* Create a vertical bar chart */ proc gchart data=totals; title 'Quarterly Sales by Site'; format quarter roman.; vbar site / subgroup=site group=quarter gspace=4 space=1 ref=20000 maxis=axis1 raxis=axis2 gaxis=axis2 caxis=black legend=legend1 name='sales'; /* Create a 3d pie chart for Atlanta */
3 Example 1 creates an index.html file and four GIF files, one for each graph. The driver formats the HTML file so that each GIF image displays in the view window of an HTML browser in sequence. The GSFNAME field in the HTML device entry points to the default location where the files are stored. On most hosts this defaults to your current directory. To redirect the graphics output elsewhere you can change the GSFNAME value by modifying the device entry or by using a GOPTIONS statement. As the charts are being generated, GOPTIONS NODISPLAY is set. When the PROC GCHART has completed, GOPTIONS DISPLAY is set, and the previously generated charts are replayed into the index.html file. This prevents each chart from overwriting the previous index.html file as it is generated. WEBFRAME DRIVER Output 1 The WEBFRAME device works like the HTML device with a more advanced layout. WEBFRAME creates one or more GIF files and several HTML files that display the GIF images with thumbnail links. By default the layout is broken down in two views. The left side contains the thumbnail size graphs and the right side contains the current full size graph. You can select a thumbnail graph to view the corresponding full size image on the right side of the page. Output 3 is created by running the code from Example 1, replacing GOPTIONS DEVICE=HTML with GOPTIONS DEVICE=WEBFRAME. Output 2
4 The files generated by the WEBFRAME device are: Output 3 In Output 3 when you click on the thumbnail for Paris the graph for Paris appears on the right frame as shown in Output 4. Each full-size graph has a separate HTML file. index.html: This is the layout document and the most important of the group, as this file is the one which is intended to be viewed by a browser or referenced from another HTML page. sasthumb.html: This file displays thumbnails of each full size GIF image created by the driver in a frame on the left hand side of the browser window. It also links the thumbnails to the full size GIF images. When the thumbnails are clicked, the full size image is displayed in the target frame. The name of each image appears just below each thumbnail and corresponds to the name that is found in the GRSEG entry. <graphname>.html: This HTML file simply displays the full size image indicated, where <graphname> is the base name associated with the full size image. There is one of these HTML files created for each graph produced by the procedure. <GRSEG entry name>.gif: The WEBFRAME device creates a thumbnail and a full size image pair for each graph produced by the procedure. The full size image filename corresponds to the name in the GRSEG entry. The thumbnail size image filename begins with f. The remaining characters are the same as those that are used for the full size image filename. By default, the GSFNAME field of the WEBFRAME device entry points to the location where the files are created. On most hosts this defaults to your current directory. To redirect your graphics output elsewhere you may take the same approach as with the HTML device. This device will create several HTML files and can potentially create many GIF files per procedure. Like the HTML device, the WEBFRAME device is intended to be used in batch jobs to create HTML pages on the fly. Using Output Delivery System (ODS) Output 4 Like the device drivers, the ODS HTML statement allows you to create SAS/GRAPH output for the Web with drill-down capability. In addition, ODS allows you to combine output from different procedures and define custom layouts. This method requires some knowledge of the HTML language. You should also be familiar with the ODS HTML statement and how the graphs are created from the data sets.
5 Creating SAS/GRAPH Output With ODS ODS HTML output always creates a body file that the viewer displays as a single Web page. ODS HTML can also create a frame file, which allows you to divide the Web page into areas. You can use the frame to display the body file, a table of contents, and other frames. For example, the following output displays a table of contents and a graph in a single frame. In this example you can also drill down on the bars. If you click on the bar for Atlanta, it displays a 3D pie chart for the site Atlanta. Similarly, you can click on Paris or Sydney to get the 3D pie chart for each city. Clicking LEGEND for Parts, Repairs or Tools displays a quarterly report that was produced using PROC PRINT. In addition, clicking on the text links in the Table of Contents will display the appropriate graphs or reports. To generate this graph with drill-down capability, you must define the links that connect each clickable area with the corresponding pie chart or report. These links are HTML commands that are stored in the HTML body file and point to the file that is the target of the drill-down. To define these links, you store the HTML commands in a new variable of the input data set. When the ODS HTML statement creates the body file, it includes these commands in the file. First, look at the current data and decide what action needs to happen when you click on the bars. Then assign this action to a new variable that defines the HTML links from those bars. A new variable is added to the data set from Example 1, which defines the drill-down areas. These variables are Bardrills and Legenddrills. A value for Bardrills will be set based on Atlanta, Paris, and Sydney bars, so the new values will be assigned based on the site variable of the new variable Bardrills. Legends can also have a similar drill-down capability. To define drill-down action for the legend Parts, Repairs, and Tools, you will assign new values based on the dept variable for the new variable Legenddrills. Output 5 The code below is used to generate what is displayed in Output 5. The data set, newtotal, is based on the totals data set created in Example 1. Example 2: data newtotal; set totals; length Bardrills $ 40 Legenddrills $ 40; Bardrills='HREF=#' trim(site); Legenddrills='HREF=#' trim(dept); Note that the values of both the new variables is of the form HREF=#<anchor-name>. This is required syntax for HTML. <Anchor-name> can be any unique name, but it must match exactly the name of the corresponding output. To control the name of the output, use the ANCHOR option in the ODS HTML statement before the procedure. Once the data set is setup, you need to stop the output from going to the graph and output window. All the graphs are displayed in the GIF format. GIF files can be created using the GIF device driver. Both of these statements are required to get your HTML output. /* Start sending output to html */ ods listing close; goptions reset=all device=gif; ODS has several predefined layouts which can be selected by the STYLE= option. Output 5 displays the layout of the main frame, containing two sub frames, table of contents and the output frame. The FILE option specifies the HTML body that is the
6 destination for the graphics output displayed on the right hand side; this is a required option. The PATH= option specifies the destination for the graphics output that is generated by the ODS HTML statement. The CONTENTS= option creates the file that contains the HTML information regarding the table that is displayed on the left hand column. The FRAME= option creates the file that is the main file that is viewed once the graphs are created. The frame file contains the location for the contents and the body created for the graphs. /* define files to generate html & gif files */ ods html file= chart.html style=styles.d3d path= mydir contents= contents.html frame='frame.html'; By default the graph has a white background. To give the graph a transparency effect specify: goptions transparency; If you have an image map in the background then you will be able to use that as the background for your graph Once the setup for the files and devices is done, all that remains are the graphs and reports. The GCHART procedure has two VBAR statement options that control the drill-down feature: HTML= variable and HTML_LEGEND= variable. The HTML= variable option is associated with the graph area such as rectangles and polygons that are used to draw the graph itself. In the data set NEWTOTAL, a new variable, BARDRILLS, is defined to allow the drill-down action for each site. The HTML_LEGEND= allows you to control the drill-down action for each legend value in the graph. In the data set NEWTOTAL, a new variable LEGENDDRILLS is defined to allow the drill-down action for each department. /* Create vertical bar with drill-down action */ proc gchart; title Sales by Site ; vbar site / subgroup=dept html=bardrills html_legend=legenddrills /* Displayed in Table of contents */ des= Sales By Site ; The graph that will be displayed when the drill-down is selected on the bar will depend on the unique anchor name given to that graph. Anchor name should be defined before each graph is produced. If no anchor name is defined then ODS will give a unique name starting with IDX<index>, where <index> starts with 0. In the Output 5, a 3d pie for selected site is displayed when the drill-down action is performed on the vertical bar. To define a drill-down action for Atlanta an anchor name should be assigned. The anchor name has to match the one in the data set. Since the next chart uses a WHERE clause to get the information only about Atlanta, you need to assign the ODS HTML ANCHOR option to Atlanta. The anchor name for Sydney and Paris also needs to be assigned appropriately before the PIE3D statement. /* define the anchor point in the html file */ ods html anchor= Atlanta ; where site? 'Atlanta'; title Sales For Atlanta ; des='sales For Atlanta' name='atlanta'; ods html anchor='sydney'; where site? 'Sydney'; title Sales For Sydney'; des='sales For Sydney' name='sydney'; ods html anchor='paris'; where site? 'Paris'; title 'Sales For Paris'; des='sales For Paris' name='paris'; quit; The Legend drill-down action needs to be defined based on the anchor value that is used in the LEGENDDRILLS variable. Before each PROC PRINT statement an ODS HTML ANCHOR option should be used to define the unique anchor for each department. Anchor name should match the name that
7 is used in the LEGENDDRILLS variable for each department. PROC SORT sorts the data by site rather than by department. /* sort data for proc print output */ proc sort data=newtotal; by site; /* generate a report for each department */ /* oda anchor= defines the unique html anchor */ title Parts Sold ; ods html anchor= Parts ; proc print data=newtotal (where = (dept? Parts )) noobs; sum sales; var site quarter sales; title Repairs Done ; ods html anchor= Repairs ; proc print data=newtotal (where = (dept? Repairs )) noobs; sum sales; var site quarter sales; title Tools Sold ; ods html anchor= Tools ; proc print data=newtotal (where = (dept? Tools )) noobs; sum sales; var site quarter sales; The CLOSE option for the ODS HTML statement closes all files opened by the FILE=, FRAME=, and CONTENTS= options and stops generating HTML output. These files remain open until you close them with the CLOSE option or you specify a different file. To redirect future output to its default window an ODS LISTING statement is required. ods html close; ods listing; You can use the ODS HTML statement with any SAS/GRAPH procedures. The HTML and HTML_LEGEND options that allow the drill-down ability are only supported under the following procedure statements: PROC GCHART - VBAR, HBAR BLOCK PIE, PIE3D VBAR3D, HBAR3D STAR, DONUT PROC GPLOT AREAS POINTS PROC GMAP- CHORO BLOCK PRISM Using Output Data Set of SAS/GRAPH If you have extensive knowledge about HTML and want to write your own Web pages that include output from SAS/GRAPH software with drill-down options, use the output data set method. This method combines procedure syntax with SAS DATA steps and macros to generate the HTML output. To generate the GCHART, GPLOT or GMAP output, you use the procedure s IMAGEMAP= option to specify a data set that will store information that is used to generate the graphs produced by the procedure. In addition to the IMAGEMAP= option, use the procedure s HTML= or HTML_LEGEND= option to identify the variable whose values create the HTML drill-down links. To generate the HTML code, you use SAS DATA steps to write the HTML tags that you need to create and design your frames, and the SAS macro language to dynamically construct the Web pages, based on the output from your SAS program. Using IMAGEMAP =<data set name> will create the output data set that contains the outline information about the shapes used in the graph. The HTML or HTML_LEGEND procedure option is necessary for the IMAGEMAP option to create a SAS data set. The output data set has the following variables: graph variable: This is an eight character variable. By default it has the name of the graph. In case of PROC GCHART it will have a value of GCHART. The naming conventions are the same as those for GRSEGS and can be modified by using the NAME option in the procedure. Length variable: This is a numeric variable that contains the character length of the Link variable.
8 Link variable: This is a character variable that contains the information that you assigned for the HTML variable in the data set. It has a maximum length of 1024 characters, but its current length is determined from the value in the Length variable. From Example2, this variable will contain the same information as Bardrills or Legenddrills. Shape variable: This is a four character name of the shape that is contained in the graph and can be either RECT or POLY. For a BAR chart it will have a value of RECT and other chart types will have a value of POLY. Nxy variable: This is a numeric variable that designates the number of points (xy pairs) for the shape. In the case of RECT it will have the lower left as the first pair and upper right as the second pair. X1 to X100: These are numeric variables for the x coordinates of the shape. Y1 to Y100: These are numeric variables for the y coordinates of the shape. With the data set information you can use the SAS MACRO facility to create the HTML file with the appropriate image maps. Output 6 shows the Web page that was created using the output data set from SAS/GRAPH using the IMAGEMAP= and HTML= options. The display is divided into two separate frames. The left side of the frame displays the BAR chart with drill-down regions and the right displays the output displayed based on the drill-down action. The IMAGEMAP=<data set name> option is specified as the procedure statement. By default it will create the SAS data set in the work directory. Example 3 produces the html file displayed in Output 6. A VBAR chart similar to Example 2 can be created with the IMAGEMAP= option, followed by a PIE3D chart to display in the initial content window (on the right side), and PIE3D charts for each site, to display when the corresponding bar is clicked. Example 3 starts with the newtotal data set created in Example 2. Example 3: Output 6 /* Location to store all the files created */ %let dirpath=<storage directory path>; filename frame &dirpath filename html &dirpath filename salespie &dirpath filename image &dirpath ; libname ex &dirpath ; goptions reset=all dev=gif gsfname=image gsfmode=replace xpixels=400 ypixels=400 ftext=swissb transparency htext=4 pct; axis1 label=('site'); axis2 label=('sales'); legend label=('dept.'); Title h=5 pct 'Sales By Site For Each Departments'; libname ex sugi23 ; /* Generate picture for contents frame */ proc gchart gout=ex.exp2 imagemap=htmldat data=newtotal; vbar site / subgroup=dept width=10 maxis=axis1 raxis=axis2 legend=legend1 html=bardrill des='sales by site' name='salesbar'; quit; /* Generate initial picture for body frame */
9 title h=5 pct Sales By Site ; proc gchart gout=ex.exp2 data=newtotal; pie3d site / noheading des= Sales by site name= salespie ; /* Generate picture for each site */ Title h=5 pct Sales For Atlanta ; where site? Atlanta ; des= sales for atlanta name= atlanta ; Title h=5 pct Sales For Sydney ; where site? Sydney ; des= sales for sydney name= sydney ; Title h=5 pct Sales For Paris ; where site? Paris ; des= sales for paris name= paris ; quit; To generate the main frame window that contains salesbar.html and salespie.html we will use a simple SAS DATA step with PUT statements that will write HTML information to an external file. The main frame window is divided into two subframe windows. The left frame is referenced as contents, containing the output from salesbar.html, and the right is referenced as body, containing the output from salespie.html. Note this type of layout is defined automatically for you if you select the ODS HTML method. /* create the main frame file */ filename frame &dirpath/frame.html ; data _null_; file frame; put <HTML> ; put <HEAD> ; put <TITLE>Sales Graphs</TITLE> ; put </HEAD> ; put '<FRAMESET put FRAMESPACING=0 COLS="52%,*">'; put '<FRAME put put SRC="salesbar.html" NAME="contents">'; put '<FRAME put put SRC="salespie.html" NAME="body">'; put '</FRAMESET>'; put '</HTML>'; put '</FONT>'; put '</BODY>'; put '</HTML>'; The next step is to read in the output data set that was created by the IMAGEMAP option, and generate an HTML file with appropriate image maps. Creation of this HTML file can be viewed in three sections: Initializing the necessary HTML tags. Generating the appropriate image maps from the IMAGEMAP data set. Closing the necessary HTML tags. To make the example simple, only the necessary HTML tags have been used. After initializing HTML tags, you can customize the statement based on the shape variable, and output to the link, and coordinates for the image maps. /* Generate html file with drill-down information */ data _null_; set htmldat end=last; file html; /* Initialize the HTML file with required */ /* tags and information for the first graph. */ if _n_=1 then do; put '<HTML>'; put '<HEAD>'; put '<TITLE>Sales Chart</TITLE>'; put '</HEAD>'; put '<BODY>'; put '<IMG put USEMAP="#barchart_map">'; put '<MAP NAME="barchart_map">'; end; array x{100} x1-x100; array y{100} y1-y100; /* Add image map points based on shape */ if shape='rect' then do;
10 put <AREA put link $varying. put put put x1 4. ',' y1 4. ',' x2 4. ',' y2 4. ' ">'; end; else if shape='poly' then do; put '<AREA SHAPE="POLY" put link $varying. put ' put ' do i=1 to nxy-1; put x{i} 4. ',' y{i} 4. end; put x{nxy} 4. ',' y{nxy} put ' ">'; end; /* End the HTML file */ if last then do; put '</MAP>'; put '</BODY>'; put '</HTML>'; end; When you drill down on the bar, the body frame gets updated with the appropriate PIE3D chart. Each of the 3D pies is displayed from a separate HTML file. In Output 6 there are three 3D pies, one for each site. It is appropriate to write a simple macro that accepts the site name as a parameter and creates the HTML file based on this name. /* Create the link file in a seperate HTML file */ %macro linkfile(htmlfl); %let flname=&dirpath\&htmlfl..html; data _null_; file "&flname"; put '<HTML>'; put '<HEAD>'; put '<TITLE>' "&htmlfl" '</TITLE>'; put '</HEAD>'; put '<BODY>'; put '<MAP NAME='"&htmlfl"'>'; put '<IMG SRC=' "&htmlfl" '.gif>'; put '</BODY>'; put '</HTML>'; %mend; /* Create the html files to use when drilling down */ %linkfile(atlanta); %linkfile(sydney); %linkfile(paris); SAS will provide some simple macros that will generate a basic HTML file from the data set that was created by the IMAGEMAP option. These macros will be located in the ANNOMAC library. The IMAGEMAP option is currently supported for the following procedures: GCHART GPLOT GMAP Note that the IMAGEMAP option can be used only with the HTML= and/or HTML_LEGEND= options, supported under the SAS/GRAPH procedures. CONCLUSION SAS/GRAPH software provides three methods to produce Web output, each with its own advantages. If you re looking for a simple Web output format with a predefined layout, use the device driver method. Device drivers can include the output only from SAS/GRAPH procedures. If you want to combine procedures, define your layout, and have data-driven, drill-down abilities, use the ODS method. If you have extensive HTML knowledge and specific formatting requirements, use the IMAGEMAP method. CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the author at: David Caira ([email protected]) SAS Campus Drive Cary, North Carolina SAS and SAS/GRAPH are registered trademark or trademarks of SAS Institute Inc in the USA and other countries. indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies. /* Create the html file to be shown initially */ %linkfile(salespie);
Let SAS Write Your SAS/GRAPH Programs for You Max Cherny, GlaxoSmithKline, Collegeville, PA
Paper TT08 Let SAS Write Your SAS/GRAPH Programs for You Max Cherny, GlaxoSmithKline, Collegeville, PA ABSTRACT Creating graphics is one of the most challenging tasks for SAS users. SAS/Graph is a very
The Basics of Creating Graphs with SAS/GRAPH Software Jeff Cartier, SAS Institute Inc., Cary, NC
Paper 63-27 The Basics of Creating Graphs with SAS/GRAPH Software Jeff Cartier, SAS Institute Inc., Cary, NC ABSTRACT SAS/GRAPH software is a very powerful tool for creating a wide range of business and
Pop-Ups, Drill-Downs, and Animation Mike Zdeb, University@Albany School of Public Health, Rensselaer, NY
Paper 090-29 Pop-Ups, Drill-Downs, and Animation Mike Zdeb, University@Albany School of Public Health, Rensselaer, NY ABSTRACT Several features have been added to SAS/GRAPH that allow a user to go beyond
Tips and Tricks: Using SAS/GRAPH Effectively A. Darrell Massengill, SAS Institute, Cary, NC
Paper 90-30 Tips and Tricks: Using SAS/GRAPH Effectively A. Darrell Massengill, SAS Institute, Cary, NC ABSTRACT SAS/GRAPH is a powerful data visualization tool. This paper examines the powerful components
Using SAS to Create Graphs with Pop-up Functions Shiqun (Stan) Li, Minimax Information Services, NJ Wei Zhou, Lilly USA LLC, IN
Paper CC12 Using SAS to Create Graphs with Pop-up Functions Shiqun (Stan) Li, Minimax Information Services, NJ Wei Zhou, Lilly USA LLC, IN ABSTRACT In addition to the static graph features, SAS provides
Hands-On Workshops HW003
HW003 Connecting the SAS System to the Web: An Introduction to SAS/IntrNet Application Dispatcher Vincent Timbers, Penn State, University Park, PA ABSTRACT There are several methods for accessing the SAS
How to Change the Template and Table of Contents for SAS Web Applications Veronica Y. Rath, INDUS Corporation, Vienna, VA
How to Change the Template and Table of Contents for SAS Web Applications Veronica Y. Rath, INDUS Corporation, Vienna, VA ABSTRACT This paper addresses two key areas: (1) creating templates; and (2) changing
Visualizing Key Performance Indicators using the GKPI Procedure Brian Varney, COMSYS, a Manpower Company, Portage, MI
Paper 66-2010 Visualizing Key Performance Indicators using the GKPI Procedure Brian Varney, COMSYS, a Manpower Company, Portage, MI ABSTRACT The GKPI procedure is new in SAS 9.2 SAS/Graph. This new procedure
Internet/Intranet, the Web & SAS. II006 Building a Web Based EIS for Data Analysis Ed Confer, KGC Programming Solutions, Potomac Falls, VA
II006 Building a Web Based EIS for Data Analysis Ed Confer, KGC Programming Solutions, Potomac Falls, VA Abstract Web based reporting has enhanced the ability of management to interface with data in a
Beginning Tutorials. BT005 MAPS MADE EASY USING SAS Mike Zdeb, University@Albany School of Public Health
BT005 MAPS MADE EASY USING SAS Mike Zdeb, University@Albany School of Public Health INTRODUCTION Maps can be created with SAS by using either SAS/GIS or the GMAP procedure, one of the procedures (PROCs)
SAS Mapping: Technologies, Techniques, Tips and Tricks Darrell Massengill
SAS Mapping: Technologies, Techniques, Tips and Tricks Darrell Massengill Every organization has location based data. The difficulty is in choosing the right technology and tool to effectively transform
SAS ODS. Greg Jenkins
SAS ODS Greg Jenkins 1 Overview ODS stands for the Output Delivery System ODS allows output from the Data Step & SAS procedures to presented in a more useful way. ODS also allows for some of the output
Mobile Business Applications: Delivering SAS Dashboards To Mobile Devices via MMS
Mobile Business Applications: Delivering SAS Dashboards To Mobile Devices via MMS ABSTRACT Ben Robbins, Eaton Corporation, Raleigh NC Michael Drutar, SAS Institute Inc., Cary, NC Today s face-paced business
Scatter Chart. Segmented Bar Chart. Overlay Chart
Data Visualization Using Java and VRML Lingxiao Li, Art Barnes, SAS Institute Inc., Cary, NC ABSTRACT Java and VRML (Virtual Reality Modeling Language) are tools with tremendous potential for creating
Graphing in SAS Software
Graphing in SAS Software Prepared by International SAS Training and Consulting Destiny Corporation 100 Great Meadow Rd Suite 601 - Wethersfield, CT 06109-2379 Phone: (860) 721-1684 - 1-800-7TRAINING Fax:
OVERVIEW OF THE ENTERPRISE GUIDE INTERFACE
Paper HOW-007 Graphing the Easy Way with SAS Enterprise Guide (or How to Look Good With Less Effort) Stephanie R. Thompson, Rochester Institute of Technology, Rochester, NY ABSTRACT Have you ever wanted
Paper 208-28. KEYWORDS PROC TRANSPOSE, PROC CORR, PROC MEANS, PROC GPLOT, Macro Language, Mean, Standard Deviation, Vertical Reference.
Paper 208-28 Analysis of Method Comparison Studies Using SAS Mohamed Shoukri, King Faisal Specialist Hospital & Research Center, Riyadh, KSA and Department of Epidemiology and Biostatistics, University
Creating Maps with SAS/GRAPH - Drill Downs, Pop-Ups, and Animation Mike Zdeb, University@Albany School of Public Health, Rensselaer, NY
Paper 120-29 Creating Maps with SAS/GRAPH - Drill Downs, Pop-Ups, and Animation Mike Zdeb, University@Albany School of Public Health, Rensselaer, NY ABSTRACT Maps can be created with SAS by using the GMAP
4 Other useful features on the course web page. 5 Accessing SAS
1 Using SAS outside of ITCs Statistical Methods and Computing, 22S:30/105 Instructor: Cowles Lab 1 Jan 31, 2014 You can access SAS from off campus by using the ITC Virtual Desktop Go to https://virtualdesktopuiowaedu
ABSTRACT INTRODUCTION
Automating Concatenation of PDF/RTF Reports Using ODS DOCUMENT Shirish Nalavade, eclinical Solutions, Mansfield, MA Shubha Manjunath, Independent Consultant, New London, CT ABSTRACT As part of clinical
SAS Mapping: Technologies, Techniques, Tips and Tricks
SAS Mapping: Technologies, Techniques, Tips and Tricks Darrell Massengill Every organization has location based data. The difficulty is in choosing the right technology and tool to effectively transform
Creating HTML Output with Output Delivery System
Paper CC07 Creating HTML Output with Output Delivery System Kirk Paul Lafler, Software Intelligence Corporation, Spring Valley, CA ABSTRACT Are you looking for ways to improve the way your SAS output appears?
208-25 LEGEND OPTIONS USING MULTIPLE PLOT STATEMENTS IN PROC GPLOT
Paper 28-25 LEGEND OPTIONS USING MULTIPLE PLOT STATEMENTS IN PROC GPLOT Julie W. Pepe, University of Central Florida, Orlando, FL ABSTRACT A graph with both left and right vertical axes is easy to construct
SAS ODS HTML + PROC Report = Fantastic Output Girish K. Narayandas, OptumInsight, Eden Prairie, MN
SA118-2014 SAS ODS HTML + PROC Report = Fantastic Output Girish K. Narayandas, OptumInsight, Eden Prairie, MN ABSTRACT ODS (Output Delivery System) is a wonderful feature in SAS to create consistent, presentable
Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX
Paper 126-29 Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX ABSTRACT This hands-on workshop shows how to use the SAS Macro Facility
Using SAS Output Delivery System (ODS) Markup to Generate Custom PivotTable and PivotChart Reports Chevell Parker, SAS Institute
Using SAS Output Delivery System (ODS) Markup to Generate Custom PivotTable and PivotChart Reports Chevell Parker, SAS Institute ABSTRACT This paper illustrates how to use ODS markup to create PivotTable
WHO WE ARE. INTRODUCTION Throughout the year, numerous official data files and hard copy
Using SAS and Other Tools to Move an Institutional Research (IR) Office from Hardcopy Reporting to a Web-Based Environment Sabrina Andrews, University of Central Florida, Orlando, FL Evangeline Collado,
Data Visualization with SAS/Graph
Data Visualization with SAS/Graph Keith Cranford Office of the Attorney General, Child Support Division Abstract With the increase use of Business Intelligence, data visualization is becoming more important
How To Use Mugeda Content
Using Mugeda Content The Mugeda Team www.mugeda.com May 19, 2013 How to Use Created Content Three basic methods Direct export Publish to Mugeda CDN Upload to your own or 3 rd party server Direct Export
Paper 23-28. Hot Links: Creating Embedded URLs using ODS Jonathan Squire, C 2 RA (Cambridge Clinical Research Associates), Andover, MA
Paper 23-28 Hot Links: Creating Embedded URLs using ODS Jonathan Squire, C 2 RA (Cambridge Clinical Research Associates), Andover, MA ABSTRACT With SAS/BASE version 8, one can create embedded HTML links
Overview. NT Event Log. CHAPTER 8 Enhancements for SAS Users under Windows NT
177 CHAPTER 8 Enhancements for SAS Users under Windows NT Overview 177 NT Event Log 177 Sending Messages to the NT Event Log Using a User-Written Function 178 Examples of Using the User-Written Function
9.1 SAS/ACCESS. Interface to SAP BW. User s Guide
SAS/ACCESS 9.1 Interface to SAP BW User s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS/ACCESS 9.1 Interface to SAP BW: User s Guide. Cary, NC: SAS
You have got SASMAIL!
You have got SASMAIL! Rajbir Chadha, Cognizant Technology Solutions, Wilmington, DE ABSTRACT As SAS software programs become complex, processing times increase. Sitting in front of the computer, waiting
From The Little SAS Book, Fifth Edition. Full book available for purchase here.
From The Little SAS Book, Fifth Edition. Full book available for purchase here. Acknowledgments ix Introducing SAS Software About This Book xi What s New xiv x Chapter 1 Getting Started Using SAS Software
Dynamic Decision-Making Web Services Using SAS Stored Processes and SAS Business Rules Manager
Paper SAS1787-2015 Dynamic Decision-Making Web Services Using SAS Stored Processes and SAS Business Rules Manager Chris Upton and Lori Small, SAS Institute Inc. ABSTRACT With the latest release of SAS
Abstract. Introduction. Web Technology and Thin Clients. What s New in Java Version 1.1
Overview of Java Components and Applets in SAS/IntrNet Software Barbara Walters, SAS Institute Inc., Cary, NC Don Chapman, SAS Institute Inc., Cary, NC Abstract This paper describes the Java components
Developing an On-Demand Web Report Platform Using Stored Processes and SAS Web Application Server
Paper 10740-2016 Developing an On-Demand Web Report Platform Using Stored Processes and SAS Web Application Server ABSTRACT Romain Miralles, Genomic Health. As SAS programmers, we often develop listings,
The Basics of Dynamic SAS/IntrNet Applications Roderick A. Rose, Jordan Institute for Families, School of Social Work, UNC-Chapel Hill
Paper 5-26 The Basics of Dynamic SAS/IntrNet Applications Roderick A. Rose, Jordan Institute for Families, School of Social Work, UNC-Chapel Hill ABSTRACT The purpose of this tutorial is to introduce SAS
Choosing the Best Method to Create an Excel Report Romain Miralles, Clinovo, Sunnyvale, CA
Choosing the Best Method to Create an Excel Report Romain Miralles, Clinovo, Sunnyvale, CA ABSTRACT PROC EXPORT, LIBNAME, DDE or excelxp tagset? Many techniques exist to create an excel file using SAS.
Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC
ABSTRACT PharmaSUG 2012 - Paper CC07 Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC In Pharmaceuticals/CRO industries, Excel files are widely use for data storage.
Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS. Vincent DelGobbo, SAS Institute Inc.
Paper HOW-071 Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring SAS data and analytical results
Data Visualization Power Tools: Expedite the Easy, Implement the Difficult, or Handle Big Data
ABSTRACT PharmaSUG 2013 - Paper DG11 Data Visualization Power Tools: Expedite the Easy, Implement the Difficult, or Handle Big Data LeRoy Bessler Bessler Consulting and Research, Mequon, Milwaukee, Wisconsin,
Lost in Space? Methodology for a Guided Drill-Through Analysis Out of the Wormhole
Paper BB-01 Lost in Space? Methodology for a Guided Drill-Through Analysis Out of the Wormhole ABSTRACT Stephen Overton, Overton Technologies, LLC, Raleigh, NC Business information can be consumed many
Seamless Dynamic Web Reporting with SAS D.J. Penix, Pinnacle Solutions, Indianapolis, IN
Seamless Dynamic Web Reporting with SAS D.J. Penix, Pinnacle Solutions, Indianapolis, IN ABSTRACT The SAS Business Intelligence platform provides a wide variety of reporting interfaces and capabilities
Oracle Business Intelligence Publisher: Create Reports and Data Models. Part 1 - Layout Editor
Oracle Business Intelligence Publisher: Create Reports and Data Models Part 1 - Layout Editor Pradeep Kumar Sharma Senior Principal Product Manager, Oracle Business Intelligence Kasturi Shekhar Director,
Switching from PC SAS to SAS Enterprise Guide Zhengxin (Cindy) Yang, inventiv Health Clinical, Princeton, NJ
PharmaSUG 2014 PO10 Switching from PC SAS to SAS Enterprise Guide Zhengxin (Cindy) Yang, inventiv Health Clinical, Princeton, NJ ABSTRACT As more and more organizations adapt to the SAS Enterprise Guide,
04 Links & Images. 1 The Anchor Tag. 1.1 Hyperlinks
One of the greatest strengths of Hypertext Markup Language is hypertext the ability to link documents together. The World Wide Web itself consists of millions of html documents all linked together via
An Introduction to SAS/SHARE, By Example
Paper 020-29 An Introduction to SAS/SHARE, By Example Larry Altmayer, U.S. Census Bureau, Washington, DC ABSTRACT SAS/SHARE software is a useful tool for allowing several users to simultaneously access
Search and Replace in SAS Data Sets thru GUI
Search and Replace in SAS Data Sets thru GUI Edmond Cheng, Bureau of Labor Statistics, Washington, DC ABSTRACT In managing data with SAS /BASE software, performing a search and replace is not a straight
Perfecting Report Output to RTF Steven Feder, Federal Reserve Board, Washington, D.C.
Perfecting Report Output to RTF Steven Feder, Federal Reserve Board, Washington, D.C. ABSTRACT Output Delivery System (ODS) output to RTF presents possibilities for creating publication-ready final documents
SAS BI Dashboard 4.3. User's Guide. SAS Documentation
SAS BI Dashboard 4.3 User's Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2010. SAS BI Dashboard 4.3: User s Guide. Cary, NC: SAS Institute
SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC
Paper CS-053 SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC ABSTRACT Business folks use Excel and have no desire to learn SAS Enterprise Guide? MS PowerPoint presentations
Web Authoring. www.fetac.ie. Module Descriptor
The Further Education and Training Awards Council (FETAC) was set up as a statutory body on 11 June 2001 by the Minister for Education and Science. Under the Qualifications (Education & Training) Act,
Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel
Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel Nathan Clausen, U.S. Bureau of Labor Statistics, Washington, DC Edmond Cheng, U.S.
Importing and Exporting With SPSS for Windows 17 TUT 117
Information Systems Services Importing and Exporting With TUT 117 Version 2.0 (Nov 2009) Contents 1. Introduction... 3 1.1 Aim of this Document... 3 2. Importing Data from Other Sources... 3 2.1 Reading
Producing Structured Clinical Trial Reports Using SAS: A Company Solution
Producing Structured Clinical Trial Reports Using SAS: A Company Solution By Andy Lawton, Helen Dewberry and Michael Pearce, Boehringer Ingelheim UK Ltd INTRODUCTION Boehringer Ingelheim (BI), like all
Scientific Graphing in Excel 2010
Scientific Graphing in Excel 2010 When you start Excel, you will see the screen below. Various parts of the display are labelled in red, with arrows, to define the terms used in the remainder of this overview.
Information Server Documentation SIMATIC. Information Server V8.0 Update 1 Information Server Documentation. Introduction 1. Web application basics 2
Introduction 1 Web application basics 2 SIMATIC Information Server V8.0 Update 1 System Manual Office add-ins basics 3 Time specifications 4 Report templates 5 Working with the Web application 6 Working
9.2 User s Guide SAS/STAT. Introduction. (Book Excerpt) SAS Documentation
SAS/STAT Introduction (Book Excerpt) 9.2 User s Guide SAS Documentation This document is an individual chapter from SAS/STAT 9.2 User s Guide. The correct bibliographic citation for the complete manual
Table of Contents. I. Banner Design Studio Overview... 4. II. Banner Creation Methods... 6. III. User Interface... 8
User s Manual Table of Contents I. Banner Design Studio Overview... 4 II. Banner Creation Methods... 6 a) Create Banners from scratch in 3 easy steps... 6 b) Create Banners from template in 3 Easy Steps...
StARScope: A Web-based SAS Prototype for Clinical Data Visualization
Paper 42-28 StARScope: A Web-based SAS Prototype for Clinical Data Visualization Fang Dong, Pfizer Global Research and Development, Ann Arbor Laboratories Subra Pilli, Pfizer Global Research and Development,
Beyond the Basics: Advanced REPORT Procedure Tips and Tricks Updated for SAS 9.2 Allison McMahill Booth, SAS Institute Inc.
ABSTRACT PharmaSUG 2011 - Paper SAS-AD02 Beyond the Basics: Advanced REPORT Procedure Tips and Tricks Updated for SAS 9.2 Allison McMahill Booth, SAS Institute Inc., Cary, NC, USA This paper is an update
SAS Add-In 2.1 for Microsoft Office: Getting Started with Data Analysis
SAS Add-In 2.1 for Microsoft Office: Getting Started with Data Analysis The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2007. SAS Add-In 2.1 for Microsoft Office: Getting
SAS UNIX-Space Analyzer A handy tool for UNIX SAS Administrators Airaha Chelvakkanthan Manickam, Cognizant Technology Solutions, Teaneck, NJ
PharmaSUG 2012 Paper PO11 SAS UNIX-Space Analyzer A handy tool for UNIX SAS Administrators Airaha Chelvakkanthan Manickam, Cognizant Technology Solutions, Teaneck, NJ ABSTRACT: In the fast growing area
Customized Excel Output Using the Excel Libname Harry Droogendyk, Stratia Consulting Inc., Lynden, ON
Paper SIB-105 Customized Excel Output Using the Excel Libname Harry Droogendyk, Stratia Consulting Inc., Lynden, ON ABSTRACT The advent of the ODS ExcelXP tagset and its many features has afforded the
Getting Started Guide. Chapter 11 Graphics, the Gallery, and Fontwork
Getting Started Guide Chapter 11 Graphics, the Gallery, and Fontwork Copyright This document is Copyright 2010 2014 by the LibreOffice Documentation Team. Contributors are listed below. You may distribute
PASTPERFECT-ONLINE DESIGN GUIDE
PASTPERFECT-ONLINE DESIGN GUIDE INTRODUCTION Making your collections available and searchable online to Internet visitors is an exciting venture, now made easier with PastPerfect-Online. Once you have
UNIX Operating Environment
97 CHAPTER 14 UNIX Operating Environment Specifying File Attributes for UNIX 97 Determining the SAS Release Used to Create a Member 97 Creating a Transport File on Tape 98 Copying the Transport File from
Guide to SAS/AF Applications Development
Guide to SAS/AF Applications Development SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2012. Guide to SAS/AF Applications Development. Cary, NC:
Soma Ghosh, UnitedHealth Group, Minneapolis, MN
Paper DV-03-2014 SAS Graphs with Multiple Y Axes Some Useful Tips and Tricks Soma Ghosh, UnitedHealth Group, Minneapolis, MN ABSTRACT SAS/Graph is a very powerful feature that helps programmers, analysts
Multiple Graphs on One Page (Step-by-step approach) Yogesh Pande, Schering-Plough Corporation, Summit NJ
Paper CC01 Multiple Graphs on One Page (Step-by-step approach) Yogesh Pande, Schering-Plough Corporation, Summit NJ ABSTRACT In statistical analysis and reporting, it is essential to provide a clear presentation
SAS Macros as File Management Utility Programs
Paper 219-26 SAS Macros as File Management Utility Programs Christopher J. Rook, EDP Contract Services, Bala Cynwyd, PA Shi-Tao Yeh, EDP Contract Services, Bala Cynwyd, PA ABSTRACT This paper provides
Building a Better Dashboard Using Base SAS Software
PharmaSUG 2016 Paper AD12 Building a Better Dashboard Using Base SAS Software Kirk Paul Lafler, Software Intelligence Corporation, Spring Valley, California Roger Muller, Data-To-Events, Indianapolis,
Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc
Paper 039-29 Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc ABSTRACT This paper highlights the programmable aspects of SAS results distribution using electronic
ABSTRACT INTRODUCTION SAS AND EXCEL CAPABILITIES SAS AND EXCEL STRUCTURES
Paper 85-2010 Choosing the Right Tool from Your SAS and Microsoft Excel Tool Belt Steven First and Jennifer First, Systems Seminar Consultants, Madison, Wisconsin ABSTRACT There are over a dozen ways to
Let There Be Highlights: Data-driven Cell, Row and Column Highlights in %TAB2HTM and %DS2HTM Output. Matthew Flynn and Ray Pass
Let There Be Highlights: Data-driven Cell, Row and Column Highlights in %TAB2HTM and %DS2HTM Output Matthew Flynn and Ray Pass Introduction Version 6.12 of the SAS System Technical Support supplied macros
DiskPulse DISK CHANGE MONITOR
DiskPulse DISK CHANGE MONITOR User Manual Version 7.9 Oct 2015 www.diskpulse.com [email protected] 1 1 DiskPulse Overview...3 2 DiskPulse Product Versions...5 3 Using Desktop Product Version...6 3.1 Product
Data exploration with Microsoft Excel: univariate analysis
Data exploration with Microsoft Excel: univariate analysis Contents 1 Introduction... 1 2 Exploring a variable s frequency distribution... 2 3 Calculating measures of central tendency... 16 4 Calculating
Interactive HTML Reporting Using D3 Naushad Pasha Puliyambalath Ph.D., Nationwide Insurance, Columbus, OH
Paper DV09-2014 Interactive HTML Reporting Using D3 Naushad Pasha Puliyambalath Ph.D., Nationwide Insurance, Columbus, OH ABSTRACT Data visualization tools using JavaScript have been flourishing recently.
