Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.23 KB

README.md

File metadata and controls

30 lines (17 loc) · 1.23 KB

New York City Bike Lane Tickets by Police Precinct

Code originally in support of this post: "Bicycle lane blocking in NYC"

This repo provides scripts to process, and analyze data for millions of traffic tickets in New York City by police precinct. Most of the raw data comes from NYC Open Data.

Instructions

1. Run scrape.py

Used to gather all tweet_ids within a specified timeframe for an account (in this case @Reported_NYC)

From @bpb27

2. Download raw data
  1. Police Precincts
  2. Bike lanes
  3. Traffic violations
  4. 311 requests
3. Run Jupyter Notebook

police.ipynb

Or use that as a starting point to do your own analysis!

Acknowledgements