Skip to content

Precinct-level results and shapefiles for the 2024 U.S. presidential general election.

License

Notifications You must be signed in to change notification settings

nytimes/presidential-precinct-map-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Presidential precinct data for the 2024 U.S. general election

The New York Times collected and standardized precinct-level election results from around the country, and joined this tabular data to G.I.S. precinct data to create a detailed nationwide map. This map is still a work in progress as we continue to collect and standardize data from more states and counties, and some places are not expected to publish precinct-level data. The data links on this page will be updated occasionally along with our map.

What's on this page

Download national data
General caveats
State by state data and caveats
Data dictionary
How to open these files
Credits
Citation

Download national data

The national TopoJSON data set can be downloaded here: https://int.nyt.com/newsgraphics/elections/map-data/2024/national/precincts-with-results.topojson.gz

The national CSV data set can be downloaded here: https://int.nyt.com/newsgraphics/elections/map-data/2024/national/precincts-with-results.csv.gz

General caveats

Please contact [email protected] if you have any questions about data quality or sourcing beyond the caveats we describe below.

  • The 2020 election results that appear in our interactive map are primarily from the Voting and Election Science Team (see additional data notes below for exceptions). Shift in margin from 2020 was calculated by reallocating 2020 precinct results into 2024 precinct shapes using this method. Some 2020 data is omitted from our map because of methodological differences between the 2020 and 2024 data sets.
  • We used official precinct boundaries provided by states or counties for most of the places in our map. When official boundaries were not available, we created approximate precinct shapes using points in the voter files by L2, a nonpartisan voter data vendor. This results in generally accurate precinct boundaries, but the shapes can be more approximate in no- or very-low-population places.
    • Because of this, spatially joining the precincts in our data without official boundaries is likely to yield less-than-ideal output.
  • In the following states, precinct results in some counties were not included in the map because these counties reported absentee votes at the countywide level rather than at the precinct level: Idaho, Michigan, Missouri, North Carolina, Oklahoma and South Dakota.
  • Some of the results we gathered are slightly incomplete:
    • Wherever write-ins are not reported by the data source, our vote totals are marginally different.
    • A very small portion of the tabular precinct results (roughly 0.1%) could not be joined to the precinct boundaries, and thus these results are not present in the data.
  • Our map uses township-level data in much of New England. We will replace it with precinct-level data as it becomes available.
  • A small number of precincts contain no votes or have so few voters that their vote data is redacted by officials. Those precincts are excluded from the data.

State by state data and caveats

symbol meaning
have gathered data, no significant caveats
⚠️ have gathered data, but doesn't cover entire state or has other significant caveats
precinct data not usable

One of the most common causes of precinct data being unusable is “countywide” tabulations. This occurs when a county reports, say, all of its absentee ballots together as a single total (instead of precinct by precinct); because we can’t attribute those ballots to specific precincts, that means that all precincts in the county will be missing an indeterminate number of votes, and therefore can’t be reliably mapped. In these cases, we drop the entire county from our data.

