add_labels_from_dictionary: Add labels from dictionary

add_labels_from_dictionaryR Documentation

Add labels from dictionary

Description

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)


ready4-dev/ready4use documentation built on June 1, 2025, 2:06 p.m.