also allows to use VAR_NAMES in the rules,
if other labels have been selected
util_eval_rule(
rule,
ds1,
meta_data = "item_level",
use_value_labels,
replace_missing_by = "NA",
replace_limits = TRUE
)the result of the parsed rule
the redcap rule (parsed, already)
the study data as prepared by prep_prepare_dataframes
the metadata
map columns with VALUE_LABELS as factor variables
enum LABEL | INTERPRET | NA . Missing codes should
be replaced by the missing labels, the
AAPOR codes from the missing table or
by NA. Can also be an empty string to keep
the codes.
logical replace hard limit violations by NA
Other redcap:
util_get_redcap_rule_env()