mcga: Make Column Names Great Again

Description Usage Arguments Value Examples

View source: R/mcga.r

Description

Remove punctuation and spaces and turn them to underscores plus convert to lower case.

Usage

1
mcga(tbl)

Arguments

tbl

a data.frame-like object

Value

whatver class x was but with truly great, really great column names. They're amazing. Trust me. They'll be incredible column names once we're done.

Examples

1
2
3
real_world <- read_docx(system.file("examples/realworld.docx", package="docxtractr"))
tbls <- docx_extract_all_tbls(real_world)
mcga(assign_colnames(tbls[[1]], 2))

hrbrmstr/docxtractr documentation built on July 11, 2020, 10:06 p.m.