Recodes columns from passed row and returns just table with those columns
and same rows as the data
recode_columns(
data,
variables_to_process,
data_name,
log,
print_note,
else_default
)
Arguments
- data
The source database
- variables_to_process
rows from variable details that are applicable
to this DB
- data_name
Name of the database being passed
- log
The option of printing log
- print_note
the option of printing the note columns
- else_default
default else value to use if no else is present
Value
Returns recoded and labeled data