covid19.ontario | R Documentation |
Time series of COVID-19 cases and tests in Ontario, Canada, daily from February 8, 2020 to May 1, 2022.
data(covid19.ontario, package = "epigrowthfit")
A data frame with 814 rows and 3 variables:
date
a Date
vector.
cases
an integer vector. cases[i]
is the number of cases confirmed
by Ontario public health units prior to date[i]
.
This number includes resolved and fatal cases as well as reinfections.
tests
an integer vector. tests[i]
is the number of tests completed
prior to date[i]
. This number includes repeated tests by
individuals except prior to April 15, 2020, when individuals were
counted at most once.
This data set is a processed subset of a larger data set downloaded on 2024-01-10 from the It is updated using an installed script:
\link{system.file}("scripts", "covid19.ontario.R", package = "epigrowthfit")
data(covid19.ontario, package = "epigrowthfit")
plot(1 + diff(c(NA, cases)) ~ date, data = covid19.ontario, log = "y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.