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 = NULL,
study_data,
meta_data = "item_level",
label_col = LABEL
)
Arguments
resp_vars |
variable list the names of the measurement variables |
study_data |
data.frame the data frame that contains the measurements |
meta_data |
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 |
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.1.0 Index]