add_fields_from_lup: Add fields from lookup table

add_fields_from_lupR Documentation

Add fields from lookup table

Description

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).

Usage

add_fields_from_lup(ds_tb, lup_tb, match_chr, target_1L_chr, vars_chr)

Arguments

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)

Value

Dataset (a tibble)


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