This document analayzes election data in Arizona’s Maricopa County at the precinct-level. The findings were used to create an interactive map and to support a story for the Arizona Capitol Times about shifting politics in the suburbs of Phoenix.

The focus on this project was the presidential race. Although I include some glimpses of the results by legislative district and a look at state senate results, the major work of this code is to produce precinct-level election results that show whether Joe Biden or President Donald Trump won the precinct and by how much.