Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/rasmi/crime-nyc
- Owner: rasmi
- Created: 2015-02-01T05:48:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-19T00:17:10.000Z (almost 10 years ago)
- Last Synced: 2024-04-23T22:23:27.482Z (9 months ago)
- Language: JavaScript
- Homepage: http://crime-nyc.rasmi.io
- Size: 4.48 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).