standard_column_names: Standardises column names into an oft-acceptable format

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Standardises column names into an oft-acceptable format

Usage

1

Arguments

data

The dataset to standardise

Value

The dataset with standardised column names

Examples

1
2
3
4
data <- dplyr::data_frame(var = 0, Var = 0, camelCase = 0,
                          good_name = 0, `0none.` = 0, `bad  ` = 0,
                          `j&d` = 0, `spac ed` = 0)
standard_column_names(data)

jeroenvdhoven/datapiper documentation built on July 14, 2019, 9:34 p.m.