add_from_lup_prototype() 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 from lookup table prototype. The function returns Data (a tibble).
Arguments
- data_tb
Data (a tibble)
- arrange_1L_chr
Arrange (a character vector of length one), Default: character(0)
- exclude_chr
Exclude (a character vector), Default: character(0)
- lup_prototype_tb
Lookup table prototype (a tibble), Default: NULL
- match_var_nm_1L_chr
Match variable name (a character vector of length one), Default: 'UID_chr'
- method_1L_chr
Method (a character vector of length one), Default: c("first", "sample")
- type_1L_chr
Type (a character vector of length one), Default: c("sequential", "batch", "self")
- vars_chr
Variables (a character vector), Default: character(0)