Learn R Programming

rddi (version 0.1.1)

ddi_codeBook: Codebook

Description

The root node of a DDI 2.5 Codebook file. This file must contain stdyDscr. More information on this element, especially the allowed attributes, can be found in the references.

Usage

ddi_codeBook(...)

Value

A ddi_node object

Arguments

...

Child nodes or attributes.

Shared and complex child nodes

  • ddi_dataDscr()

  • ddi_docDscr()

  • ddi_fileDscr()

  • ddi_otherMat()

  • ddi_stdyDscr()

References

codeBook documentation

Examples

Run this code
# All ddi_codeBook() functions must contain ddi_stdyDscr(), 
# which also has ddi_citation() as a required child element.

ddi_codeBook(ddi_stdyDscr(ddi_citation()))

Run the code above in your browser using DataLab