Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Skip to content

Try the next-generation Data Catalog at catalog-beta.data.gov and help shape it with your feedback.

This is a Non-Federal dataset covered by different Terms of Use than Data.gov.

COVID-19 Testing Over Time

Metadata Updated: April 12, 2026

A. SUMMARY Case information on COVID-19 Laboratory testing. This data includes a daily count of test results reported, and how many of those were positive, negative, and indeterminate. Reported tests include tests with a positive, negative or indeterminate result. Indeterminate results, which could not conclusively determine whether COVID-19 virus was present, are not included in the calculation of percent positive. Testing for the novel coronavirus is available through commercial, clinical, and hospital laboratories, as well as the SFDPH Public Health Laboratory.

Tests are de-duplicated by an individual and date. This means that if a person gets tested multiple times on different dates in the last 30 days, all of those individual tests will be included in this data as individual tests (on each specimen collection date).

Total positive test results is not equal to the total number of COVID-19 cases in San Francisco.

B. HOW THE DATASET IS CREATED Laboratory test volume and positivity for COVID-19 is based on electronic laboratory test reports. Deduplication, quality assurance measures and other data verification processes maximize accuracy of laboratory test information.

C. UPDATE PROCESS Updates automatically at 05:00 Pacific Time each day. A redundant run is scheduled at 09:00 in case of pipeline failure.

D. HOW TO USE THIS DATASET Due to the high degree of variation in the time needed to complete tests by different labs there is a delay in this reporting. On March 24 the Health Officer ordered all labs in the City to report complete COVID-19 testing information to the local and state health departments. In order to track trends over time, a data user can analyze this data by "result_date" and see how the count of reported results and positivity rate have changed over time.

E. CHANGE LOG

  • 10/28/2025 - Updated the COVID-19 testing dataset to correct an error in historical data submissions. This will result in changes to testing volume and positivity over time.
  • 4/10/2024 - An issue with our testing data was identified and corrected leading to a small increase in testing records over time.
  • 6/21/2023 - A small number of additional COVID-19 testing records were released as part of our ongoing data cleaning efforts.
  • 1/31/2023 - renamed column “last_updated_at” to “data_as_of”.
  • 1/31/2023 - added columns “cumulative_tests”, “cumulative_positive_tests”, “cumulative_negative_tests”, “cumulative_indeterminate_tests”.
  • 4/16/2021 - dataset updated to refresh with a five-day data lag.

Access & Use Information

Public: This dataset is intended for public access and use. Non-Federal: This dataset is covered by different Terms of Use than Data.gov. License: See this page for license information.

Downloads & Resources

Dates

Metadata Created Date November 10, 2020
Metadata Updated Date April 12, 2026

Metadata Source

Harvested from SFO JSON

Additional Metadata

Resource Type Dataset
Metadata Created Date November 10, 2020
Metadata Updated Date April 12, 2026
Publisher data.sfgov.org
Maintainer
Identifier https://data.sfgov.org/api/views/nfpa-mg4g
Data First Published 2023-01-31
Data Last Modified 2026-04-11
Category Health and Social Services
Public Access Level public
Metadata Context https://project-open-data.cio.gov/v1.1/schema/catalog.jsonld
Metadata Catalog ID https://data.sfgov.org/data.json
Schema Version https://project-open-data.cio.gov/v1.1/schema
Catalog Describedby https://project-open-data.cio.gov/v1.1/schema/catalog.json
Harvest Object Id 7c259918-fb65-4d0b-a498-5f92e799aa62
Harvest Source Id 8507fa43-f429-4095-b732-2177330ce485
Harvest Source Title SFO JSON
Homepage URL https://data.sfgov.org/d/nfpa-mg4g
License http://opendatacommons.org/licenses/pddl/1.0/
Source Datajson Identifier True
Source Hash 8a643b5afe38ad7b071158b6e563080fd37104479d95e2a6244bf3a08a95319f
Source Schema Version 1.1

Didn't find what you're looking for? Suggest a dataset here.