A Revolution? Development of Dynamic And Hypertext Linked Reports With Internet Technologies and SAS System

Similar documents
A Generalized Macro-Based Data Reporting System to Produce Both HTML and Text Files

HTML for the SAS Programmer

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder

California Open Online Library for Education & Accessibility

I-5 Internet Applications

GETTING STARTED IN FRONTPAGE 2000 SETTING THE BACKGROUND

Structure Bars. Tag Bar

EXPORTING SAS OUTPUT ONTO THE WORLD WIDE WEB

CSC 121 Computers and Scientific Thinking

Perceptive Document Composition

WEB APPLICATION DEVELOPMENT. How the Web Works

Advanced PROC REPORT: Getting Your Tables Connected Using Links

California Open Online Library for Education & Accessibility

Creating Accessible Microsoft Word 2003 Documents Table of Contents

An Application of ODS Tagsets. Notice! Paper

Run your reports through that last loop to standardize the presentation attributes

Let There Be Highlights: Data-driven Cell and Row Highlights in %TAB2HTM and %DS2HTM Output

California Open Online Library for Education & Accessibility

IU Kokomo Career and Accessibility Center

California Open Online Library for Education & Accessibility

Glossary. advance: to move forward

UNIVERSITY OF NORTH CAROLINA WILMINGTON

Making Your SAS Data JMP Through Hoops Mira Shapiro, Analytic Designers LLC, Bethesda, MD

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

Creating Accessible Word Documents

California Open Online Library for Education & Accessibility

California Open Online Library for Education & Accessibility

Fly over, drill down, and explore

Bixby Public Schools Course Essential Elements Grade: Desktop Publishing

The Internet and the Web

Creating Accessible Microsoft Word Documents

California Open Online Library for Education & Accessibility

LST in Comparison Sanket Kale, Parexel International Inc., Durham, NC Sajin Johnny, Parexel International Inc., Durham, NC

Remodeling Your Office A New Look for the SAS Add-In for Microsoft Office

Overview 14 Table Definitions and Style Definitions 16 Output Objects and Output Destinations 18 ODS References and Resources 20

Geocaching HTML & BBCode FUNdamentals by Scott Aleckson (SSO JOAT)

California Open Online Library for Education & Accessibility

A Dynamic Imagemap Generator Carol Martell, Highway Safety Research Center, Chapel Hill, NC

HTML Text Editor and Accessibility

California Open Online Library for Education & Accessibility

A Guided Tour of Doc-To-Help

Overview of the Adobe Dreamweaver CS5 workspace

Internet/Intranet, the Web & SAS

A Balanced Introduction to Computer Science, 3/E

Perceptive Document Composition

Guide Users along Information Pathways and Surf through the Data

Non-Fiction Texts Websites

ABSTRACT: INTRODUCTION: WEB CRAWLER OVERVIEW: METHOD 1: WEB CRAWLER IN SAS DATA STEP CODE. Paper CC-17

Creating Section links in WebKidss

Statistics without DATA _NULLS_

HOW TO DEVELOP A SAS/AF APPLICATION

Lesson 5 Introduction to Cascading Style Sheets

HyperText Markup Language/Tables

SAS Web Report Studio 3.1

This Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step.

Handout created by Cheryl Tice, Instructional Support for Technology, GST BOCES

Creating a Web Page Using SeaMonkey Composer

Building Web Applications with SAS AppDev Studio TM 3.0

The Text Editor appears in many locations throughout Blackboard Learn and is used to format text. For example, you can use it to:

Voluntary Product Accessibility Template (VPAT ) WCAG Edition. About This Document. Version 2.2 July 2018

unformatted text: this is also known as plaintext and enables pages to be created which comprise strings of fixed-

11_Mitchell_indexFinal.qxd 8/25/06 10:18 AM Page 195 Index

Developing a Basic Web Page

7.1. Browsing CHAPTER. The Internet. Web Browser software

