My question relates to plotting a whole U.S. map on MSA level via choroplethr and choroplethrZip.
In the example below, we plot 1) Census population information on a U.S. map on county level and 2) a zoomed map of a selected Metropolitan/Micropolitan Statistical Area (MSA) level.
Example R code:
library(choroplethr)
library(choroplethrZip)
?zip.regions
data(zip.regions)
head(zip.regions)
?df_pop_county
data(df_pop_county)
df_pop_county
?df_pop_zip
data(df_pop_zip)
# U.S. County Population Data
county_choropleth(df_pop_county, legend = "Population")
# NY-NJ-PA MSA Population Data
zip_choropleth(df_pop_zip,
msa_zoom = "New York-Newark-Jersey City, NY-NJ-PA",
title = "2012 NY-Newark-Jersey City MSA\nZCTA Population Estimates",
legend = "Population")
Instead of only a zoom into a specific MSA, can we also plot a whole MSA-level U.S. map? An approach like
zip_choropleth(df_pop_zip, legend = "Population")
did not work, and would also likely plot the ZCTA regions, not MSA regions.
Thank you!

