fix_names: Ensure column names are valid

Description Usage Arguments Details Examples

View source: R/manage.R

Description

Ensure column names are valid

Usage

1

Arguments

x

Data.frame or vector of (column) names

Details

Remove symbols, trailing and leading spaces, and convert to valid R column names. Opinionated version of make.names

Examples

1
fix_names(c(" var-name ", "$amount spent", "100"))

radiant-rstats/radiant.data documentation built on Jan. 15, 2019, 1:27 a.m.