Skip to main content

civic-data-boundaries-us-mn-precincts

DOI PyPI Python versions License: MIT CI Status Docs

Civic Boundary Data for Civic Interconnect for Minnesota precincts.

Source

GeoJSON files

GeoJSON is a geospatial data format based on JSON (JavaScript Object Notation) designed for use in online applications. They include voting precinct boundaries as well as the name, county, and election districts (US Congress, MN Senate and House, County Commissioner) for each precinct.

These files are intended to provide basic information regarding the location of election districts within the state. For the most accurate information on precincts and districts, as well as polling place information, please use the Polling Place Finder.

Minnesota precincts - April 2025 (6225 KB json)

Congressional District as of April 2025
District 1 (southern Minnesota) C.D. 1 (1062 KB json)
District 2 (south Metro) C.D. 2 (383 KB json)
District 3 (greater Hennepin County) C.D. 3 (341 KB json)
District 4 (Ramsey County and suburbs) C.D. 4 (217 KB json)
District 5 (Minneapolis and suburbs) C.D. 5 (171 KB json)
District 6 (northwestern Metro, St Cloud area) C.D. 6 (578 KB json)
District 7 (western Minnesota) C.D. 7 (1760 KB json)
District 8 (northeastern Minnesota) C.D. 8 (1720 KB json)

For state and county boundaries, see civic-data-boundaries-us.


Process

Official source:
https://www.sos.mn.gov/media/2791/mn-precincts.json

        ↓

Read top-level source date:
"May 1,2026"

        ↓

Normalize:
snapshot_date = "2026-05-01"

        ↓

Derive:
snapshot_version = "2026-05"

        ↓

Save downloaded input:
data-in/states/minnesota/precincts_2026-05.json

        ↓

Build output:
data-out/states/minnesota/precincts/2026-05/

        ↓

Add to every output feature:
snapshot_version = "2026-05"
snapshot_date = "2026-05-01"

Installation

pip install civic-data-boundaries-us-mn-precincts

Pipeline

This repository uses a reproducible data pipeline built on the same conventions as other Civic Interconnect datasets (data-config/, data-in/, data-out/).

# Place statewide GeoJSON input
# data-in/states/minnesota/precincts_2025-04.json

# 1) Build (copy/normalize/add snapshot metadata)
civic-us-mn build --version 2025-04

# 2) Validate (CRS, required columns, geometry, basic uniqueness)
civic-us-mn validate --version 2025-04

# 3) Index (flat index, manifest, state layer pointers)
civic-us-mn index

Or use uv:

uv run python -m civic_data_boundaries_us_mn_precincts.build_layer --version 2025-04
uv run python -m civic_data_boundaries_us_mn_precincts.validate --version 2025-04
uv run python -m civic_data_boundaries_us_mn_precincts.index

Development

Clone and Open in VS Code

git clone https://github.com/civic-interconnect/civic-data-boundaries-us-mn-precincts.git
cd civic-data-boundaries-us-mn-precincts
code .

Set Up the Project

uvx pup-clean --delete
uv self update
uv python pin 3.14
uv python install
uv lock --upgrade
uv sync
uv audit

References

State of Minnesota - Election Administration & Campaigns - Data & Maps - GeoJSON files

Metadata

Release files for civic-data-boundaries-us-mn-precincts 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for civic-data-boundaries-us-mn-precincts 0.1.1
File Size Uploaded
civic_data_boundaries_us_mn_precincts-0.1.1.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for civic-data-boundaries-us-mn-precincts 0.1.1
File Interpreter ABI Platform
civic_data_boundaries_us_mn_precincts-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.2 kB

Release files / civic_data_boundaries_us_mn_precincts-0.1.1.tar.gz

Download URL civic_data_boundaries_us_mn_precincts-0.1.1.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
709ffa2c228caf24dc833685162114c86d77babedcff36650cec684c2892f961
BLAKE2b-256 checksum
How to use checksums
47c1c3ac401b233b3a17d58a923a159b5c1ffdb90dbc2d0b298f5b0dc1fb15c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release files / civic_data_boundaries_us_mn_precincts-0.1.1-py3-none-any.whl

Download URL civic_data_boundaries_us_mn_precincts-0.1.1-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23374fc63acade588381347da20bfdf2918f2f59c06f338945a4c790088d9be0
BLAKE2b-256 checksum
How to use checksums
07bf2b076be8fca0e0272cbc99ac450283659b77664b8c9be388ba406c44ecef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page