dt_set_clean_all: Clean column names and factor levels in-place

View source: R/dt_ops.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.

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.