map_council_continuous | R Documentation |
Building on functionality for creating maps when mapping continuous data, map_council_continuous()
could save some work.
map_council_continuous(
df,
.fill,
.lwd = 0.5,
.low = "#8c510a",
.mid = "white",
.high = "#01665e",
.midpoint = 0
)
df |
The |
.fill |
For continuous data, the variable (column name) which should be used to fill polygons |
.lwd |
numeric, line width of polygons, default setting is |
.low |
character, color name or hex code to fill the lowest number.
Default is |
.mid |
character, color name or hex code to fill the midpoint number.
Default is |
.high |
character, color name or hex code to fill the highest number.
Default is |
.midpoint |
numeric, midpoint of a diverging color scheme.
Default is |
a ggplot2 plot
Other aesthetics:
blue_cascade
,
colors
,
council.pal()
,
council_layout()
,
council_pal2()
,
scale_color_council()
,
scale_fill_council()
,
theme_council()
## Not run:
library(ggplot2)
library(councilR)
fetch_ctu_geo() %>%
map_council_continuous(.fill = ALAND, .midpoint = 5e7)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.