The CDC FluView application uses a composite basemaps of coverage areas within the United States that elides and scales Alaska, Hawaii, Puerto Rico & the Virgin Islands and some further provide elided and scaled breakouts for New York City and the District of Columbia.

This function retrieves the given shapefile, projects to EPSG:5069 and returns it as an sf (simple features) object.

cdc_basemap(basemap = c("national", "hhs", "census", "states", "spread",
  "surv"))

Arguments

basemap

select the CDC basemap. One of:

  • "national": outline of the U.S. + AK, HI, PR + VI

  • "hhs": outline of the U.S. + HHS Region Outlines + AK, HI, PR + VI

  • "census": outline of the U.S. + Census Region Outlines + AK, HI, PR + VI

  • "states": outline of the U.S. + State Outlines + AK, HI, PR + VI

  • "spread": outline of the U.S. + State Outlines + AK, HI, PR + VI & Guam

  • "surv": outline of the U.S. + State Outlines + AK, HI, PR + VI

Note

These are just the basemaps. You need to pair it with the data you wish to visualize.

Examples

# NOT RUN {
plot(cdc_basemap("national"))
# }