datamade / crimearound.us

:police_car: A tool for browsing crime reports from the Chicago Police Department.
http://crimearound.us
MIT License
5 stars 3 forks source link

Need definitions for crime data fields #38

Closed cathydeng closed 10 years ago

cathydeng commented 10 years ago

for example, what exactly do 'Arrest' & 'Domestic' mean?

there are crimes where 'Description' & 'Domestic' seem mismatched, e.g. crime w/ description = domestic battery simple & domestic = no http://crimearound.us/#dataset_name=chicago_crimes_all&obs_date__le=2014%2F05%2F19&obs_date__ge=2014%2F05%2F18&orig_date__time_of_day_ge=0&orig_date__time_of_day_le=23&primary_type__in=BATTERY&beat__in=0131

evz commented 10 years ago

Yeah, I think this is something we've googled pretty hard and have yet to find a good source. A couple resources for Crime Type definitions:

Directly From CPD: http://gis.chicagopolice.org/website/clearMap/crime_types.html Definitions of crime types by FBI code including friendlier rewrites by @jpvelez https://github.com/open-city/crime-in-chicago/blob/master/db/import/Crime_Types.csv

I'm going to work on getting these worked into a table that we can link to from the little pop up window.

evz commented 10 years ago

So, I put together an API end point for IUCR codes and descriptions here:

http://api.crimearound.us/api/iucr-codes/

evz commented 10 years ago

So, I ended up just making a table with the descriptions of all the various crime types and then link to the appropriate one from the little detail pop up.