28
DLI Training DLI Training April 2004 April 2004 Kingston Ontario Kingston Ontario

DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Embed Size (px)

Citation preview

Page 1: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

DLI TrainingDLI Training

April 2004April 2004

Kingston OntarioKingston Ontario

Page 2: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

DDIDDI

What, Why, How?What, Why, How?

Page 3: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Data Documentation Data Documentation InitiativeInitiative

•The Data Documentation Initiative is an international effort to establish a standard for technical documentation describing social science data

• http://http://www.icpsr.umich.edu/DDI/index.htmlwww.icpsr.umich.edu/DDI/index.html

Page 4: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Getting Used to AcronymsGetting Used to Acronyms

• You’ll see…..You’ll see…..

Page 5: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

DTD - Document Type DTD - Document Type DefinitionDefinition

• Consists of a Tag Library Consists of a Tag Library

• Tags have been developed by DDITags have been developed by DDI

• A set of tags, when filled, are known A set of tags, when filled, are known as a codebookas a codebook

• DDI – intends to comply to Dublin DDI – intends to comply to Dublin CoreCore

Page 6: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

TagsTags

• Tags present English language Tags present English language descriptions of XML (eXtensible descriptions of XML (eXtensible Markup Language)Markup Language)

• Each tag can be optional or Each tag can be optional or mandatory, repeatable or non-mandatory, repeatable or non-repeatablerepeatable

• Set of tags for each section of DTDSet of tags for each section of DTD

Page 7: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

5 Sections of DTD5 Sections of DTD ((DocumentDocument Type DefinitionType Definition))

• 1.0 Document Description1.0 Document Description

• 2.0 Study Description2.0 Study Description

• 3.0 Data File Description3.0 Data File Description

• 4.0 Variables Description4.0 Variables Description

• 5.0 Other Study Materials5.0 Other Study Materials

Page 8: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Document DescriptionDocument Description

• Bibliographic Bibliographic description of the description of the DDI document DDI document itself, otherwise itself, otherwise known as a known as a marked-up marked-up codebookcodebook

Page 9: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Study DescriptionStudy Description

• Describes Study or Describes Study or SurveySurvey

• Includes title, Includes title, abstract, keywords, abstract, keywords, author, publisher, author, publisher, collection methods, collection methods, etc.etc.

Page 10: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Data File DescriptionData File Description

• Contains Contains information information describing the data describing the data filefile

• Includes file name, Includes file name, file type, case file type, case quantity, logical quantity, logical record length, total record length, total number of records, number of records, etc. etc.

Page 11: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Variables DescriptionVariables Description

• Describes each Describes each variablevariable

• Includes variable Includes variable label, values, value label, values, value label, question, label, question, summary statistics, summary statistics, etc.etc.

Page 12: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Other Study MaterialsOther Study Materials

• Includes Includes documentation files documentation files in a variety of in a variety of formats: pdf, excel, formats: pdf, excel, word, etc.word, etc.

• Includes codebooks, Includes codebooks, questionnaires, user questionnaires, user guides, variability guides, variability tables, etc.tables, etc.

Page 13: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Choosing TagsChoosing Tags

• http://http://www.icpsr.umich.edu/DDI/users/dtd/cwww.icpsr.umich.edu/DDI/users/dtd/codedtd.htmlodedtd.html

• Select tags from each DTD section for Select tags from each DTD section for templatetemplate

• Each tag represents a searchable Each tag represents a searchable elementelement

• Choose carefully – definitions are Choose carefully – definitions are provided on-lineprovided on-line

Page 14: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Codebook TemplateCodebook Template

• Over 300 tags to Over 300 tags to choose fromchoose from

• DDI suggests DDI suggests starting with set of starting with set of Recommended Recommended ElementsElements

Page 15: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Making TemplatesMaking Templates

• Pre-fill tags which are common to Pre-fill tags which are common to each dataset and save as templateeach dataset and save as template

• One template for Stats Canada One template for Stats Canada surveyssurveys

• One template for ICPSR SurveysOne template for ICPSR Surveys

• One generic to cover other sources One generic to cover other sources

Page 16: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Making Templates - Making Templates - exampleexample

Page 17: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Marking up documentMarking up document

Tags can be filled by a variety of methods:Tags can be filled by a variety of methods:

• Cut and paste or type in information Cut and paste or type in information

• Extract information using custom scripts, Extract information using custom scripts, xml editors or custom softwarexml editors or custom software

• Follow tag descriptions carefullyFollow tag descriptions carefully

• Establish guidelinesEstablish guidelines

Page 18: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Completed CodebookCompleted Codebook

Page 19: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Displaying codebookDisplaying codebook

• XML is not a visual display language XML is not a visual display language on the webon the web

• Transform codebook using XSL/XSLT Transform codebook using XSL/XSLT (extensible stylesheet language)(extensible stylesheet language)

• Stylesheets control the output display Stylesheets control the output display

• Software required to read stylesheets, Software required to read stylesheets, eg. Cocoon, Saxoneg. Cocoon, Saxon

Page 20: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Stylesheets – what they look Stylesheets – what they look likelike

Page 21: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

StylesheetsStylesheets

• Create your ownCreate your own

• Borrow from others – examples Borrow from others – examples available on DDI siteavailable on DDI site

• Purchase proprietary software to do Purchase proprietary software to do it for you –example NESSTARit for you –example NESSTAR

Page 22: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Final productFinal product

......................................................

Page 23: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?
Page 24: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?
Page 25: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?
Page 26: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Where to go from here…..Where to go from here…..

• BorrowBorrow

• ShareShare

• CollaborateCollaborate

• DiscussDiscuss

• Become involved.....Become involved.....

Page 27: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

Appendix – AcronymsAppendix – Acronyms

• DDI – Data Documentation InitiativeDDI – Data Documentation Initiative• DTD – Document Type DefinitionDTD – Document Type Definition• XML – eXtensible markup languageXML – eXtensible markup language• XSL/XSLT – extensible stylesheet XSL/XSLT – extensible stylesheet

languagelanguage• Template – file containing a set of Template – file containing a set of

chosen tags to be used for each datasetchosen tags to be used for each dataset• Marked-up codebook – all chosen tags Marked-up codebook – all chosen tags

are filled with survey informationare filled with survey information

Page 28: DLI Training April 2004 Kingston Ontario. DDI What, Why, How?

The endThe end

Carol Perry & Ernie BoykoCarol Perry & Ernie Boyko