Part 1. Getting Started. Chapter 1 Creating a Simple Report 3. Chapter 2 PROC REPORT: An Introduction 13. Chapter 3 Creating Breaks 57

California Open Online Library for Education & Accessibility

Foundation of Web Goal 4: Proficiency in Adobe Dreamweaver CC

Seamless Dynamic Web (and Smart Device!) Reporting with SAS D.J. Penix, Pinnacle Solutions, Indianapolis, IN

California Open Online Library for Education & Accessibility

Paper SIB-096. Richard A. DeVenezia, Independent Consultant, Remsen, NY

All Creative Designs. Basic HTML for PC Tutorial Part 1 Using MS Notepad (Version May 2013) My First Web Page

AD07 A Tool to Automate TFL Bundling

California Open Online Library for Education & Accessibility

HTMLnotesS15.notebook. January 25, 2015

Text and Lists Use Styles. What Are Styles?

WWW and Web Browser. 6.1 Objectives In this chapter we will learn about:

SAS Report Viewer 8.2 Documentation

California Open Online Library for Education & Accessibility

California Open Online Library for Education & Accessibility

San Pedro Junior College. WORD PROCESSING (Microsoft Word 2016) Week 4-7

California Open Online Library for Education & Accessibility

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

ABSTRACT INTRODUCTION TRICK 1: CHOOSE THE BEST METHOD TO CREATE MACRO VARIABLES

Internet Basics. New Brighton Library th Street NW New Brighton, MN

DRAFT. Table of Contents About this manual... ix About CuteSITE Builder... ix. Getting Started... 1

California Open Online Library for Education & Accessibility

California Open Online Library for Education & Accessibility

CAMRA Beer Engine user s guide

California Open Online Library for Education & Accessibility

Level Up: Understanding the needs of People with Disabilities in Your Community

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

California Open Online Library for Education & Accessibility

TLFs: Replaying Rather than Appending William Coar, Axio Research, Seattle, WA

Criteria Status Remarks and Explanations Section Software Applications and Not applicable Not applicable. Supports with exceptions

Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet


Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

Chapter 14 Working with Fields

Transcription:

A Revolution? Development of Dynamic And Hypertext Linked Reports With Internet Technologies and SAS System Jeff F. Sun, Blue Cross Blue Shield of North Carolina, Durham, North Carolina Abstract The current SAS-based reporting system provides us with printed reports and tables with a spatial, physical, and static way and a fixed linear structure. Even though indexes, tables of contents, or cross-references exist superimposed on this linear framework and provide added value, often critically important, they do not change the underlying structure. As a result, there are some disadvantages for the linear structure multimedia in the current SAS-based reporting system. First of all, in order to put all these tables and reports together logically, one must organize them manually. In addition, a particular number which was processed and calculated in a table cell cannot be easily drilled down in a dynamic and interactive manner. The most common way we have for the current reporting system is to use footnotes to provide further or detailed explanation or information. Very often the track for further information might be much more time-consuming and labor intensive. The navigation in this kind of format reports and tables is quite difficult when the size gets bigger. This paper explores development of dynamic and hypertext linked report with internet technologies and SAS system. I. Introduction The advent in recent years of inexpensive, yet extremely powerful, computers and graphical displays has made it possible to step beyond this linear barrier. The internet related technologies enable us to report data with a much faster and non-linear way. With SAS System, we can create dynamic and hypertext linked tables/reports and update them quickly. This paper demonstrates a dynamic, interactive, and hypertext linked report with internet technologies and introduces some SAS programming techniques which can produce dynamic and hypertext linked reports and tables with SAS system. The paper will provide some examples on the SAS-based hypertext linked reporting system with Internet technologies in the PC environment. II. Traditional Reports A linear reporting system (see Figure 1) is described as a system where the printed reports with only SAS system have an obvious beginning and end, and a single fixed sequence Main s Figure 1. A Linear Structure for Reporting of pages in between. Figure 2 shows a typical linear structure table produced by PROC TABULATE. In other words, the paper forms give us static, isolated, separate tables and reports. In order to get further information, one must put such information into footnotes or attached papers, with additional information 1

