SAS ODS DDI Tagset
A tool to generate metadata for DDI documents from SAS files.
This tool extracts the metadata of a of
SAS file and generates a
DDI Version
3.0
document.
It generates:
- Variable scheme with variable names, variable labels (if available),
and a stub entry for a related concept.
- Category and coding schemes for all code values and available category labels.
Installation
The file SAS_ODS_DDI_Tagset.sas must be run once inside of SAS like any common
SAS command file. This installs the tagset in a user-specific default
location. After that step the DDI Tagset is ready to use.
Usage
The DDI Tagset can be used with the SAS Output Delivery System (ODS)
in a similar way as other ODS tagsets. This way the DDI export feature
is integrated in the SAS workflow. For details see the commands and
comments in the example command file
SAS_ODS_DDI_Tagset_run.sas.
A generated DDI Example is available.
License and Status
The SAS ODS DDI Tagset is licensed under the terms of the GNU General Public License.
It is currently in beta state. The tool is not heavily tested. DDI 3.0
is currently available as Candidate Release. The tool will be updated,
when DDI 3.0 is published as final release (planned for May 2008).
Available download:
SAS_ODS_DDI_Tagset_2008-03-18.zip
To-do
Frequencies and percentages, missing values, common
descriptive summary statistics, data, SAS formats, documentation.
Related Resources
- Presentation: Larry Hoyle and Joachim Wackerow: Exporting SAS Data
Sets to DDI 3 XML files: Data, Metadata, and More Metadata, SAS
Global Forum 2008, San Antonio, Texas, March 2008, paper 137-2008.
- DATA Step approach for the same purpose (Larry Hoyle of the Universiy
of Kansas).
Presentation and Data Step are available at:
© GESIS Joachim Wackerow
2008-03-18