Learn How to Create DDI Metadata A Technical

  • Slides: 52
Download presentation
Learn How to Create DDI Metadata A Technical Introduction

Learn How to Create DDI Metadata A Technical Introduction

Welcome to EDDI

Welcome to EDDI

Agenda DDI Introduction XML Introduction DDI Walkthrough and Exercises Publishing DDI Where to Learn

Agenda DDI Introduction XML Introduction DDI Walkthrough and Exercises Publishing DDI Where to Learn More Discussion

Learn DDI 3 in 60 Seconds

Learn DDI 3 in 60 Seconds

using Survey Instruments Study made up of measures about Concepts Questions Universes Copyright ©

using Survey Instruments Study made up of measures about Concepts Questions Universes Copyright © GESIS – Leibniz Institute for the Social Sciences, 2010 Published under Creative Commons Attribute-Share. Alike 3. 0 Unported

with values of Categories/ Codes, Numbers Questions Variables collect made up of Responses Data

with values of Categories/ Codes, Numbers Questions Variables collect made up of Responses Data Files resulting in Copyright © GESIS – Leibniz Institute for the Social Sciences, 2010 Published under Creative Commons Attribute-Share. Alike 3. 0 Unported

That’s Pretty Much It.

That’s Pretty Much It.

Studies Concepts Variables Concepts Codes Physical Location Categories Summary Statistics

Studies Concepts Variables Concepts Codes Physical Location Categories Summary Statistics

Less Redundant Work 9

Less Redundant Work 9

The Data Lifecycle 10 Documentation Lost

The Data Lifecycle 10 Documentation Lost

Better, Easier Documentation 11 Documentation is often a lower priority than data processing and

Better, Easier Documentation 11 Documentation is often a lower priority than data processing and analysis Make documentation a byproduct of the design and collection process The information is most accurate at this point

e. Xtensible Markup Language (XML) XML represents information XML is machine readable

e. Xtensible Markup Language (XML) XML represents information XML is machine readable

XML Elements <Book> <Title> The Hitchhiker's Guide to the Galaxy </Title> <Author>Douglas Adams </Author>

XML Elements <Book> <Title> The Hitchhiker's Guide to the Galaxy </Title> <Author>Douglas Adams </Author> <Year> 1979 </Year> </Book>

XML Attributes <Book language=“English”> <Title> The Hitchhiker's Guide to the Galaxy </Title> <Author>Douglas Adams

XML Attributes <Book language=“English”> <Title> The Hitchhiker's Guide to the Galaxy </Title> <Author>Douglas Adams </Author> <Year> 1979 </Year> </Book>

Conflicting Tag Names <My. Data> <Table> <Legs>4</Legs> <Length units="feet">5</Length> <Width units="feet">3</Width> </Table> <Rows>4</Rows> <Columns>3</Columns>

Conflicting Tag Names <My. Data> <Table> <Legs>4</Legs> <Length units="feet">5</Length> <Width units="feet">3</Width> </Table> <Rows>4</Rows> <Columns>3</Columns> </Table> </My. Data>

<My. Data xmlns: kitchen=“http: //www. example. org/kitchen” xmlns: data=“http: //www. example. org/data”> <kitchen: Table>

<My. Data xmlns: kitchen=“http: //www. example. org/kitchen” xmlns: data=“http: //www. example. org/data”> <kitchen: Table> <Legs>4</Legs> <Length units="feet">5</Length> <Width units="feet">3</Width> </kitchen: Table> <data: Table> <Rows>4</Rows> <Columns>3</Columns> </data: Table> </My. Data>

DDI and XML <DDIInstance> <Study. Unit>. . . </Study. Unit> <Resource. Package> <Question. Scheme

DDI and XML <DDIInstance> <Study. Unit>. . . </Study. Unit> <Resource. Package> <Question. Scheme /> <Variable. Scheme /> <Concept. Scheme /> <Physical. Instance /> </Resource. Package> </DDIInstance>

DDI and XML <DDIInstance> <Study. Unit>. . . </Study. Unit> <Resource. Package> <Question. Scheme

DDI and XML <DDIInstance> <Study. Unit>. . . </Study. Unit> <Resource. Package> <Question. Scheme /> <Variable. Scheme /> <Concept. Scheme /> <Physical. Instance /> </Resource. Package> </DDIInstance>

DDI Walkthrough

DDI Walkthrough

Universes People attending EDDI

Universes People attending EDDI

A Universe in XML <c: Universe id=“universe 1"> <r: Label xml: lang="en">EDDI Participants</r: Label>

A Universe in XML <c: Universe id=“universe 1"> <r: Label xml: lang="en">EDDI Participants</r: Label> <c: Human. Readable xml: lang="en"> People attending the EDDI 2011 conference in Gothenburg. </c: Human. Readable> </c: Universe>

A Universe in XML <c: Universe id=“universe 1"> <r: Label xml: lang="en">EDDI Participants</r: Label>

