Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rasmi/crime-nyc

Opening up NYC arrest and conviction data.
https://github.com/rasmi/crime-nyc

Last synced: about 1 month ago
JSON representation

Opening up NYC arrest and conviction data.

Awesome Lists containing this project

README

        

# NYC Crime Explorer

## Motivation

The NYPD has released a dataset of crimes organized by month, year, crime type, and location. Though this dataset must be scraped manually and isn't very detailed, proper data exploration and re-organizing allow for a pleasing and interesting visualization of all the crimes. Hopefully, such visualizations will promote the need for greater transparency by the NYPD, and will encourage the release of more detailed data, possibly through NYC's Freedom of Information Law requests.

## Features

Anyone can browse the datasets by panning around the Google map on the left and toggling different layers of crimes by clicking the circles in the legend on the right. Month-by-month stacked summary statistics of selected crimes update on the bar graphs in real time.

## Specs

- Backend built on Flask, using pandas for quick data analysis.
- Frontend built on AngularJS, using d3.js and nvd3 for plots.
- An IPython notebook was used to dig through and clean the data and test different data formats before copying helper functions over to Flask for deployment.
- Original data scraped from the official NYPD Crime Map using [Thomas Levine's tool](https://github.com/tlevine/nyc-crime-map).