San Francisco Data

Close
Author
OpenData
Description
Note: On September 12, 2021, a new case definition of COVID-19 was introduced that includes criteria for enumerating new infections after previous probable or confirmed infections (also known as reinfections). A reinfection is defined as a confirmed positive PCR lab test more than 90 days after a positive PCR or antigen test. The first reinfection case was identified on December 7, 2021. Some fluctuation in historic data may result when this change is implemented on July 15, 2022. Note: On January 22, 2022, system updates to improve the timeliness and accuracy of San Francisco COVID-19 cases and deaths data were implemented. You might see some fluctuations in historic data as a result of this change. Due to the changes, starting on January 22, 2022, the number of new cases reported daily will be higher than under the old system as cases that would have taken longer to process will be reported earlier. <strong>A. SUMMARY</strong> This dataset represents San Francisco COVID-19 positive confirmed cases by vaccination status over time, starting January 1, 2021. Cases are included on the date the positive test was collected (the specimen collection date). Cases are counted in four categories: (1) all cases; (2) unvaccinated cases; (3) partially vaccinated cases; and (4) fully vaccinated cases. 1. All cases: Includes cases among all San Francisco residents regardless of vaccination status. 2. Unvaccinated cases: Cases are considered unvaccinated if their positive COVID-19 test was before receiving any vaccine. Cases that are not matched to a COVID-19 vaccination record are considered unvaccinated. 3. Partially vaccinated cases: Cases are considered partially vaccinated if their positive COVID-19 test was after they received at least one dose of a COVID-19 vaccine, but their positive test had been fewer than 14 days since the final dose in their vaccine series. Individuals who have only received one dose of a two-dose vaccine on the date of the positive test are also considered partially vaccinated. 4. Fully vaccinated cases: Cases are considered fully vaccinated if their positive COVID-19 test was 14 days or more after they received their 2nd dose in a 2-dose COVID-19 series or the single dose of a 1-dose vaccine. These are also called “breakthrough cases.” Data is lagged by eight days, meaning the most recent specimen collection date included is eight days prior to today. All data updates daily as more information becomes available. <strong>B. HOW THE DATASET IS CREATED</strong> Case information is based on confirmed positive laboratory tests reported to the City. The City then completes quality assurance and other data verification processes. Vaccination data comes from the California Immunization Registry (CAIR2). The California Department of Public Health runs CAIR2. Individual-level case and vaccination data are matched to identify cases by vaccination status in this dataset. Case records are matched to vaccine records using first name, last name, date of birth, phone number, and email address. We include vaccination records from all nine Bay Area counties in order to improve matching rates. This allows us to identify breakthrough cases among people who moved to the City from other Bay Area counties after completing their vaccine series. Only cases among San Francisco residents are included. <strong>C. UPDATE PROCESS</strong> Updates automatically at 08:00 AM Pacific Time each day. <strong>D. HOW TO USE THIS DATASET</strong> The dataset includes new cases, 7-day average new cases, new case rates, 7-day average new case rates, percent of total cases, and 7-day average percent of total cases for each vaccination category. New cases are the count of cases where the positive tests were collected on that specific specimen collection date. The 7-day rolling average shows the trend in new cases. The rolling average is calculated by averaging the new cases for a particular day with the prior 6 days. New case rates are the count of new cases per 100,000 residents in each vaccination status group. The 7-day rolling average shows the trend in case rates. The rolling average is calculated by averaging the case rate for a particular day with the prior six days. Percent of total new cases shows the percent of all cases on each day that were among a particular vaccination status. Here is more information on how each case rate is calculated: 1. The case rate for all cases is equal to the number of new cases among all residents divided by the estimated total resident population. 2. Unvaccinated case rates are equal to the number of new cases among unvaccinated residents divided by the estimated number of unvaccinated residents. The estimated number of unvaccinated residents is calculated by subtracting the number of residents that have received at least one dose of a vaccine from the total estimated resident population. 3. Partially vaccinated case rates are equal to the number of new cases among partially vaccinated residents divided by the estimated number of partially vaccinated residents. 4. Fully vaccinated case rates are equal to the number of new cases among fully vaccinated residents divided by the estimated number of fully vaccinated residents.
Category
COVID-19
Tags
vaccination, vaccines, cases, covid-19, covid
Rating
Current value: 0 out of 5
This view cannot be displayed
This view is currently private. You can preview it, but you will need to make it public before people will be able to see it.
Size
  • 500x425

  • 760x646

  • 950x808

Custom Size

425x425 is the minimum size

The Socrata Open Data API (SODA) provides programmatic access to this dataset including the ability to filter, query, and aggregate data. For more more information, view the API docs for this dataset or visit our developer portal

API Endpoint:

Field Names:

specimen_collection_date
specimen_collection_date
overall_segment
overall_segment
vaccination_status
vaccination_status
sf_population
sf_population
new_cases
new_cases
new_cases_7_day_avg
new_cases_7_day_avg
new_case_rate
new_case_rate
new_case_rate_7_day_avg
new_case_rate_7_day_avg
pct_tot_new_cases
pct_tot_new_cases
pct_tot_new_cases_7_day_avg
pct_tot_new_cases_7_day_avg
last_updated_at
last_updated_at
date_loaded_at
date_loaded_at

Use OData to open the dataset in tools like Excel or Tableau. This provides a direct connection to the data that can be refreshed on-demand within the connected application.

Socrata OData documentation

Tableau users should select the OData v2 endpoint option.

OData V4 Endpoint:

OData V2 Endpoint:

You are viewing a mobile version of this dataset. To access the full dataset, tap here.