Description Usage Arguments Value
Format columns names to lower, UPPER or Title.Case
1 2 | format_column_names(df, type = "lower", replace_symbol = ".",
make_unique = T)
|
df |
which data frame to replace it in |
replace_symbol |
character replace all non-alpha characters with specified character (e.g. "_" or "."), removes leading/trailing |
make_unique |
boolean use make.names(unique = T) to make enforce valid unique names |
convert_case |
character default="lower", also accepts "Title", "UPPER" specify convert.case = "" to leave alone. NOTE: make_unique overrides this by always converting to "lower" |
df with renamed columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.