cdc_basemap | R Documentation |
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") )
basemap |
select the CDC basemap. One of:
|
These are just the basemaps. You need to pair it with the data you wish to visualize.
## Not run: plot(cdc_basemap("national")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.