Beyond the the data wrangling, this faceted map was created using the ggplot2::facet_wrap()
function.
See Also: full data wrangling code and workflow.
sf_data %>%
ggplot(aes(fill = wages, color = wages)) +
geom_sf() +
coord_sf(crs = 5070, datum = NA) +
scale_fill_viridis_c() +
scale_color_viridis_c() +
facet_wrap(~ category,
nrow = 3, ncol = 2)
If you see mistakes or want to suggest changes, please create an issue on the source repository.
Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. Source code is available at https://github.com/libjohn/mapping-with-R, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".