clean_names: Clean names of an object

Description Usage Arguments Details Value See Also Examples

View source: R/clean_names.r

Description

The function imports the clean_names function from the janitor package.

Usage

1

Arguments

data

Object, usually data.frame, with names to clean

Details

The function imports the clean_names function from the janitor package. See the documentaiton in the janitor package for further details. The function requires that the janitor is installed!

Value

data.frame with clean names

See Also

clean_names

Examples

1
2
3
  data <- supportR::create_data()
  names(data) <- gsub("_", ".", names(data))
  clean_names(data)

ha-pu/supportR documentation built on Sept. 13, 2020, 5:52 p.m.