fct_recode helper to recode multiple variables
fct_recode_helper(
.data,
.cols = -where(is.numeric),
.data_out_name,
cat = TRUE
)
The data frame.
<tidy-select> The variables to recode.
The name of the output data frame, if different from the input data frame.
By default the result is written in the console if there are less than 6 variables, written in a temporary file and opened otherwise. Set to false to get a data frame with a character variable instead.
A temporary R file. A tibble
with the recode text as a character variable is
returned invisibly (or as main result if cat = TRUE
).