covid19.nz {VGAMdata} | R Documentation |
COVID-19 in New Zealand: The First Month or So
Description
The covid19.nz
data frame has 69 rows and 3 columns.
The number of new cases is tracked daily.
Usage
data(covid19.nz)
Format
This data frame contains the following columns:
- doy
output from
as.Date
, is the day of year.- newcases
a numeric vector, counts, the number of new cases.
- Day
a numeric vector, 0 for when the first case occurred; incrementally daily after that.
Details
These were collected from https://www.nzherald.co.nz/ during the first month or so after the first case.
Source
The NZ Herald states their source was Johns Hopkins University.
Examples
## Not run: plot(newcases ~ doy, covid19.nz, col = "blue", type = "h",
las = 1, xlab = "Date")
## End(Not run)
[Package VGAMdata version 1.1-9 Index]