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

port the code that populates the "/clone" API #414

Open bepetersn opened 10 years ago

bepetersn commented 10 years ago

I regard the /clone API as very important. Between #336 and especially #395, though, the present database clone functionality is now set to be obsolete. We need to seek out a way to dump and load a postgres database... it's not too difficult, I don't think.

This could be made into a script. After switching the scraper over from using the v1 API as our read-database (see #391), we can call this new script from scraper.sh.