View source: R/set_std_col_names.R
set_std_col_names | R Documentation |
Standardize column names Make lower case R compliant names that use an underscore rather than a dot and remove apostrophes. Multiple underscores are reduced to one.
set_std_col_names( name_list = c("first.name", "LastName"), fix_acronyms = TRUE, fix_camel = FALSE )
name_list |
List of column names. |
fix_camel |
Change camel case to underscores before processing. |
set_std_col_names(c("first.name", "LastName")) [1] "first_name" "lastname" set_std_col_names(c("first.name", "LastName"), fix_camel = T) [1] "first_name" "last_name"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.