R/chars_funs.R
chars_update.Rd
Function used to update the characteristic values of a
data frame containing both the original characteristic value (from Athena)
and the value to add or replace it with (ADDCHARS). This function expects a
data frame formatted using chars_sparsify
.
chars_update(data, additive_target, replacement_target)
A data frame containing columns AND their equivalent ADDCHARS columns.
A tidyselect selection of Athena column names that should have characteristics added to them from their equivalent ADDCHARS column, which must also be present.
A tidyselect selection of Athena column names that should have characteristics replaced using their equivalent ADDCHARS column, which must also be present.
A data frame with updated additive and replacement target columns.
Other chars_funs:
chars_288_active()
,
chars_fix_age()
,
chars_sparsify()