covid19.ontario {epigrowthfit} | R Documentation |
COVID-19 in Ontario, Canada
Description
Time series of COVID-19 cases and tests in Ontario, Canada, daily from February 8, 2020 to May 1, 2022.
Usage
data(covid19.ontario, package = "epigrowthfit")
Format
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 todate[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 todate[i]
. This number includes repeated tests by individuals except prior to April 15, 2020, when individuals were counted at most once.
Source
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")
Examples
data(covid19.ontario, package = "epigrowthfit")
plot(1 + diff(c(NA, cases)) ~ date, data = covid19.ontario, log = "y")
[Package epigrowthfit version 0.15.3 Index]