Learn R Programming

rddi (version 0.1.1)

ddi_codingInstructions: 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(...)

Value

A ddi_node object.

Arguments

...

Child nodes or attributes.

Shared and complex child nodes

  • ddi_txt()

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.

References

codingInstructions documentation

command documentation

Examples

Run this code
ddi_codingInstructions()

# Functions that need to be wrapped in ddi_codingInstructions()

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

Run the code above in your browser using DataLab