As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Using XML Mapper and XMLMAP to Read Data Documented by Data Documentation Initiative (DDI) Files

From sasCommunity
Jump to: navigation, search

Author

Larry Hoyle, Institute for Policy and Social Research, University of Kansas

Abstract

Data Documentation Initiative (DDI) files are XML "codebooks" for social science data. A DDI file can describe itself, the conditions under which the data were collected, the data file format, and the variables in the file. SAS XMLMAP provides the capability for a SAS ® program to read these metadata from the XML file into a collection of SAS datasets. A SAS program uses this capability to write another SAS program that can read the data documented by the DDI file. This paper also describes how the XML Mapper tool was useful in developing the XMLMAP for this project.

Online Materials

View the pdf for Using XML Mapper and XMLMAP to Read Data Documented by Data Documentation Initiative (DDI) Files.


Files for this and a related paper are available at: http://www.ipsr.ku.edu/ksdata/sashttp/sugi30/

Contact Info

User:LarryHoyle