Markup Examples

The flexibility of DDI allows for many different applications and uses. See below for a selection of markup examples demonstrating a variety of implementations.

DDI Codebook

DDI Version Name Description
2.5 ICPSR metadata record

Online catalog record using the American National Election Study, 2004

2.1 ICPSR metadata record

Online catalog record using the American National Election Study, 2004

2.0 ICPSR Codebooks

The sample codebooks below, marked up with using Versions 1 through 2.1 of the DDI DTD, are provided for purposes of demonstration. They are displayed in HTML via ICPSR's generic codebook stylesheet. Some are also displayed in PDF format. PDF views do not render the Document Description section, even if it is present in the DDI markup.

2.0 Yale University Codebook

POBLACIÓN TOTAL POR SEXO SEGÚN GRUPO QUINQUENAL DE EDAD Al 5 de noviembre de 1995

DDI Lifecycle

DDI Version Name Description
3.2 Markup examples produced by the DASHISH (Data Service Infrastructure for the Social Sciences and Humanities) project
3.2 Variable descriptions for ICPSR study 2079

Variable descriptions for ICPSR study 2079 – “CBS News/New York Times Monthly Poll #1, September 1995” – converted to 3.2 from DDI 2.1 with Colectica Designer, a tool for DDI metadata and survey design.

3.0 Geography

Use of Spatial Coverage Type

3.0 German Socio-Economic Panel (SOEP)

Example showing the grouping approach for comparable variables, description of derived variables as well as the relationship of waves and the household / person relationship

3.0 ICPSR metadata record

Sample online catalog record using the American National Election Study, 2004

3.0 International Standard Classification (ISCO)
3.0 NCube

Example showing the use of the NCube Logical Product structure, NCube Physical Data Structure, and Physical Instance

3.0 Simple questionnaire

Use of Question Item Type, Response Domain, and Instrument Control Construct (including entry of PreText and IfThenElse)

3.0 Survey of Three Generations of Mexican Americans, 1981-1982 Codebook

Sample variables