prep_scalelevel_from_data_and_metadata {dataquieR} | R Documentation |
Heuristics to amend a SCALE_LEVEL column and a UNIT column in the metadata
Description
...if missing
Usage
prep_scalelevel_from_data_and_metadata(
resp_vars = lifecycle::deprecated(),
study_data,
item_level = "item_level",
label_col = LABEL,
meta_data = item_level,
meta_data_v2
)
Arguments
resp_vars |
variable list deprecated, the function always addresses all variables. |
study_data |
data.frame the data frame that contains the measurements |
item_level |
data.frame the data frame that contains metadata attributes of study data |
label_col |
variable attribute the name of the column in the metadata with labels of variables |
meta_data |
data.frame old name for |
meta_data_v2 |
character path to workbook like metadata file, see
|
Value
data.frame modified metadata
Examples
## Not run:
prep_load_workbook_like_file("meta_data_v2")
prep_scalelevel_from_data_and_metadata(study_data = "study_data")
## End(Not run)
[Package dataquieR version 2.5.1 Index]