pycensus.census.countries.usa.elections_precinct.unofficial.medsl_boundaries¶
Official state precinct BOUNDARIES + MEDSL 2024 precinct VOTES -- votes UNOFFICIAL, polygons official.
For a state whose NYT precinct file is incomplete (Oklahoma) the state publishes its own precinct polygons; MEDSL's precinct label equals the polygon's
precinct code, so the votes join exactly. MEDSL rows with no polygon (central absentee / provisional counting precincts, codes *9999) are spread over
the precincts of the same county in proportion to their votes, so every county keeps the MEDSL county total (the county total of the official result).
load(state_fips, cache_dir=None)
¶
MEDSL 2024 presidential votes joined to official precinct polygons (Oklahoma only), per-county totals kept.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state_fips
|
str
|
State FIPS ( |
required |
cache_dir
|
Cache folder; |
None
|
Returns:
| Type | Description |
|---|---|
|
Precinct polygons with votes. |
Raises:
| Type | Description |
|---|---|
ValueError
|
For another state. |