ddi_codingInstructions: codingInstructions and its child nodes

View source: R/method.R

ddi_codingInstructionsR Documentation

codingInstructions and its child nodes

Description

Describe specific coding instructions used in data processing, cleaning, assession, or tabulation. Element relatedProcesses allows linking a coding instruction to one or more processes such as dataProcessing, dataAppr, cleanOps, etc. Use the txt element to describe instructions in a human readable form. More information on these elements, especially their allowed attributes, can be found in the references.

Usage

ddi_codingInstructions(...)

ddi_command(...)

Arguments

...

Child nodes or attributes.

Details

Parent nodes

codingInstructions is contained in method.

codingInstructions specific child nodes

  • ddi_command() provides command code for the coding instruction. The formalLanguage attribute identifies the language of the command code.

Value

A ddi_node object.

Shared and complex child nodes

  • ddi_txt()

References

codingInstructions documentation

command documentation

Examples

ddi_codingInstructions()

# Functions that need to be wrapped in ddi_codingInstructions()

ddi_command(formalLanguage = "SPSS",
            "RECODE V1 TO V100 (10 THROUGH HIGH = 0)")


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