A Universe in XML <c: Universe id=“universe 1"> <r: Label xml: lang="en">EDDI Participants</r: Label> <c: Human. Readable xml: lang="en"> People attending the EDDI 2011 conference in Gothenburg. </c: Human. Readable> </c: Universe>

Using the DDI Workshop Helper

Using the DDI Workshop Helper

DDI Workshop Helper http: //ddiworkshop. thatip. net/ Login: your email address Password: eddi 2011

DDI Workshop Helper http: //ddiworkshop. thatip. net/ Login: your email address Password: eddi 2011

Concepts A concept defines something that may be measured � Age � Gender �

Concepts A concept defines something that may be measured � Age � Gender � Employment status

A Concept in DDI <c: Concept id="concept 1" version="1. 0. 0"> <c: Concept. Name

A Concept in DDI <c: Concept id="concept 1" version="1. 0. 0"> <c: Concept. Name xml: lang="en">Hitchhiking</c: Concept. Name> <r: Description xml: lang="en"> Hitchhiking is a means of transportation that is gained by asking people, usually strangers, for a ride in their automobile or other road vehicle </r: Description> </c: Concept>

Where did it go? <ddi: DDIInstance> <g: Resource. Package> <c: Concept. Scheme> <c: Concept

Where did it go? <ddi: DDIInstance> <g: Resource. Package> <c: Concept. Scheme> <c: Concept id="concept 1">. . . </c: Concept> </c: Concept. Scheme> </g: Resource. Package> </ddi: DDIInstance>

Where did it go? <ddi: DDIInstance> <g: Resource. Package> <c: Concept. Scheme> <c: Concept

Where did it go? <ddi: DDIInstance> <g: Resource. Package> <c: Concept. Scheme> <c: Concept id="concept 1">. . . </c: Concept> </c: Concept. Scheme> </g: Resource. Package> </ddi: DDIInstance>

Identification <c: Concept. Scheme id="scheme 1" version="1. 0. 0" agency="example. org"> <c: Concept id="c

Identification <c: Concept. Scheme id="scheme 1" version="1. 0. 0" agency="example. org"> <c: Concept id="c 1">. . . </c: Concept> <c: Concept id="c 2">. . . </c: Concept> <c: Concept id="c 3">. . . </c: Concept> </c: Concept. Scheme>

Categories Mode of Transportation � Airplane � Automobile � Boat

Categories Mode of Transportation � Airplane � Automobile � Boat

<l: Category. Scheme id="categories 1" version="1. 0. 0" agency="example. org"> <l: Category. Scheme. Name

<l: Category. Scheme id="categories 1" version="1. 0. 0" agency="example. org"> <l: Category. Scheme. Name xml: lang="en"> Mode of Transportation </l: Category. Scheme. Name> <l: Category id="cat 1"> <r: Label xml: lang="en">Airplane</r: Label> </l: Category> <l: Category id="cat 2"> <r: Label xml: lang="en">Automobile</r: Label> </l: Category> <l: Category id="cat 3"> <r: Label xml: lang="en">Boat</r: Label> </l: Category. Scheme>

<l: Category. Scheme id="categories 1" version="1. 0. 0" agency="example. org"> <l: Category. Scheme. Name

<l: Category. Scheme id="categories 1" version="1. 0. 0" agency="example. org"> <l: Category. Scheme. Name xml: lang="en"> Mode of Transportation </l: Category. Scheme. Name> <l: Category id="cat 1"> <r: Label xml: lang="en">Airplane</r: Label> </l: Category> <l: Category id="cat 2"> <r: Label xml: lang="en">Automobile</r: Label> </l: Category> <l: Category id="cat 3"> <r: Label xml: lang="en">Boat</r: Label> </l: Category. Scheme>

Codes Mode of Transportation Value 1 2 3 Category Airplane Automobile Boat

Codes Mode of Transportation Value 1 2 3 Category Airplane Automobile Boat

Codes Marital Status Value 0 1 2 Category Airplane Automobile Boat

Codes Marital Status Value 0 1 2 Category Airplane Automobile Boat

References in DDI Category List Code List 1 Code List 2 Code List 3

References in DDI Category List Code List 1 Code List 2 Code List 3

<l: Code> <l: Category. Reference> <r: Scheme> <r: ID>categories 1</r: ID> <r: Identifying. Agency>example.

<l: Code> <l: Category. Reference> <r: Scheme> <r: ID>categories 1</r: ID> <r: Identifying. Agency>example. org</r: Identifying. Agency> <r: Version>1. 0. 0</r: Version> </r: Scheme> <r: ID>cat 1</r: ID> <r: Identifying. Agency>example. org</r: Identifying. Agency> <r: Version>1. 0. 0</r: Version> </l: Category. Reference> <l: Value>1</l: Value> </l: Code>

