chicago-justice-project / chicago-justice

Chicago Justice Project
GNU General Public License v3.0
14 stars 11 forks source link

code_all_articles script #65

Closed meshulam closed 6 years ago

meshulam commented 6 years ago

API client to code all articles in the DB. This successfully stored trained codings for 2000 articles in production, but I discovered a performance issue when paging through the articles API.

I'll have a separate PR to address the performance stuff, but this shouldn't have to change much for that.

meshulam commented 6 years ago

Merging this even though we aren't using this approach, it's a good example of how to use the API if there's ever a need for that.