provided to guide the readers in finding specific information. This may become a much more time-consuming and labor-intensive process for both report authors and readers. If we can integrate SAS system with internet technologies, all this can be accomplished quickly and efficiently. To set up a hypertext linked report, one needs to link up text-based information using source and target nodes. A source node is simply a word or phrase or number in the hypertext report that one wants to link up to some supporting document. When a reader selects the source node by clicking the mouse, the target node gets triggered and takes him directly to the specific supporting document. A hypertext linked report works a lot like the SAS hypertext help system. By clicking hypertext links (sometimes called hot spots) or by directing users to another page, you can maneuver throughout the whole reporting system just as you do with SAS online help. To get more information on a topic, just click on that topic. That topic will be a link that takes you to a new page, i.e. a supporting page. Figure 2. A Report Using SAS PROC Tabulate Main III. Hypertext Linked Reports Hypertext refers to a collection of tables, reports, and graphics that can be explored, by the reader, in a nonlinear way. The hypertext link is non-spatial and non-physical, possible dynamic, and often non-linear (see Figure 3). The techniques used for producing hypertext linked HTML files are based on DATA _NULL_ and Hypertext Markup Language (HTML 3.2). Hypermedia systems are designed so that one can explore information in a variety of formats by activating hyperlinks. Since in hypertext the components can be related in decidedly nonlinear ways, there are no simple organizational schemes, such as page numbering, that can serve as ubiquitous and commonly understood paradigms of navigation and location. The hypertext design with an integration of Internet technology and SAS system gives an easy navigability of reports and tables. In other words, the hypertext linked documents can be opened and updated quickly. s Figure 3. A Non-linear Structure of Reporting A main page in a hypertext linked report might contain words or phrases or numbers you can click to view multimedia events for related information. The idea behind hypertext linked reporting system is that instead of reading reports or tables in a rigid, linear structure, you can skip easily from one point to another. You can get more information, go back, jump to another topic, and navigate through the report based on what interests you have at the time. A hyperlink might take the reader directly to the top of a document or to any point within another document. 2

pages can be divided into two kinds of documents which are static and dynamic. a. static supporting pages A static document refers to a page where the content remains unchanged for a certain time period. In this example, Catdef.htm (Figure 6), Subcat.htm (not shown here), Pcpdef.htm (not shown here), and region.htm (Figure 7) are static supporting pages. Figure 4. A Typical Dynamic and Hypertext Linked Reporting System Note that the concept of linking in this paper is different from that in the Microsoft Excel. With a hypertext link from one document to the other, one can drill down the particular information at a very detailed level with different formats, for example, tables, texts, documents, or images. Figure 4 shows a simple example of hypertext linked, interactive, and dynamic reports. As you can see that, the number or texts underlined (i.e. hot spots or hyperlinks) can be clicked on and drilled down to deep levels for further information. Figure 6. Definitions/Explanations s Table1.htm Main Pmpmdef.htm Cappie.htm Region.htm Subcat.htm s Maintain.htm Catdef.htm Pcpdef.htm Meddrug.htm Figure 5. Hypertext Links for Table1.htm Figure 5 gives a hypertext link for the above table. A hypertext linked report might contain several supporting pages the first screen you visit for any hypertext linked reporting system generally is that reporting system s main page. Under this page, you can link to other supporting pages or documents. Each main page can be linked to many supporting pages. Figure 7. Definition of Different Regions b. dynamic supporting pages A dynamic page refers to a page where the content may change every time when one refreshes his data sets. The HTML files will not need to be manually modified and will be updated automatically by the SAS program. You can also locate information by clicking on keywords and numbers in specially-prepared documents. Such a document could consist of 3

