gtm_create_lookup_tbl: gtm_create_lookup_tbl

Description Usage Arguments

View source: R/gtm_variables_create_methods.R

Description

Convert a data frame into a list format to be used to create a lookup table

Usage

1
gtm_create_lookup_tbl(variable_name, set_default, map_input, map_values)

Arguments

variable_name

The name of the new custom variable

set_default

Do you want to set a default value? Logical vector, but defaults to FALSE

map_input

The variable input that you will be mapping from

map_values

The key-value pairs that you will use to map from and to; note, if the data frame has more than two columns this will automatically use the first two columns

default_value

The default value you are setting


neugelb/gtmr documentation built on June 25, 2020, 10:06 a.m.