ddi_subject: subject and its child nodes

View source: R/stdyInfo.R

ddi_subjectR Documentation

subject and its child nodes

Description

Subject describes the data collection's intellectual content. More information on these elements, especially their allowed attributes, can be found in the references.

Usage

ddi_subject(...)

ddi_keyword(...)

ddi_topcClas(...)

Arguments

...

Child nodes or attributes.

Details

Parent nodes

subject is contained in stdyInfo.

subject specific child nodes

  • ddi_keyword() are words or phrases that describe salient aspects of a data collection's content. Can be used for building keyword indexes and for classification and retrieval purposes. A controlled vocabulary can be employed. Maps to Dublin Core Subject element.

  • ddi_topcClas() indicates the broad substantive topic(s) that the data cover. Library of Congress subject terms may be used here. Maps to Dublin Core Subject element. Inclusion of this element in the codebook is recommended.

Value

A ddi_node object.

References

subject documentation

keyword documentation

topcClas documentation

Examples

ddi_subject()

# Functions that need to be wrapped in ddi_subject()

ddi_keyword(vocab = "ICPSR Subject Thesaurus",
            vocabURI = "http://www.icpsr.umich.edu/thesaurus/subject.html",
            "quality of life")

ddi_topcClas(vocab = "LOC Subject Headings",
             vocabURI = "http://www.loc.gov/catdir/cpso/lcco/lcco.html",
             "Public opinion -- California -- Statistics")


Global-TIES-for-Children/rddi documentation built on Oct. 24, 2022, 9:50 p.m.