Skip to content

An archiver and API endpoint for NYC Compstat data.

Notifications You must be signed in to change notification settings

waltz/nyc-compstat-api

Repository files navigation

NYC Compstat API

Build Status

New York City revolutionized the way cities were policed with their COMPSTAT approach. The police department releases partial reports of the data that they collect, but this information is hidden in PDF documents that disappear after a week. This scraper downloads all of the reports on the NYPD's crime statistics page and uploads them to an S3 bucket.

Public Archive

This scraper currently runs every day and uploads the results here:

https://nyc-compstat-api.s3.amazonaws.com/

Using this thing

  • Install the required gems.

$ bundle

  • Run the tests.

    $ rake

  • Run the main archiver.

    $ ruby application.rb

About

An archiver and API endpoint for NYC Compstat data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages