Description Usage Arguments Value Examples
View source: R/michigan_specific_functions.R
This function takes a dataframe containing precinct data with the original Michigan candidate/party headers and converts the headers to proper formatting to use with package's processing functions. It is tailored to work with the way Michigan counties' format of "Candidate (PARTY)" and also incorporates step to remove empty columns.
1 |
df |
a dataframe |
returns a dataframe with renamed columns and completely empty columns removed
1 2 3 4 | ## Not run:
mi_format_column_names(mydataframe)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.