Learn R Programming

upstartr (version 0.1.2)

clean_columns: 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)

Value

A character vector of column names.

Arguments

x

A vector of column names.

Examples

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

Run the code above in your browser using DataLab