NA
sSubstitute all missing codes in a data.frame by NA
.
util_replace_codes_by_NA(
study_data,
meta_data = "item_level",
split_char = SPLIT_CHAR,
sm_code = NULL
)
a list with a modified data frame and some counts
Study data including jump/missing codes as specified in the code conventions
Metadata as specified in the code conventions
Character separating missing codes
missing code for NAs
, if they have been
re-coded by util_combine_missing_lists
Codes are expected to be numeric.
Other missing_functions:
util_all_intro_vars_for_rv()
,
util_count_expected_observations()
,
util_filter_missing_list_table_for_rv()
,
util_get_code_list()
,
util_is_na_0_empty_or_false()
,
util_observation_expected()
,
util_remove_empty_rows()