Giter Site home page Giter Site logo

cookcountyjail's Introduction

Cook County Jail Inmate Population tracker

A Django app that tracks the population of Cook County Jail over time and summarizes trends.

Using it

There is currently no user interface or production website. You can run the scraper and summarizer with two management commands:

./manage.py scrape_inmates
./manage generate_inmate_summaries

scrape_inmates also supports a --limit / -l flag which limits the number of records created and --search / -s flag which overrides the default A-Z search strategy.

Architecture roadmap

Models

  • Inmate: Name, charges, gender, intake date, discharge date, other fields available on inmate site (see a typical inmate record for details).
  • Summaries: One or more models representing population summaries (number of inmates, length of stay, distribution of charges and demographics) by time period (day, week, month, quarter, year).

Management commands

  • scrape_inmates: Create inmate records by searching and scraping Cook County jail website.
  • generate_inmate_summaries: Summarize data (number of inmates, length of stay, distribution of charges and demographics) by time period (day, week, month, quarter, year)

Views

A handful of views export JSON representing summaries by time period.

Frontend

The front end will consist of Backbone components to be developed in January with the Chicago Data Visualization Group.

  • Data views: Bind to JSON data and use D3 to visualize.
  • Navigation app: Provide time selection and multiple views of data.

Authors

Contributors: Ryan Asher, Cecilia Calaeria, David Eads, Jimmie Glover, Forest Gregg, Sheila Miguez, Wilbero Morales, and Sabine Ye Licensed under the GPL version 3.

cookcountyjail's People

Contributors

eads avatar wilbertom avatar fgregg avatar sharonelizch avatar cgcalabria avatar codersquid avatar 35thlair avatar

Watchers

James Cloos avatar Gene Leynes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.