change_case | R Documentation |
Columns from FAOSTAT frequently have parentheses and other non-alphanumeric characters. This suite of functions seeks to give control over these names for easier data analysis
change_case(
old_names,
new_case = c("make.names", "unsanitised", "unsanitized", "snake_case"),
...
)
old_names |
character. Vector of the names to be changed |
new_case |
character. Choice of new names:
|
... |
extra arguments to pass to sanitisation function (only works for make.names) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.