Skip to content

Geospatial Algorithm for Building Congressional Distrcits

License

Notifications You must be signed in to change notification settings

julienawilson/GerryPy

 
 

Repository files navigation

Contributions welcome License

GerryPy

GerryPy is a geospatial algorithm for building congressional districts.

GerryPy takes census tracts for the state of Colorado and builds the required number of congressional districts. The algorithm attempts to make districts compact and close to the required population of 711,000. Each algorithm attempt produces a different result.

Website

gerrypy.herokuapp.com

Major Components

GerryPy is built in Python and uses a PostGRES/PostGIS database.

PostGIS functions and GoogleMaps support and display the spatial data.

Pyramid ORM and Bootstrap for the website.

Planned features

  1. Added criteria for how the algorithm should prefer to group census tracts.

  2. Support for all 50 states.

  3. Run algorithm multiple times and select the best one.

  4. Implement Mapbox or other modern map tool for front end.

  5. Update Logo

License

MIT License

Team

Ford Fowler

Avery Pratt

Patrick Saunders

Jordan Schatzman

Julien Wilson

About

Geospatial Algorithm for Building Congressional Distrcits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PLpgSQL 98.2%
  • Python 1.6%
  • Other 0.2%