plot_series: supersimple series plotter

View source: R/plotter.R

plot_seriesR Documentation

supersimple series plotter

Description

supersimple series plotter

Usage

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")

seandavi/sars2pack documentation built on May 13, 2022, 3:41 p.m.