Apply multiple recoding operations to a dataframe
Usage
recodeList(data, recode_list)
Arguments
- data
A dataframe.
- recode_list
A list of recoding operations. Each operation is a list containing the column, recode_rules, and new_column.
Value
A dataframe with the recoded columns.