add_fields_from_lup | R Documentation |
add_fields_from_lup() 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 fields from lookup table. The function returns Dataset (a tibble).
add_fields_from_lup(ds_tb, lup_tb, match_chr, target_1L_chr, vars_chr)
ds_tb |
Dataset (a tibble) |
lup_tb |
Lookup table (a tibble) |
match_chr |
Match (a character vector) |
target_1L_chr |
Target (a character vector of length one) |
vars_chr |
Variables (a character vector) |
Dataset (a tibble)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.