Dataset with Covid19 maximum weekly prevalence in California counties between 2020 and 2024, from healthdata.gov.
Usage
data(covid_prevalence)
Details
County polygons and additional data for this dataset are in covid_counties.
The full dataset at daily resolution can be downloaded from https://github.com/BlasBenito/distantia/blob/main/data_full/covid_prevalence.rda (use the "Download raw file" button).
Examples
#to time series list
tsl <- tsl_initialize(
x = covid_prevalence,
name_column = "name",
time_column = "time"
)
#time series plot
if(interactive()){
#subset to avoid margin errors
tsl_plot(
tsl = tsl_subset(
tsl = tsl,
names = 1:4
),
guide = FALSE
)
}