plot_timeseries: Create a plot of the number of covid cases over time.

Description Usage Arguments Value Examples

View source: R/plot_timeseries.R

Description

Create a plot of the number of covid cases over time.

Usage

1
plot_timeseries(covid_df, metric, start = "", end = "")

Arguments

covid_df

a dataframe containing covid data to plot

metric

the name of column from covid data to plot along time

start

a string indicating the start date in pattern YYYY-MM-DD

end

a string indicating the end date in pattern YYYY-MM-DD

Value

plot object

Examples

1
2

UBC-MDS/Group28-CovidTracker-R documentation built on Feb. 6, 2022, 7 a.m.