saslib

An HTML report generator to perform the meta data lookup like PROC CONTENTS in SAS


Keywords
sas, sas7bdat, html
License
MIT
Install
pip install saslib==0.0.7

Documentation

saslib

An HTML report generator to perform the meta data lookup like PROC CONTENTS in SAS.

  • It reads the sas7bdat files directly, and does not need SAS installed.
  • Emulate PROC CONTENTS by jQuery and DataTables.
  • Extract the meta data from all SAS7bdat files under the specified directory.
  • Support IE(>=10), firefox, chrome and any other modern browser.

Installation

pip install saslib

saslib requires sas7bdat and jinjia2.

Usage

The module is very simple to use. For example, the SAS data sets under the SASHELP library could be viewed --

from saslib import PROCcontents

sasdata = PROCcontents('c:/Program Files/SASHome/SASFoundation/9.3/core/sashelp')
sasdata.show()

The resulting HTML file from the codes above will be like here.