Description Usage Arguments Details Value
Create the state layer for a ggplot2
plot.
1 2 3 4 5 | create_map_base(state = NULL, show_county = FALSE, fill = "white",
color = "black", ...)
create_map_base_tx(state = "texas", show_county = FALSE, fill = "white",
color = "black", ...)
|
state |
character for state name. May either be an abbreviation or full name and may be either lower-case or upper-case. |
show_county |
logical. Whether or not to show county lines for specified state. |
fill |
character. Either a hex code or a valid color name.
Parameters passed directly to |
color |
character. Either a hex code or a valid color name.
Parameters passed directly to |
... |
dots. Arguments passed to |
This is just a wrapper for create_map_state(...)
+ theme_map(...)
gg.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.