inputList: Data Frames with Code, Subunit and Unit Information for...

Description Usage Format Examples

Description

These data frames contain information about codes, subunits and units for the datasets in inputDat and are necessary inputs for e.g. automateDataPreparation, checkData, recodeData, aggregateData and scoreData.

Usage

1

Format

A list with three data frames:

  1. units: Unit information, contains the following columns:

    unit

    Unit name.

    unitType

    Subunit types: ID = ID variable; TI = test item; CV = context variable.

    unitLabel

    Unit label, to be used by writeSpss.

    unitDescription

    Unit description.

    unitAggregateRule

    Aggregate rule for unit: SUM; MEAN.

    unitScoreRule

    not currently in use

  2. subunits: Subunit information, contains the following columns:

    unit

    Unit name, for which subunits are given.

    subunit

    Subunit name.

    subunitType

    Subunit types:C1 = multiple choice; C2 = short answer; C3 = constructed response; T = transcript.

    subunitLabel

    Subunit label, to be used by writeSpss.

    subunitDescription

    Subunit descriptions.

    subunitPosition

    Subunit position in test booklet (e.g., line 1).

    subunitTransniveau

    Subunit transformation level.

    subunitRecoded

    Name of recoded subunit.

    subunitLabelRecoded

    Label for recoded subunit, to be used when writeSpss is applied to a dataset produced by recodeData.

  3. values: Value information, contains the following columns:

    subunit

    Subunit name, for which values are given.

    value

    Valid values for the respective subunit.

    valueRecode

    Recode values for the respective value.

    valueType

    Value types: vc = valid code; mbd = missing – by design; mvi = missing – volume insufficient; mnr = missing – not reached; mci = missing – coding impossible; mbi = missing – by intention.

    valueLabel

    Value labels, to be used by writeSpss.

    valueDescription

    Value descriptions.

    valueLabelRecoded

    Labels for recoded values, to be used when writeSpss is applied to a dataset produced by recodeData.

    valueDescriptionRecoded

    Descriptions for recoded values.

  4. unitRecodings: Unit recoding information, contains the following columns:

    unit

    Unit name

    value

    Valid values for the respective unit.

    valueRecode

    Recode values for the respective value.

    valueType

    Value types: vc = valid code; mbd = missing – by design; mvi = missing – volume insufficient; mnr = missing – not reached; mci = missing – coding impossible; mbi = missing – by intention.

    valueLabel

    Value labels, to be used by writeSpss.

    valueDescription

    Value descriptions.

    valueLabelRecoded

    Labels for recoded values, to be used when writeSpss is applied to a dataset produced by recodeData.

  5. savFiles: information for readSpss, contains the following columns:

    filename

    SPSS filenames

    case.id

    ID variable in the respective dataset, used by mergeData

  6. newID: information for mergeData, contains the following columns:

    key

    one of the entries should be master-id

    value

    the corresponding value; how the ID variable in the final dataset shall be named

  7. aggrMiss: missing aggregation pattern for aggregateData

  8. blocks: missing aggregation pattern for aggregateData

    subunit

    Subunit name.

    block

    Block name.

    subunitBlockPosition

    The subunit's position in the corresponding block.

  9. booklets: Design

    booklet

    Booklet name.

    block1 ... blockX

    Block names in booklet.

  10. rotation: Assignment of IDs to booklets

    ID

    Case identifier.

    booklet

    Booklet name.

Examples

1
2

eatPrep documentation built on May 2, 2019, 5:20 p.m.

Related to inputList in eatPrep...