checkInputList: Check InputList structure for internal consistency

View source: R/checkInputList.R

checkInputListR Documentation

Check InputList structure for internal consistency

Description

This function checks whether inputList has the required form.

Usage

checkInputList(inputList, mistypes = c("mnr", "mbd", "mir", "mbi"))

Arguments

inputList

A list. Following the required structure for inputLists in eatPrep.

mistypes

Character vector. It will be checked, whether the missing types in this vector are defined for all items.

Details

The xlsx-file produced by 'ZKDaemon' is expected to have the following sheets: “units”, “subunits”, “values”, “unitrecoding”, “sav-files”, “params”, “aggregate-missings”, “itemproperties”, “propertylabels”, “booklets”, and “blocks”. readDaemonXlsx will produce a warning if any sheets are missing or wrongly specified.

Value

Logical. TRUE if everything is OK, FALSE otherwise.

Author(s)

Karoline Sachse Philipp Franikowski

Examples

data(inputList)
checkInputList(inputList)

sachseka/eatPrep documentation built on June 9, 2025, 9:36 a.m.