add_labels_from_dictionary() is an Add function that updates an object by adding new values to new or empty fields. Specifically, this function implements an algorithm to add labels from dictionary. The function returns Labelled dataset (a tibble).
Usage
add_labels_from_dictionary(ds_tb, dictionary_tb, remove_old_lbls_1L_lgl = F)
Arguments
- ds_tb
Dataset (a tibble)
- dictionary_tb
Dictionary (a tibble)
- remove_old_lbls_1L_lgl
Remove old labels (a logical vector of length one), Default: F
Value
Labelled dataset (a tibble)