1 / 16

%rtf2data: A utility macro to convert RTF Table to SAS ® dataset

%rtf2data: A utility macro to convert RTF Table to SAS ® dataset. Neeral Beladia MaxisIT Inc. Introduction. RTF(Rich Text Format) Table file format in pharmaceutical industry Easy insertion of Tables in clinical study reports

ladonna
Download Presentation

%rtf2data: A utility macro to convert RTF Table to SAS ® dataset

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. %rtf2data: A utility macro to convert RTF Table to SAS® dataset Neeral Beladia MaxisIT Inc.

  2. Introduction • RTF(Rich Text Format) Table file format in pharmaceutical industry • Easy insertion of Tables in clinical study reports • Special formatting of Table contents e.g. bolding of significant p-values • Motivation or need of a utility to read-in RTF Tables to SAS® datasets • Extended analyses on contents of RTF Table • Validation of Table/Listings programmatically • Comparing multiple versions of the same RTF Table • Availability of additional file format for external raw data • %rtf2data • Read user-defined meta-data (Excel Sheet) • Convert input RTF Table file to SAS® dataset(s)

  3. Overview of meta-data

  4. algo.rtf Step 1 SAS dataset Algorithm continued…

  5. Step 2 {\*\bkmkstartbookmark_name}display_text{\*\bkmkendbookmark_name} {\field {\*\fldinst HYPERLINK "filename_and_path"}{\fldrslt display_text}} Step 3 Algorithm continued…

  6. Step 4 algo.rtf Algorithm continued…

  7. Step 5 Step 6

  8. Step 7 Step 8

  9. Test Cases Case 1 INCOL = 1 APPEND = 0 DELHDR = 1 (except footnote section) Test Cases continued…

  10. Case 2 • INCOL = 1 • APPEND = 1 • DELHDR = 1 Test Cases continued…

  11. Case 3 • INCOL = 1 • APPEND = 1 • DELHDR = 1

  12. Limitations • The first column header at the start of each section must have a non-missing identifier text that doesn’t appear as part of the data. • The column header separators (cell boundaries) for the header row holding the identifier text must match with the column separators of the data within the section.

  13. Acknowledgements I would like to thank • Management of MaxisIT Inc. • Carey Smoak, Manager, Roche Molecular Systems, Pleasanton, CA • Cynthia He, Manager, Merck & Co., Kenilworth, NJ

  14. Contact Information Author Name : Neeral Beladia Company : MaxisIT Inc. Address : 203 Main St City : Metuchen State : NJ ZIP : 08840 Email : neeral_beladia@yahoo.com

  15. Questions ?

  16. Trademark Information • SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. • Other brand and product names are trademarks of their respective companies.

More Related