lookup_and_replace2: Look up and replace values in columns.

Description Usage Arguments Value

Description

Replace keys with their values.

Usage

1
lookup_and_replace2(x, cols, mapping)

Arguments

x

a data.frame

cols

a character vector of column names in x to be replaced.

mapping

a data.frame contains two columns which are .key and .value

Value

a data.frame


dymium-org/dymiumCore documentation built on July 18, 2021, 5:10 p.m.