covid19sf_geo {covid19sf} | R Documentation |
San Francisco COVID-19 Cases and Deaths Summarized by Geography
Description
Medical provider confirmed COVID-19 cases and confirmed COVID-19 related deaths in San Francisco, CA aggregated by several different geographic areas and normalized by 2018 American Community Survey (ACS) 5-year estimates for population data to calculate rate per 10,000 residents. More information about the data available here
Usage
covid19sf_geo
Format
An object class sf and data.frame with 8 variables.
- area_type
Area type, c("ZCTA", "Analysis Neighborhood", "Census Tract", "Citywide")
- id
area id
- count
The count of cases in the area
- rate
The rate of cases in the area, calculated as (count/acs_population) * 10000 which is a rate per 10,000 residents
- deaths
The number of cases in the area
- acs_population
The population from the latest 5-year estimates from the American Community Survey (2014-2018))
- last_updated
Last update of the data in POSIXc format)
- geometry
The area polygon data)
Details
The dataset contains a summary of covid19 cases in San Francisco by geographic area
Source
San Francisco, Department of Public Health - Population Health Division through San Francisco Opne Data protal website.
Examples
data(covid19sf_geo)
head(covid19sf_geo)
library(sf)
# Ploting SF Covid19 counts using base plot function
plot(covid19sf_geo[which(covid19sf_geo$area_type == "Census Tract"),
c("rate", "geometry")],
main = "Covid19 Cases Rate per 10,000 by Census Tract")