<l: Code> <l: Category. Reference> <r: Scheme> <r: ID>categories 1</r: ID> <r: Identifying. Agency>example.

<l: Code> <l: Category. Reference> <r: Scheme> <r: ID>categories 1</r: ID> <r: Identifying. Agency>example. org</r: Identifying. Agency> <r: Version>1. 0. 0</r: Version> </r: Scheme> <r: ID>cat 1</r: ID> <r: Identifying. Agency>example. org</r: Identifying. Agency> <r: Version>1. 0. 0</r: Version> </l: Category. Reference> <l: Value>1</l: Value> </l: Code>

<l: Code. Scheme id="code. List 1" version="1. 0. 0" agency="example. org"> <l: Code. Scheme.

<l: Code. Scheme id="code. List 1" version="1. 0. 0" agency="example. org"> <l: Code. Scheme. Name xml: lang="en-US"> Transportation Codes </l: Code. Scheme. Name> <l: Code>. . . </l: Code> </l: Code. Scheme>

<l: Code. Scheme id="code. List 1" version="1. 0. 0" agency="example. org"> <l: Code. Scheme.

<l: Code. Scheme id="code. List 1" version="1. 0. 0" agency="example. org"> <l: Code. Scheme. Name xml: lang="en-US"> Transportation Codes </l: Code. Scheme. Name> <l: Code>. . . </l: Code> </l: Code. Scheme>

Questions What is your name? How did you get to Gothenburg?

Questions What is your name? How did you get to Gothenburg?

A Question in DDI <d: Questiontem id="q 1" version="1. 0. 0"> <d: Question. Item.

A Question in DDI <d: Questiontem id="q 1" version="1. 0. 0"> <d: Question. Item. Name xml: lang="en">name</d: Question. Item. Name> <d: Question. Text xml: lang="en"> <d: Literal. Text> <d: Text>What is your name? </d: Text> </d: Literal. Text> </d: Question. Text> <d: Text. Domain min. Length="1"></d: Text. Domain> </d: Question. Item>

A Question in DDI <d: Questiontem id="q 1" version="1. 0. 0"> <d: Question. Item.

A Question in DDI <d: Questiontem id="q 1" version="1. 0. 0"> <d: Question. Item. Name xml: lang="en">name</d: Question. Item. Name> <d: Question. Text xml: lang="en"> <d: Literal. Text> <d: Text>What is your name? </d: Text> </d: Literal. Text> </d: Question. Text> <d: Text. Domain min. Length="1"></d: Text. Domain> </d: Question. Item>

Other Response Types Text Numeric Date. Time Category Code Geographic

Other Response Types Text Numeric Date. Time Category Code Geographic

Question with a Code List <d: Questiontem id="q 1" version="1. 0. 0"> <d: Question.

Question with a Code List <d: Questiontem id="q 1" version="1. 0. 0"> <d: Question. Item. Name xml: lang="en">transport</d: Question. Item. Name> <d: Question. Text xml: lang="en"> <d: Literal. Text> <d: Text>How did you get to Gothenburg? </d: Text> </d: Literal. Text> </d: Question. Text> <d: Code. Domain> <r: Code. Scheme. Reference> <r: ID>code. List 1</r: ID> <r: Identifying. Agency>example. org</r: Identifying. Agency> <r: Version>1. 0. 0</r: Version> </r: Code. Scheme. Reference> </d: Code. Domain> </d: Question. Item>

Variables Name Mode of Transportation

Variables Name Mode of Transportation

A Variable in DDI <l: Variable id="var 1" version="1. 0. 0"> <l: Variable. Name

A Variable in DDI <l: Variable id="var 1" version="1. 0. 0"> <l: Variable. Name xml: lang="en">name</l: Variable. Name> <r: Label xml: lang="en">The person's name</r: Label> <l: Representation> <l: Text. Representation /> </l: Representation> </l: Variable>

A Variable in DDI <l: Variable id="var 1" version="1. 0. 0"> <l: Variable. Name

A Variable in DDI <l: Variable id="var 1" version="1. 0. 0"> <l: Variable. Name xml: lang="en">name</l: Variable. Name> <r: Label xml: lang="en">The person's name</r: Label> <l: Representation> <l: Text. Representation /> </l: Representation> </l: Variable>

And Then What?

And Then What?

Studies Study-level Information � Citation � Abstract, Purpose � Links to related materials Study

Studies Study-level Information � Citation � Abstract, Purpose � Links to related materials Study Content � Survey Instruments � Datasets

Publishing DDI

Publishing DDI

Where to Learn More The DDI Web Site DDI Documentation Talk to Me

Where to Learn More The DDI Web Site DDI Documentation Talk to Me

Thank you Instruct or Email Jeremy Iverson jeremy@colectica. com Web colectica. com Blog blogs.

Thank you Instruct or Email Jeremy Iverson jeremy@colectica. com Web colectica. com Blog blogs. colectica. com Twitter @Colectica