gads <- import_DF(data.frame(v1 = letters))
# auto recode without saving look up table
gads2 <- autoRecode(gads, var = "v1", var_suffix = "_num")
# auto recode with saving look up table
f <- tempfile(fileext = ".csv")
gads2 <- autoRecode(gads, var = "v1", var_suffix = "_num", csv_path = f)
Run the code above in your browser using DataLab