util_prep_location_check: Utility function to prepare the metadata for location checks

View source: R/util_prep_location_check.R

util_prep_location_checkR Documentation

Utility function to prepare the metadata for location checks

Description

Utility function to prepare the metadata for location checks

Usage

util_prep_location_check(
  resp_vars,
  meta_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

report_problems

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

Value

a list with the location metric (mean or median) and expected range for the location check

See Also

Other lookup_functions: util_prep_proportion_check(), util_variable_references()


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