Skip to content

pycensus.census.countries.usa.elections_precinct.official.ca

California -- 2024 general election by registration-precinct (SRPREC), from the Statewide Database (UC Berkeley, the state's redistricting database).

Results: state_g24_sov_data_by_g24_srprec.csv = the counties' Statement of Vote tabulated to the 2024 general-election SRPRECs (PRSDEM01 Harris, PRSREP01 Trump, all PRS* columns together = presidential total). Boundaries: srprec_state_g24_v01_shp.zip (the SRPREC polygons of that election, built from the counties' own precinct maps). Rows with no polygon (county-wide absentee / provisional tabulations, a few precincts missing from the map) are shared among the county's mapped precincts in proportion to their votes, so every county keeps its Statement-of-Vote total.

load(cache_dir=None)

California official 2024 presidential results by precinct, joined to the official precinct polygons.

Parameters:

Name Type Description Default
cache_dir

Cache folder; None = the pycensus cache.

None

Returns:

Type Description
GeoDataFrame

Precinct polygons with votes_dem, votes_rep, votes_total.