top of page
![](https://static.wixstatic.com/media/4dd8ab_37df313ee0564457b319148e22857276~mv2.jpg/v1/fill/w_1920,h_1271,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/4dd8ab_37df313ee0564457b319148e22857276~mv2.jpg)
Data Preparation
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
![mapdemocrats_edited.png](https://static.wixstatic.com/media/4dd8ab_0d24562514e64fdfaa7b933740ded22f~mv2.png/v1/fill/w_361,h_200,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/mapdemocrats_edited.png)
![mapmandates_edited.jpg](https://static.wixstatic.com/media/4dd8ab_2897f4eaa15745c8b4af53e7760c9a35~mv2.jpg/v1/fill/w_373,h_200,al_c,q_80,usm_0.66_1.00_0.01,enc_auto/mapmandates_edited.jpg)
Democratic Inclined Counties 2016-2021
% Days Mask Mandates over
Apr 2020 - Jan 2021
![maprepublicans_edited.jpg](https://static.wixstatic.com/media/4dd8ab_d46442839e364a6e9f9440f824f5651b~mv2.jpg/v1/fill/w_369,h_200,al_c,q_80,usm_0.66_1.00_0.01,enc_auto/maprepublicans_edited.jpg)
Republican Inclined from 2016-2021
bottom of page