Mapping Translate
mapping_translate.Rd
Translates a categorical value into a new categorical value. This function is set up in such a way that it uses the information in the mapping tables and for this all such 'mappings' are documented immediately.
Usage
mapping_translate(
Data,
current,
new,
mapping_table_input = NULL,
mapping_table_name = NULL,
KeepOriginal = T
)
Arguments
- Data
The data frame.
- current
Current name.
- new
New name.
- mapping_table_input
Defaults to NULL. If a mapping table must be read.
- mapping_table_name
Default NULL. If there is an existing mapping table must be read from the name in the folder
- KeepOriginal
Defaults to TRUE to keep the original value. If FALSE then the values of 'current' are not preserved.
See also
Other mapping:
mapping_category()
,
mapping_fix()