factor_format.Rdreformat haven and labelled read ins to have no factors or labels
factor_format(res, reformat = FALSE, all_lower = TRUE)
| res | dataset to be formatted |
|---|---|
| reformat | Boolean whether to remove all factors and labels and just return the unfactored data. Default = FALSE |
| all_lower | Logical indicating whether all value labels should be lower case. Default to `TRUE`. |
list with the formatted dataset and the code descriptions