data_clean {volker} | R Documentation |
Depending on the selected cleaning plan, for example, recodes residual values to NA.
data_clean(data, plan = "sosci", ...)
data |
Data frame. |
plan |
The cleaning plan. By now, only "sosci" is supported. See data_clean_sosci. |
... |
Other parameters passed to the appropriate cleaning function. |
The tibble remembers whether it was already cleaned and the cleaning plan is only applyed once in the first call.
Cleaned data frame with vlkr_df class.
ds <- volker::chatgpt
ds <- data_clean(ds)