ddi_dimensns: dimensns, recDimnsn and their child nodes

View source: R/fileTxt.R

ddi_dimensnsR Documentation

dimensns, recDimnsn and their child nodes

Description

Dimensions of the overall digital or physical file. More information on these elements, especially their allowed attributes, can be found in the references.

Usage

ddi_dimensns(...)

ddi_caseQnty(...)

ddi_logRecL(...)

ddi_recDimnsn(...)

ddi_recNumTot(...)

ddi_recPrCas(...)

ddi_varQnty(...)

Arguments

...

Child nodes or attributes.

Details

Parent nodes

dimensns is contained in fileTxt. recDimensn is contained in recGrp.

dimensns and recDimnsn shared nodes

  • ddi_caseQnty() is the number of cases, observations, or records.

  • ddi_logRecL() is the logical record length, i.e., number of characters of data in the record.

  • ddi_varQnty() is the overall variable count.

dimensns specific nodes

  • ddi_recNumTot() is the overall record count in file. Particularly helpful in instances such as files with multiple cards/decks or records per case.

  • ddi_recPrCas() is the number of records per case in the file. This element should be used for card-image data or other files in which there are multiple records per case.

Value

A ddi_node object.

References

dimensns documentation

caseQnty documentation

logRecL documentation

recDimnsn documentation

recNumTot documentation

recPrCas documentation

varQnty documentation

Examples

ddi_dimensns()

ddi_recDimnsn()

# Functions that need to be wrapped in ddi_dimensns() or ddi_recDimnsn()

ddi_caseQnty("1011")

ddi_logRecL("27")

ddi_varQnty("27")

# Functions that need to be wrapped in ddi_dimensns

ddi_recNumTot("2400")

ddi_recPrCas("5")


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