covid_map: Covid Map

Description Usage Arguments Value Examples

View source: R/covid_map.R

Description

covid_map automatically loads the latest COVID-19 data from the CDC and plots a chloropleth map of the United States based on the fill value the user specifies. Fill options include total cases ("tot_cases"), new cases ("new_cases"), total deaths ("tot_death"), and new deaths ("new_death").

Usage

1
covid_map(value, Date = "2020-12-02", pal = "YlOrRd")

Arguments

value

covid statistic to analyze.

Date

a date in form "YYYY-MM-DD".

pal

a color palette.

Value

a leaflet object.

Examples

1
covid_map(value="new_death", Date="2020-12-01")

bnorthrop/USevolve documentation built on Dec. 31, 2020, 8:56 p.m.