prep_meta_data_v1_to_item_level_meta_data {dataquieR} | R Documentation |
Convert item-level metadata from v1.0 to v2.0
Description
This function is idempotent..
Usage
prep_meta_data_v1_to_item_level_meta_data(
meta_data = "item_level",
verbose = TRUE,
label_col = LABEL,
cause_label_df
)
Arguments
meta_data |
data.frame the old item-level-metadata |
verbose |
logical display all estimated decisions, defaults to |
label_col |
variable attribute the name of the column in the metadata with labels of variables |
cause_label_df |
data.frame missing code table, see cause_label_df. Optional. If this argument is given, you can add missing code tables. |
Details
The options("dataquieR.force_item_specific_missing_codes")
(default
FALSE
) tells the system, to always fill in res_vars
columns to the
MISSING_LIST_TABLE
, even, if the column already exists, but is empty.
Value
data.frame the updated metadata
[Package dataquieR version 2.1.0 Index]