text (for example, Figure 8) or graphics (for instance, Figure 9), or a combination of both. DATA _NULL_ step can be divided into three parts: page top, page bottom, and main page. More SAS statements DATA _NULL_ SET FILENAME END=EOF FILE HTMLFILE NOTITLE BY CATEGORY SUBCAT IF _N_=1 THEN LINK PAGETOP more SAS statements IF EOF THEN LINK PAGEBTM RETURN PAGETOP: PUT. RETURN PAGEBTM: PUT... RETURN RUN Figure 8. Program Maintenance Record Figure 9. Composition of MedPoint Total Capitation In a hypermedia reporting system, you can navigate by jumping from category/subcategory to definition/explanation, or column names to definitions, or numbers/topics to media element - picture, sound, video, and so on. IV. SAS Programming and Implementation The basic approach used to develop this kind of dynamic and hypertext linked reporting system is to use DATA _NULL_ to create HTML files and link these files conditionally to other supporting documents. Figure 10 illustrates a general structure of DATA _NULL_ for creation of HTML files. It can be seen that this Figure 10. A General Structure of DATA _NULL_ Part 1 - Top: this part creates a set of HTML tags for HTML title, table title, and other beginning setups. The basic linkage in this part is to link a keyword to a text documentation. The space for a title or subtitle is usually limited. So more information about some background information and formal definitions is needed to help the readers to understand what this report is all about. Figure 11 gives a sample of coding page top with DATA _NULL_. This part creates two links from the main page to the Region.htm and Pmpmdef.htm files. PAGETOP: PUT @2 '<HTML>'/ @4 '<TITLE>'/ @6 'SAMPLE TABLES FOR SUGI 23'/ @4 '</TITLE>'/ @6 '<CENTER>'/ @6 '<CAPTION><A HREF="REGION.HTM"> DURHAM REGION</A> <A HREF="PMPMDEF.HTM"> PMPM </A> MEDICAL EXPENSE SUMMARY'/ @6 '<BR>(8/1997 THROUGH 8/1997) </CAPTION>'/ @6 '<BR><P>'/ @6 '<BODY BGCOLOR="WHITE">'/ @8 '<CENTER>'/ @8 '<TABLE BORDER=1 COLOR=BLACK>'/ @10 '<FONT SIZE=-1 COLOR=BLACK>' RETURN Figure 11. Link A Title to Another 4

Part 2 - Bottom: this part creates a set of HTML tags for table footnotes, and other ending setups. One can link a footnote to a text documentation in this part. Footnote in this kind of report only needs to contain the hypertext link to file maintenance information. Figure 12 shows a PUT statement used to create a footnote in the hypertext tables. A hypertext link is set up to direct the place where you want to jump to. PAGEBTM: PUT @10 </FONT> / @8 </TABLE> / @8 <BR><P> / @8 THIS TABLE WAS CREATED BY <A HREF="MAINTAIN.HTM">JEFF SUN</A> / @8 " ON &SYSDATE%STR(.)"/ @6 </BODY> / @2 </HTML> / RETURN Figure 12. Link A Footnote to Another Part 3 - Main : this part creates a set of HTML table and link tags that indicate table structure, elements, formatting, and hypertext links to other supporting pages. There are five kinds of linkage in this part. a. Link a column name to a text file Usually the column is an abbreviation of the full name for that column. For those who have little knowledge about this subject can benefit from this kind of support. Figure 13 shows a usage of PUT statement to create a linkage of column name PCP to an HTML file DEFINITI.HTM. IF _N_=1 THEN DO PUT @10 <TR> / @12 <TH>CATEGORY / @12 <TH>SUB-CATEGORY / @12 <TH>PPO/ @12 <TH>MEDPOINT / @12 <TH><A HREF="DEFINITI.HTM"> PCP </A> / @10 </TR> / Figure 13. Link A Column Name to Another b. Link a row name to a text documentation To understand definitions of categories or subcategories, one can link a row name or row 5 names to certain files which can provide detailed information for the readers. Figure 14 illustrates a linkage of all category definitions to an HTML file CATEDEF.HTM. If one wants to link a particular value of that category to a text file, a conditional flow control needs to be used to make a selection. IF FIRST.CATEGORY THEN DO PUT @10 <TR> / @12 <TD><A HREF="CATDEF.HTM"> CATEGORY </A> / @12 <TD> SUBCAT / @12 <TD> PPO/ @12 <TD> MED / @12 <TD> PCP/ @10 </TR> / Figure 14. Link A Row Name to Another c. Link a table cell to a text documentation One can create a documentation to show how the number in this table cell was calculated. Some raw numbers and intermediate results appeared in this supporting documentation are much helpful for the readers to understand the final results. In Figure 15 the drug PMPM for MedPoint is special due to different calculation for membership. So additional information for the number in this cell is definitely needed. IF DRUG THEN DO PUT @12 <TD> / @12 <TD> SUBCAT / @12 <TD> PPO/ @12 '<TD><A HREF="MEDDRUG.HTM">' MED '</A> / @12 '<TD>' PCP / @10 '</TR>' Figure 15. Link A Cell to Another File d. Link a number to a text documentation One can link any numbers which meet a certain criterion to a supporting documentation. Figure 16 shows a number, which is less than 10, link to a text documentation, in which a detailed calculation is given. PUT @12 '<TR>'/ @12 '<TD><FONT COLOR=WHITE>' DUMMY '</FONT>'/ @12 '<TD>' SUBCAT / IF PPOSEL<=10 THEN DO PUT @12 '<TD><A HREF="N.HTML">' PPOS

