dt_set_clean_all: Clean column names and factor levels in-place

View source: R/utils_data.table.R

dt_set_clean_allR Documentation

Clean column names and factor levels in-place

Description

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.

Author(s)

EDG


egenn/rtemis documentation built on June 14, 2025, 11:54 p.m.