clean_columns: Cleans up column names by forcing them into tidyverse style

View source: R/helpers.R

clean_columnsR Documentation

Cleans up column names by forcing them into tidyverse style

Description

Zero-configuration function that takes unwieldy column names and coerces them into tidyverse-styled column names.

Usage

clean_columns(x)

Arguments

x

A vector of column names.

Value

A character vector of column names.

Examples

clean_columns(c("Date of Purchase", "Item No.", "description", "",
  "Transaction at Jane's Counter?", "Auditing - Worth it?"))


upstartr documentation built on May 29, 2024, 9:08 a.m.