util_get_code_list {dataquieR} | R Documentation |
Fetch a missing code list from the metadata
Description
get missing codes from metadata (e.g. MISSING_LIST or JUMP_LIST)
Usage
util_get_code_list(
x,
code_name,
split_char = SPLIT_CHAR,
mdf,
label_col = VAR_NAMES,
warning_if_no_list = TRUE
)
Arguments
x |
variable the name of the variable to retrieve code lists for. only one variable at a time is supported, not vectorized!! |
code_name |
variable attribute JUMP_LIST or MISSING_LIST: Which codes to retrieve. |
split_char |
character len = 1. Character(s) used to separate
different codes in the metadata, usually |
mdf |
data.frame the data frame that contains metadata attributes of study data |
label_col |
variable attribute the name of the column in the metadata with labels of variables |
warning_if_no_list |
logical len = 1. If |
Value
numeric vector of missing codes.
[Package dataquieR version 2.0.1 Index]