sc3 / cookcountyjail

A Django app that tracks the population of Cook County Jail over time and summarizes trends.
http://cookcountyjail.recoveredfactory.net/api/1.0/?format=json
Other
31 stars 23 forks source link

process housing_location into correct fields for v2 #400

Closed bepetersn closed 10 years ago

bepetersn commented 10 years ago

Start by looking at countyapi/housing_location_info.py. Look also at the tests for the classes which play similar roles for charges and court locations.

After doing this, start porting the functionality which uses the Django ORM to using SQLAlchemy instead. If you made a test for this before/while you were writing this code, the project would be greatly benefited.

Note that the input to this class should now be just the raw housing_location field, a string, as specified by #390.