supersimple series plotter

plot_series(province = "", country, dataset = try(jhu_data()), ...)

Arguments

province

character(1) must be found in dataset ProvinceState field, "" is typical for data aggregated only at country level, and that is the default

country

character(1) must be found in CountryRegion field

dataset

data.frame as returned by fetch_JHU_Data

...

passed to base::plot

Value

none, used for side effects

Note

An effort is made to change dates used as column names to lubridate date objects that are respected in plotting.

Examples

#plot_series(country="Italy")