Skip to main content

Redistricting analysis tools

Project description

rdatools

Redistricting analysis tools (RDA)

This repository (rdatools/rdatools) contains redistricting analysis code. There are two associated repositories of data:

  • rdatools/vtd_data – Various precinct-level input data for the analysis tools, where precincts are generally census VTDs except in a few states which use census blockgroups.
  • rdatools/vtd_ensembles – Various output data from the analysis tools, including ensembles of plans and scores for plans in ensembles.

Categories

The code here is organized by area:

  • Base: Shared code
  • Score: Scoring code
  • DCCVT: Balzer's algorithm to find a maximally population compact map
  • TODO: More ...

Installation

To get the code locally, clone the repository:

git clone https://github.com/rdatools/rdatools
cd rdatools

To run the scripts, install the dependencies:

pip install -r requirements.txt

To use the shared code in another project, install the package:

pip install rda-toolkit

Testing

$ pytest

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

rda_toolkit-0.0.3.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rda_toolkit-0.0.3-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file rda_toolkit-0.0.3.tar.gz.

File metadata

  • Download URL: rda_toolkit-0.0.3.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rda_toolkit-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c2844bcdc605bb8a87c880ad5d9c01f4e50534eda86f52dc87927ce0045e802d
MD5 3c27fe1885e1f24f3c4561db647d7e74
BLAKE2b-256 7eb47bc9d070800643ab8d9bcc5ff023d854788620ebb009c1e0a52f86a351d6

See more details on using hashes here.

File details

Details for the file rda_toolkit-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: rda_toolkit-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rda_toolkit-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 142b7bb82affb6ef65cc5ebd92fa9c0655a13eafde78b1fa6bb4da455e053bcb
MD5 c07e5cf788b4ebb7b91dd31dec9653ad
BLAKE2b-256 7e2a9132d00be16fcaa4a8438d6af247af5257f0077d64d5495b527350257f80

See more details on using hashes here.

Supported by

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