Description Usage Arguments Value Examples
View source: R/easy_choropleths.R
Checks your dataframe of counties against the county names in the
county_map()
to identify any missspellings or spacing issues
1 | check_county_names(data, state = "all")
|
data |
Your data frame to make a choropleth. Contains three columns, county name, county state and your variable of intrest, in that order |
state |
A string contianing the state name or abbriviation that you would like to map. Default is "all" which maps the entire USA |
A data frame or a list identifying which counties are in the function data set, but were not found in yours, and which counties are in your data set but were not found in the function's. Please change the names of the counties in your data set to match those in the function if you'd like to graph those counties
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.