The New York Times is sharing the data files supporting their reporting on the COVID-19 outbreak. These files contain cumulative counts of COVID-19 cases and deaths (confirmed and probable) in the United States over time at the national, state, and county levels. Data collection is ongoing and is sourced from state and local governments and health departments.
The New York Times is releasing a series of data files with cumulative counts of coronavirus cases in the United States, at the state and county level, over time.
https://github.com/nytimes/covid-19-data
U.S. National-Level Data
The daily number of cases and deaths nationwide, including states, U.S. territories and the District of Columbia, can be found in the covid_us table. (Raw CSV file here.)
%3E date,cases,deaths 2020-01-21,1,0 ...
State-Level Data
State-level data can be found in the covid_us_states table. (Raw CSV file here.)
%3E date,state,fips,cases,deaths 2020-01-21,Washington,53,1,0 ...
County-Level Data
County-level data can be found in the covid_us_counties table. (Raw CSV file here.)
%3E date,county,state,fips,cases,deaths 2020-01-21,Snohomish,Washington,53061,1,0 ...
In some cases, the geographies where cases are reported do not map to standard county boundaries. See the list of geographic exceptions for more detail on these.
This is the US Coronavirus data repository from The New York Times . This data includes COVID-19 cases and deaths reported by state and county. The New York Times compiled this data based on reports from state and local health agencies. More information on the data repository is available here . For additional reporting and data visualizations, see The New York Times’ U.S. coronavirus interactive site
Which US counties have the most confirmed cases per capita? This query determines which counties have the most cases per 100,000 residents. Note that this may differ from similar queries of other datasets because of differences in reporting lag, methodologies, or other dataset differences.
SELECT
covid19.county,
covid19.state_name,
total_pop AS county_population,
confirmed_cases,
ROUND(confirmed_cases/total_pop *100000,2) AS confirmed_cases_per_100000,
deaths,
ROUND(deaths/total_pop *100000,2) AS deaths_per_100000
FROM
bigquery-public-data.covid19_nyt.us_counties
covid19
JOIN
bigquery-public-data.census_bureau_acs.county_2017_5yr
acs ON covid19.county_fips_code = acs.geo_id
WHERE
date = DATE_SUB(CURRENT_DATE(),INTERVAL 1 day)
AND covid19.county_fips_code != "00000"
ORDER BY
confirmed_cases_per_100000 desc
How do I calculate the number of new COVID-19 cases per day?
This query determines the total number of new cases in each state for each day available in the dataset
SELECT
b.state_name,
b.date,
MAX(b.confirmed_cases - a.confirmed_cases) AS daily_confirmed_cases
FROM
(SELECT
state_name AS state,
state_fips_code ,
confirmed_cases,
DATE_ADD(date, INTERVAL 1 day) AS date_shift
FROM
bigquery-public-data.covid19_nyt.us_states
WHERE
confirmed_cases + deaths > 0) a
JOIN
bigquery-public-data.covid19_nyt.us_states
b ON
a.state_fips_code = b.state_fips_code
AND a.date_shift = b.date
GROUP BY
b.state_name, date
ORDER BY
date desc
Data collecting by local state and local health agencies. Compiled and visualized by The New York Times.
This is the US Coronavirus data repository from The New York Times here U.S. coronavirus interactive site. This data includes COVID-19 cases and deaths reported by state and county. The New York Times compiled this data based on reports from state and local health agencies. More information on the data repository is available. For additional reporting and data visualizations, see The New York Times’ Interactive coronavirus data tool.
Data source: https://github.com/nytimes/covid-19-data
Apache License, v2.0https://www.apache.org/licenses/LICENSE-2.0
License information was derived automatically
Data from The New York Times, based on reports from state and local health agencies and contains cumulative cases and deaths counts of coronavirus cases in the United States, at the state and county level, over time. The data are created by compiling time series data from state and local governments and health departments. Starting from 2020-06-02, the cumulative number of cases and deaths is also be available at country level. The data was extracted from the New York Times GitHub repository daily, https://github.com/nytimes/covid-19-data.
Not seeing a result you expected?
Learn how you can add new datasets to our index.
The New York Times is sharing the data files supporting their reporting on the COVID-19 outbreak. These files contain cumulative counts of COVID-19 cases and deaths (confirmed and probable) in the United States over time at the national, state, and county levels. Data collection is ongoing and is sourced from state and local governments and health departments.