Description Usage Arguments Value Examples
Returns a ggplot2 object with a geom_map of the requested county
1 2 |
state |
name string (e.g. + default = "Maine") |
fill |
color string (e.g. + default = "white") |
border |
color string (e.g. + default = "#7f7f7f") |
border |
line width (e.g. + default = 0.25) |
fill |
alpha (e.g. + default = 1) |
list consisting of the fortified map object (map), list of county names (county.names) & the ggplot2 object (gg)
1 | g <- ggcounty("New York")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.