New York Times US County-Level COVID-19 Data (2021)
- Rows
- 1,185,373
- Columns
- 6
- Data range
- 2021-01-01 to 2021-12-31
Daily time-series of COVID-19 cases and deaths for all US counties for the year 2021.
AI analysis
Analysis: NYT US County-Level COVID-19 Data (2021)
1. Dataset Overview & Value
This dataset, sourced from the New York Times' public GitHub repository (https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties-2021.csv), represents one of the most authoritative and granular pandemic tracking resources available. The NYT maintained this data as a journalistic and public-health resource throughout the pandemic, lending it strong credibility. With 1,185,373 rows spanning all 365 days of 2021 across approximately 3,218 distinct US counties, it provides a rich daily time-series ideal for studying how COVID-19 spread, surged, and evolved geographically — covering both the Delta and early Omicron waves. The combination of geographic granularity (county-level) and temporal density (daily) makes it exceptionally well-suited for correlation studies linking public health outcomes to socioeconomic, demographic, behavioral, or policy variables.
---
2. Data Quality Observations
Overall data quality is reasonably strong given the scale and complexity of pandemic-era reporting, but several issues warrant attention before analysis:
| Issue | Detail | Severity | |---|---|---| | Total null cells | 39,273 across 6 columns | Low-moderate | | deaths nulls | 28,470 rows (2.4%) | Moderate | | fips nulls | 10,803 rows (0.9%) | Moderate | | county/state/cases nulls | 0 | ✅ Clean | | Duplicate rows | Pending Phase D recompute | Unknown |
The deaths column is the most problematic, with 2.4% null values — likely reflecting counties where deaths were not yet reported, suppressed for privacy (small population counties), or genuinely zero but recorded as missing. This distinction matters enormously for analysis: a null death count is not the same as zero deaths, and imputation strategy should be deliberate. The fips column's ~10,803 missing values (0.9%) are concerning specifically because FIPS codes are the primary geographic join key for merging with external datasets — rows missing FIPS will be effectively non-joinable to Census, election, or health infrastructure data without fuzzy county-name matching as a fallback.
---
3. Key Column Distributions
The cases and deaths columns tell a vivid statistical story of extreme inequality in pandemic burden:
Cases: - Mean: 11,160 vs. Median: 2,778 — a ratio of ~4:1, signaling severe right skew - Skewness of 17.3 confirms this is heavily tail-driven - Q1/Q3: 1,136 / 7,340 — the interquartile range is relatively compact, but the max of 1,697,290 (almost certainly Los Angeles County) dwarfs typical counties - 154,017 statistical outliers — representing large urban counties that dominate national case counts
Deaths: - Mean: 193.6 vs. Median: 52 — even more extreme divergence - Skewness of 24.1 is extraordinarily high, the most skewed column in the dataset - Q1/Q3: 20 / 125 — most counties experienced modest death tolls - Max of 35,382 reflects a handful of massive metropolitan counties - 144,052 outliers — nearly as many as cases, indicating the same urban concentration effect
The date column is perfectly complete (0 nulls, 365 distinct values), confirming full annual coverage. The fips range of 1001–78030 correctly spans continental US through US territories (78xxx = Puerto Rico), and the near-symmetric skew of 0.174 suggests relatively even geographic distribution across the county identifier space.
Key takeaway: Both cases and deaths require log transformation before any regression or correlation analysis due to their extreme right skew. Analysts should also consider per-capita normalization to prevent large-population counties from dominating results.
---
4. Recommended Join Key Columns
| Join Key | Type | Notes | |---|---|---| | fips | Integer | Primary recommended key — standard 5-digit FIPS code links to virtually all US government datasets (Census, CDC, CMS, BLS). Handle 10,803 nulls carefully. | | date | Date | Enables time-series joins with vaccination rollout data, mobility indices, policy timelines, and economic indicators | | fips + date | Composite | Ideal join for panel data analysis — creates a unique county-day identifier for merging multiple time-varying datasets | | county + state | String pair | Fallback only — use when FIPS is null; susceptible to naming inconsistencies (e.g., "St. Louis" vs "Saint Louis") |
---
5. Suggested Correlation Dataset Pairings
The county-day structure of this dataset opens several high-value analytical directions:
- COVID-19 Vaccination Data (CDC) — Join on fips + date to correlate vaccination rates with case/death trajectories; the 2021 timeframe perfectly captures the rollout period and would enable measuring vaccine effectiveness at population scale
- US Census ACS 5-Year Estimates — Join on fips to correlate outcomes with age distribution, poverty rates, healthcare access, household density, race/ethnicity, and education — all known COVID-19 risk modifiers
- MIT Election Lab County Presidential Returns (2020) — Join on fips to examine the well-documented relationship between political affiliation and pandemic outcomes (mask usage, vaccination hesitancy, mortality)
- Google/Apple Mobility Reports — Join on fips + date to study how behavioral changes (retail visits, transit use, workplace presence) preceded or followed case surges
- Hospital Capacity & CMS Data — Join on fips to correlate ICU capacity, rural hospital access, and health system strain with death rates — particularly valuable for explaining the deaths outlier pattern
- Weather/Climate Data (NOAA) — Join on fips + date to investigate seasonality effects and the role of indoor crowding driven by temperature on transmission waves
Columns
- date (date)
- fips (integer)
- county (string)
- state (string)
- cases (integer)
- deaths (integer)