covid_incidence_county_subset | R Documentation |
This data source of confirmed COVID-19 cases and deaths is based on reports made available by the Center for Systems Science and Engineering at Johns Hopkins University. This example data is a snapshot as of March 20, 2024, and ranges from March 1, 2020 to December 31, 2021. It is limited to counties from Massachusetts and Vermont.
It is used in the epiprocess aggregation vignette.
covid_incidence_county_subset
An object of class epi_df
(inherits from tbl_df
, tbl
, data.frame
) with 16212 rows and 5 columns.
The data has columns:
the geographic value associated with each row of measurements.
the time value associated with each row of measurements.
Number of new confirmed COVID-19 cases, daily
the name of the county
the full name of the state
This object contains a modified part of the COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University as republished in the COVIDcast Epidata API. This data set is licensed under the terms of the Creative Commons Attribution 4.0 International license by the Johns Hopkins University on behalf of its Center for Systems Science in Engineering. Copyright Johns Hopkins University 2020.
Modifications:
From the COVIDcast Epidata API: These signals are taken directly from the JHU CSSE COVID-19 GitHub repository without changes. The 7-day average signals are computed by Delphi by as moving averages of the preceding 7 days, so the signal for June 7 is the average of the underlying data for June 1 through 7, inclusive.
Furthermore, the data has been limited to a very small number of rows,
formatted into an epi_df
, and the signal names slightly altered.
# Since this is a re-exported dataset, it cannot be loaded using
# the `data()` function. `data()` looks for a file of the same name
# in the `data/` directory, which doesn't exist in this package.
# works
epiprocess::covid_incidence_county_subset
# works
library(epiprocess)
covid_incidence_county_subset
# fails
## Not run:
data(covid_incidence_county_subset, package = "epiprocess")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.