util_prep_proportion_check: Utility function to prepare the metadata for proportion...

View source: R/util_prep_proportion_check.R

util_prep_proportion_checkR Documentation

Utility function to prepare the metadata for proportion checks

Description

Utility function to prepare the metadata for proportion checks

Usage

util_prep_proportion_check(
  resp_vars,
  meta_data,
  study_data,
  report_problems = c("error", "warning", "message")
)

Arguments

resp_vars

variable list the names of the measurement variables

meta_data

data.frame the data frame that contains metadata attributes of study data

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)

report_problems

enum Should missing metadata information be reported as error, warning or message?

Value

a list with the expected range for the proportion check

See Also

Other lookup_functions: util_prep_location_check(), util_variable_references()


dataquieR documentation built on May 29, 2024, 7:18 a.m.