Utility function to prepare the metadata for proportion checks
util_prep_proportion_check(
resp_vars,
meta_data,
study_data,
report_problems = c("error", "warning", "message")
)
a list with the expected range for the proportion check
variable list the names of the measurement variables
data.frame the data frame that contains metadata attributes of study data
data.frame the data frame that contains the measurements
(hint: missing value codes should be excluded,
so the function should be called with ds1
, if
available)
enum Should missing metadata information be reported as error, warning or message?
Other lookup_functions:
util_prep_location_check()
,
util_variable_references()