Description Usage Arguments Value Examples
View source: R/plot_line_by_date.R
Plots the line chart of regional Covid19 cases over the period specified by startDate and endDate (format: YYYY-MM-DD). The default argument value for region is 'all', showing the total number of Covid19 cases in BC.
1 | plot_line_by_date(startDate, endDate, region = "all")
|
startDate |
string the start date of the period (no earlier than '2020-01-29') |
endDate |
string the end date of the period (no later than today) |
region |
vector of characters. Default value is character 'all' - displaying all regions. Other available values: combination of list of strings from available regions - Fraser, Vancouver Coastal, Vancouver Island, Interior, Northern, Out of Canada |
ggplot object
1 2 | plot_line_by_date("2021-01-01", "2021-12-31")
plot_line_by_date("2021-01-01", "2021-12-31", region = c('Fraser'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.