Skip to main content

Implementation of locality splitting metrics for political redistricing plans

Project description

Code for running metrics that quantify locality (e.g. county, community of interest) splitting in districting plans, including:

  • Geography-based
    • Number of localities split
    • Number of locality-district intersections
  • Population-based
    • Effective splits
    • Conditional entropy
    • Square root entropy
    • Split pairs

Options are provided to ignore zero-population regions and to calculate symmetric splitting scores.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

locality_splitting-0.2.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

locality_splitting-0.2.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page