ggplot2
map for a single U.S. stateCreate the state layer for a ggplot2
plot.
create_map_state(state = NULL, show_county = TRUE, 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, color | character. Either a hex code or a valid color name.
Parameters passed directly to |
gg.
Only works for a single state. It is expected that theme_te_map()
is called beforehand.