state availability data description shapefile sourcing
Alabama absentee and provisional votes are reported countywide N/A
Alaska absentee, early and provisional votes are reported district-wide N/A
Arizona topojson
geojson
csv
official boundaries for all counties except La Paz
Arkansas ⚠️ topojson
geojson
csv
see notes below official boundaries
California ⚠️ topojson
geojson
csv
data for some counties has not yet been collected official boundaries
Colorado ⚠️ topojson
geojson
csv
data for counties other than Denver has not yet been collected official boundaries
Connecticut ⚠️ topojson
geojson
csv
results are shown at the township level official boundaries
Delaware topojson
geojson
csv
official boundaries
District of Columbia topojson
geojson
csv
official boundaries
Florida ⚠️ topojson
geojson
csv
data for some counties has not yet been collected some boundaries generated
Georgia topojson
geojson
csv
some boundaries generated
Hawaii topojson
geojson
csv
official boundaries
Idaho ⚠️ topojson
geojson
csv
results cannot be shown for some counties where absentee votes are reported countywide generated boundaries
Illinois ⚠️ topojson
geojson
csv
data for some counties has not yet been collected official boundaries
Indiana data is available but has not yet been collected N/A
Iowa topojson
geojson
csv
official boundaries
Kansas data is available but has not yet been collected N/A
Kentucky topojson
geojson
csv
generated boundaries
Louisiana absentee, early and provisional votes are reported by Parish, not by precinct N/A
Maine ⚠️ topojson
geojson
csv
results are shown at the township level official boundaries
Maryland topojson
geojson
csv
some generated boundaries
Massachusetts topojson
geojson
csv
official boundaries
Michigan ⚠️ topojson
geojson
csv
results cannot be shown for some counties where absentee votes are reported countywide official boundaries, with modifications. see notes below
Minnesota topojson
geojson
csv
generated boundaries for all counties except Hennepin
Mississippi data is available but has not yet been collected N/A
Missouri ⚠️ topojson
geojson
csv
data for counties other than St. Louis has not yet been collected. results cannot be shown for some counties where absentee votes are reported countywide official boundaries
Montana topojson
geojson
csv
official boundaries
Nebraska topojson
geojson
csv
generated boundaries
Nevada topojson
geojson
csv
official boundaries
New Hampshire ⚠️ topojson
geojson
csv
results are shown at the township level official boundaries
New Jersey ⚠️ topojson
geojson
csv
data for some counties has not yet been collected some generated boundaries
New Mexico topojson
geojson
csv
official boundaries
New York ⚠️ topojson
geojson
csv
data for some counties has not yet been collected official boundaries
North Carolina ⚠️ topojson
geojson
csv
results cannot be shown for some counties where absentee votes are reported countywide official boundaries
North Dakota data is available but has not yet been collected N/A
Ohio ⚠️ topojson
geojson
csv
data for some counties has not yet been collected some generated boundaries
Oklahoma ⚠️ topojson
geojson
csv
results cannot be shown for some counties where absentee votes are reported countywide official boundaries
Oregon ⚠️ topojson
geojson
csv
data for some counties has not yet been collected generated boundaries
Pennsylvania ⚠️ topojson
geojson
csv
data for some counties has not yet been collected some generated boundaries
Rhode Island ⚠️ topojson
geojson
csv
results are shown at the township level official boundaries
South Carolina topojson
geojson
csv
official boundaries
South Dakota data is available but has not yet been collected. results cannot be shown for some counties where absentee votes are reported countywide N/A
Tennessee topojson
geojson
csv
official boundaries
Texas ⚠️ topojson
geojson
csv
data for some counties has not yet been collected some generated boundaries
Utah topojson
geojson
csv
official boundaries
Vermont ⚠️ topojson
geojson
csv
results are shown at the township level official boundaries
Virginia topojson
geojson
csv
see notes below official boundaries
Washington topojson
geojson
csv
official boundaries
West Virginia topojson
geojson
csv
official boundaries
Wisconsin topojson
geojson
csv
official boundaries
Wyoming data is available but has not yet been collected N/A

Additional state data notes

  • In Virginia, provisional votes for each candidate were reported at the county level rather than at the precinct level. The Times allocated these votes to precincts according to each candidate’s share of the precinct-level reported vote.
  • In Michigan, the city of Detroit reports its absentee votes in counting boards, which often span multiple precincts. For the 2024 data, The Times obtained a list of precincts that correspond to each counting board from the Detroit city clerk, and precinct results were aggregated into counting boards. For 2020 data, The Times obtained precinct results from the Wayne County Clerk and aggregated Detroit’s votes into counting boards using a list of precincts from OpenElections. In Ionia County, votes were reported at the township level rather than at the precinct level, and that is what is shown on the map.
  • In Arkansas, precinct results for Phillips County could not be joined to geographic shapes.
  • The 2020 election results for New York were provided by Benjamin J. Rosenblatt.

Data dictionary

Each precinct in the data has the following properties:

  • state: state postal abbreviation
  • GEOID: unique identifier for the precinct, formed from the five-digit county F.I.P.S. code followed by the precinct name/ID (e.g., 30003-08 or 39091-WEST MANSFIELD)
  • votes_dem: votes received by Kamala Harris
  • votes_rep: votes received by Donald J. Trump
  • votes_total: total votes in the precinct, including for third-party candidates and write-ins when available
  • pct_dem_lead: (votes_dem - votes_rep) / (votes_total), with four significant digits (e.g., -0.2134)
  • official_boundary: true if the precinct’s shape came from a file that was provided by the state or county, false if the precinct boundary was estimated (see caveats below)

How to open these files

You can open the TopoJSON and GeoJSON files using software that can handle geographic data formats, such as Mapshaper, the sf library in R, the GeoPandas library in Python, or QGIS. The TopoJSON and GeoJSON files we provide are broadly interchangeable, but the TopoJSON files are, on average, much smaller.

You can open the CSV files using software that can handle tabular data formats, such as the tidyverse collection in R, the pandas library in Python, or Excel. Mapshaper also supports tabular data.

Credits

Citation

If you use this data, please cite it and link to the published map. Citation suggestion below:

"2024 Precinct-Level Election Results." New York Times, www.nytimes.com/interactive/2025/us/elections/2024-election-map-precinct-results.html. Accessed [date accessed].

About

Precinct-level results and shapefiles for the 2024 U.S. presidential general election.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published