Clean column names and factor levels in-place
Usage
dt_set_clean_all(x, prefix_digits = NA)
Arguments
- x
data.table
- prefix_digits
Character: prefix to add to names beginning with a
digit. Set to NA to skip
Note: If x
is not a data.table, it will be converted in place, i.e. the original
object will be modified.
Value
Nothing, modifies x
in-place.