Mihirmathur / redistricting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code for Redistricting using Active Contours

Install morphsnakes using

pip install morphsnakes

To try out the example type:

cd model
python morphsnakesExample.py

Converting dbf file to csv

  • You will need Python2 for conversion.
  • Place all .dbf files in map-generation/
  • First cd into map-generation/dbfpy-2.3.1 and run:
sudo python setup.py install
  • Conversion step:
python data_processing.py rg_match_p10_01.dbf 

Downloads

Plotting Resources/Ideas

About


Languages

Language:Jupyter Notebook 84.3%Language:Python 15.7%