Description Usage Arguments Examples
View source: R/split_categories_function.R
This function splits a single dataframe into multiple dataframes when there is more than one category present that would be more beneficial as individual data layers in EarthTime. It assumes that the dataframe is already in a "wide" format. If not, please use the choropleth() function in this package before invoking split_categories().
1 | split_categories(dataframe, categories_column)
|
dataframe |
Specify the name of the wide dataframe that should be split. |
categories_column |
Specify the column name (in quotes) or the column number that contains the various categories. |
1 2 3 4 | ## Not run:
split_categories(dataframe, categories_column)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.