</A> / ELSE DO PUT @12 <TD> PPOS / PUT @12 <TD> MED / @12 <TD> PCP / @10 </TR> Figure 16. Link A Number to Another File e. Link a reader to any point within another document In the previous four types of hypertext links, a hyperlink will take the reader directly to the top of a supporting document. But what if, instead of linking to the top of a supporting page in general, one wanted to link to a specific place within that page? One can do this by creating an anchor within the supporting page. The anchor creates a special thing inside the supporting page which you can link to. The link you create in the main page will contain both the name of the file you re linking to and the name of that anchor (see Figure 17). IF _N_=1 THEN DO PUT @10 <TR> / @12 <TH>CATEGORY / @12 <TH>SUB-CATEGORY / @12 <TH>PPO/ @12 <TH>MEDPOINT / @12 <TH><A HREF="DEFINITI.HTM#PCP"> PCP </A> / @10 </TR> / Figure 17. Link A Column Name to An Anchor within A In this example, a simple linkage was demonstrated to show the idea behind hypertext linked report design and development. Obvious advantages can be seen from this example. In a real hypertext linked report system, the hot words embedded in each supporting page might be linked further to another table or report to provide complete information. V. Concluding Remarks SAS system can be used to process, and analyze data efficiently, and update files quickly. PROC s and DATA steps provide powerful tools to process and analyze data. DATA _NULL_ can be used to update HTML files quickly. The intenet technology can be employed to delivery information quickly and efficiently. With internet technologies and SAS system, we can develop more informative reporting system for different purposes. Literally, surfing this kind of hypertext linked reporting system is as easy as flipping through pages in a book. Because the hypertext linked reporting system can be updated any time, new releases can be distributed quickly and easily. Changes and bug fixes to the documentation, which is all online, can be made directly to the files. And new reports and tables can be published almost immediately. In a hypertext-only system, you only need to display new text when a source node is selected. In a more sophisticated hypermedia system, you could display a graph image, run a video clip, or even play a sound. Trademarks SAS is a registered trademark of the 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. Any questions or comments regarding the paper may be directed to the author: Jeff F. Sun Health Services Information And Analysis Blue Cross Blue Shield of North Carolina ET 600, 3rd Floor Durham, NC 27705 Phone: (919)-765-7854 Fax: (919)-765-7840 E-mail:jeff_sun@scp11.bcbsnc.com This paper provides a general approach on how to create a dynamic and hypertext linked report with SAS System and Internet technologies. 6