top of page

Data Preparation

CDC mask mandate data of 17 months from April 10, 2020 through January 10, 2021 by State by country by day

1.6 million records raw

grouped by State by county by month 54,000 records, grouped by State by county 3,200 records


Geocoded counties with API

MIT data science lab of Presidential Election Returns 2000-2020 by county by election year

2020 and 2016 elections to account for time lag

*Net Democratic Margin = % Democratic voters - % Republican voters

Merge with State and County FIPS as ID

Comparison of Heatmaps


Democratic Inclined Counties 2016-2021

% Days Mask Mandates over
Apr 2020 - Jan 2021


Republican Inclined from 2016-2021

bottom of page