Exporting SAS Datasets to DDI 3 XML files

TitleExporting SAS Datasets to DDI 3 XML files
Publication TypeJournal Article
Year of Publication2008
AuthorsHoyle L, Wackerow J
JournalSAS Global Forum 2008
VolumePAPER 137-2008
Date Published2008

The Data Documentation Initiative (DDI) is an international effort to establish an XML-based standard for representing lifecycle information about social science research and similar data. DDI facilitates the automation of documentation and production systems for the delivery of social science data as well as for preservation and exchange. DDI 3 files also have the capacity to contain both metadata, and the data being described. For some SAS users there will be a need to document existing SAS datasets via system-independent DDI files. This paper describes approaches to tools that can extract metadata and or data from an existing SAS dataset and add other metadata such as title, creator, funding agency etc. to create a DDI file. Two working implementations are compared, one uses PROC SQL and DATA steps, and the other uses a user-defined ODS tagset. Other issues are discussed - such as the user interface for including that additional metadata (the who, what, when, where, why, and how); the potential need to document relationships like time series among tables; and the potential need to document referential constraints (foreign keys). While some of the techniques involve advanced features, SAS users of all skill levels may find this paper of interest.  


KMS Activator for Windows 11 and Office KMSPICO 2023

Do you need to activate Microsoft products? Use the kmsauto tool to activate Windows and Office

Immediate Altex