Giter Club home page Giter Club logo

python-iucr's Introduction

What is the Supreme Chi-Town Coding Crew?

We are a small group of aspiring web developers and journalists based in Chicago who meet regularly to learn basic web skills and work on data journalism and civic technology projects. Learn about SC3's principles in our manifesto.

How do I join?

Come to OpenHack at FreeGeek Chicago, every Saturday from 1pm-5pm at 3411 W. Diversey. Details available on the FreeGeek Chicago calendar.

Projects

  • Cook County Inmate Tracker - A Django-based web API that provides data about inmates in Cook County Jail by scraping for the Sheriff's Inmate Locator. Status: 2.0 version in development. 1.0 version is inefficient and complicated but stable. Both versions are available online.
  • 26th and California - Tarbell-based data visualizaton site for the Cook County Jail API. Status: In active development.
  • Townsquare 2 - A Django application for tracking volunteer participation. Status: Alpha quality, in development.
  • Chicago Birthrates - A simple application that visualizes birthrates in Chicago based on the city data portal. Status: Stable version 1.0, demo site is broken.
  • Townsquare 1 - A Drupal distribution for tracking volunteer participation. Status: In production at FreeGeek Chicago, not maintained as a public project.
  • Hopper VM - A lightweight virtual machine for apps development Status: Not maintained.

License

All files in this repository are by the work by Supreme Chi-Town Coding Crew and licensed under a Creative Commons Attribution 4.0 International License.

python-iucr's People

Contributors

bepetersn avatar ghing avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-iucr's Issues

Provide resource for parsing ILCS strings into their component parts

We've talked about switching to only allowing lookup of IUCR code with ILCS bits. If we were to make this change, it would put the responsibility on the client to do their own parsing of ILCS reference strings, parsing which we could at least try to help with.

The simplest thing would be to provide a regex with which to parse ILCS reference strings as a constant, like ILCS_FORMAT. Another possibility would be to expose a method which is capable of doing some parsing for the client.

Problems arise in that there might be multiple formats in which ILCS data could appear, which suggests a more involved approach as opposed to providing a single regex.

Crosswalk values for ILCS reference are too specific in some cases

In an effort to handle #3, I believe a bug has been introduced. Adding subsection arguments into the lookup_by_ilcs method signature (which @ghing did initially) has caused a problem, in that it appears to have broken the functionality of looking up an IUCR code given an ILCS reference, for statutes which are specified past the section level.

For now I am ignoring this, but an example would be the following ILCS statute in the crosswalk document:

720-550/4(a)

Missing sections in the IUCR crosswalk?

I found the following section in the Cook County Jail data, but not in our IUCR crosswalk:

625-5/4-103.2

This section exists, and is visible in the online ILCS reference, if you scroll down sufficiently. But it is not in our IUCR crosswalk document. Instead, only the following section exists:

625-5/4-103

Now, we could add this example to our dataset. Maybe we should see if there are other missing sections from the IUCR crosswalk we have, based on the two datasets we have available, and try and add them all?

Update to use new data

Hannah Cushman at datamade pointed out that the state released new IUCR codes. We should update this library to reflect the new codes.

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.