Skip to content

Analysis of bike lanes per police precinct in NYC

Notifications You must be signed in to change notification settings

dvillaveces/police

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Analysis of bike lanes per police precinct in NYC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published