will warn/stop on problems
util_validate_missing_lists(
meta_data,
cause_label_df,
assume_consistent_codes = FALSE,
expand_codes = FALSE,
suppressWarnings = FALSE,
label_col
)
list with entries:
cause_label_df
updated data frame with labels for missing codes
data.frame the data frame that contains metadata attributes of study data
data.frame missing code table. If missing codes have labels the respective data frame can be specified here, see cause_label_df
logical if TRUE and no labels are given and the same missing/jump code is used for more than one variable, the labels assigned for this code will be the same for all variables.
logical if TRUE, code labels are copied from other variables, if the code is the same and the label is set somewhere
logical warn about consistency issues with missing and jump lists
variable attribute the name of the column in the metadata with labels of variables
Other metadata_management:
CAN_THIS_BE_REMOVED_util_combine_missing_lists()
,
util_dist_selection()
,
util_find_free_missing_code()
,
util_find_var_by_meta()
,
util_get_var_att_names_of_level()
,
util_get_vars_in_segment()
,
util_looks_like_missing()
,
util_no_value_labels()
,
util_validate_known_meta()