COVID-19 Data Hub Data Level 2
- Rows
- 371,535
- Columns
- 38
- Data range
- 2020-01-05 to 2021-04-13
Pre-processed state-level COVID-19 time-series data.
AI analysis
COVID-19 Data Hub — Level 2 (State-Level) Analysis
1. Dataset Overview and Analytical Value
This dataset originates from the [COVID-19 Data Hub](https://storage.covid19datahub.io/data-2.csv), a well-maintained open-source initiative that aggregates and pre-processes pandemic data from governmental and institutional sources worldwide. At Level 2, the granularity is subnational — specifically state or province level — making it particularly valuable for comparative regional epidemiological analysis. With 371,535 rows spanning 465 distinct dates and 799 geographic units across 29 countries, it offers a rich longitudinal panel. The combination of health outcomes (confirmed cases, deaths, hospitalizations), policy interventions (school closings, stay-at-home orders, stringency index), and vaccination/testing counts creates an unusually strong foundation for multi-dimensional correlation studies — especially those examining policy effectiveness versus outbreak trajectory.
---
2. Data Quality Observations
The dataset carries a meaningful quality burden: 2,296,744 total null cells across 38 columns, which is roughly 16% of all possible cell values (371,535 × 38 = ~14.1M). Three columns stand out as severely compromised. administrativearealevel3 is entirely null (100%), meaning the sub-state geographic tier was never populated at this data level — it should be dropped outright. key is null in 87% of rows (323,175), and stringencyindex is missing in 83.9% of rows (311,545), which critically undermines any policy-stringency correlation analysis without imputation or supplemental sourcing. Additional notable gaps include latitude/longitude (both ~27.7% null at 102,765 rows), population (~17.5% null at 65,100 rows — damaging for per-capita normalization), and keyalpha2 (~81.7% null). The vaccines and confirmed columns each carry a single null, which is negligible. No explicit duplicate-row count has been computed yet (pending Phase D Parquet reprocessing), so deduplication validation remains an open item before any aggregate analysis.
---
3. Key Column Distributions
Several columns reveal epidemiologically important distributional patterns worth highlighting:
- confirmed: Mean of 35,558 but median of only 370, with Q1=3 and Q3=8,477 — a classic right-skewed pandemic distribution (skew=11.4) reflecting the enormous disparity between early/low-prevalence regions and high-burden states. The 62,866 flagged outliers likely represent U.S. states and large Indian/Brazilian states at peak waves. Log transformation is strongly recommended before regression. - deaths: Similarly skewed (skew=11.8), mean=814 vs. median=0, with 77,640 outliers — the highest outlier count in the dataset. The median of zero implies that a large share of the panel covers early-pandemic periods or small regions with no recorded fatalities. - vaccines: Extreme right skew (skew=29.9), mean=22,665 vs. median=0, Q1=Q3=0, suggesting rollout data was added retrospectively and many early-pandemic rows are zero-filled rather than null — an important distinction for time-series vaccine uptake modeling. - tests: The most extreme skew in the dataset (skew=50), max=119.5M, mean=107,487, median=0. This near-degenerate distribution strongly suggests zeros represent absent data rather than true zero testing — imputation or filtering pre-2020Q3 rows may be necessary. - population: Ranges from 1,008 to ~199.8M (mean=6.14M, median=956,069), skew=5.26 with 39,990 outliers — expected given the mix of small provinces and large national states. The 17.5% null rate makes per-capita normalization unreliable without external population data. - Policy variables (schoolclosing, workplaceclosing, etc.) are comparatively clean (nulls=0) with compact ordinal ranges (0–3 or 0–4), making them the most analysis-ready columns in the dataset. informationcampaigns is heavily left-skewed (skew=−2.1), indicating most regions reported active campaigns for most of the period.
---
4. Recommended Join Key Columns
| Priority | Column | Rationale | |----------|--------|-----------| | Primary | date + id | Composite natural key for the panel; both have zero nulls and sufficient distinct counts (465 dates × 799 IDs) | | Geographic join | isoalpha3 | Zero nulls, 29 distinct values — reliable country-level bridge to external datasets | | Mobility linkage | keygooglemobility | 248 distinct, ~31% null — best available key for Google Mobility Report joins | | Subnational text join | administrativearealevel2 | 797 distinct values, zero nulls — suitable for fuzzy/exact string joins to census or WHO regional data | | Numeric interop | isonumeric | Zero nulls, standard ISO 3166-1 — universally supported in economic and demographic databases |
⚠️ Avoid key, keyalpha2, and keyapplemobility as primary join keys due to null rates of 87%, 82%, and 78% respectively.
---
5. Suggested Paired Datasets for Correlation Discovery
| Dataset | Correlation Opportunity | |---------|------------------------| | Google Community Mobility Reports (joinable via keygooglemobility) | Measure whether mobility reductions preceded or followed policy interventions; correlate retail/workplace mobility with case growth rates | | World Bank / UN Population & Demographics (join on isoalpha3 + isonumeric) | Enable per-capita normalization for confirmed/deaths; test age-structure vs. CFR correlations — critical given population's 17.5% null rate | | Oxford Stringency Index (OxCGRT) full dataset | Backfill the 83.9%-null stringencyindex column and expand policy analysis with finer-grained intervention timing data | | OWID Vaccination Database (join on isoalpha3 + date) | Correlate vaccination rollout speed with hospitalizations/deaths decline; the near-zero median of vaccines suggests many rows predate rollout and would benefit from OWID's fuller coverage | | Healthcare System Capacity Data (OECD/WHO) | Pair with hosp, icu, and vent columns to test whether system capacity predicted overflow outcomes; hosp has only 79 nulls, making it one of the cleaner outcome variables | | Economic Indicators (IMF/World Bank GDP, unemployment) | Test whether stringency policy levels correlated with economic output loss at the subnational level — particularly relevant given the 29-country multi-jurisdiction scope |
Columns
- id (string)
- date (date)
- vaccines (integer)
- tests (integer)
- confirmed (integer)
- recovered (integer)
- deaths (integer)
- hosp (integer)
- vent (integer)
- icu (integer)
- population (integer)
- school_closing (integer)
- workplace_closing (integer)
- cancel_events (integer)
- gatherings_restrictions (integer)
- transport_closing (integer)
- stay_home_restrictions (integer)
- internal_movement_restrictions (integer)
- international_movement_restrictions (integer)
- information_campaigns (integer)
- testing_policy (integer)
- contact_tracing (integer)
- stringency_index (integer)
- iso_alpha_3 (string)
- iso_alpha_2 (string)
- iso_numeric (integer)
- currency (string)
- administrative_area_level (integer)
- administrative_area_level_1 (string)
- administrative_area_level_2 (string)
- administrative_area_level_3 (string)
- latitude (decimal)
- longitude (decimal)
- key (string)
- key_google_mobility (string)
- key_apple_mobility (string)
- key_numeric (string)
- key_alpha_2 (string)