Cycling in Manhattan

Avatar
Posted on Jul 1, 2019

     I hope you had a chance to view and enjoy my Shiny App, which can be found here. I set out with the broad idea to explore the impact various legislation has made over safety of all on drivers, cyclists, and pedestrians in Manhattan. As a cyclist myself who avoids riding in Manhattan, I was interested to see if the addition of bike lanes and prevalence of Citi Bikes, has made it a more dangerous place for cyclists and/or pedestrians. I also wanted to see if there have been any noticeable safety improvements based on the Vision Zero 25mpg campaign. From their FAQ:

"Why is the speed limit changing to 25 MPH?
New York City is reducing its speed limit to 25 MPH in order to make the city safer for pedestrians, cyclists, and drivers and help meet the City’s goal of bringing traffic fatalities to zero. Data shows that driving at or below 25 MPH improves drivers’ ability to avoid crashes. Pedestrians struck by vehicles traveling at 25 MPH are half as likely to die as those struck at 30 MPH."

The result of this initiative was a reduction on the speed limit in most streets in Manhattan to 25mph in November 2014. 

     I was able to find a dataset which listed every motor vehicle accident reported by the NYPD in all of NYC since late 2012. This consisted of 1.5M incidents. While there was a variable for "Borough", this was only indicated on about a third of the records. I was able to filter down to lat/long points that took place in Manhattan, and continued with over 300k accidents. Other fields included date, types of vehicle involved, motorists injured, motorists killed, cyclists injured, cyclists killed, pedestrians injured, pedestrians killed. 

     I found that the reduced speed limit could possibly had a positive impact on pedestrians. The following year (2015) saw a drastic drop in pedestrian deaths in Manhattan. While 2016 saw a rise in deaths, since then the deaths have been decreasing, while injuries are either the same or even rising. This could give credit to the city's initial claim that a pedestrian is twice as likely to survive being hit by a car at 25mph vs a 30mpg car. As soon as the law was passed, there were local stories that reported strict enforcement of tickets in the area. While this may have improved the 2015 statistics, I suspect that the spike in 2016 could have been a result of law enforcement easing up on the strict enforcement of the law. 

     As I suspected, the increased popularity and availability of cycling throughout the city has increased the number of injuries over the last few years. This goes hand in hand with my graph showing the mileage of added bike lanes. There does not seem to be a trend in either direction for cyclist deaths, due to low count to begin with. 

Being still my first draft of this Shiny App, there is a lot more I would like to do, and will be adding in the near future. I would like to examine:

1: Review NYC infractions for speeding in 25mph areas. This would be needed to see how strictly this law was enforced in the years since being passed.

2: As I have only looked at counts of incidents, I will look at deaths/incident to see if the rate has been improving or not as a result of added protected bike lanes.  

3: Time of day, location, week/weekend of all incidents to ID dangerous places to be, or where to avoid when cycling. 

If you have any feedback you would like to share, or contact me for any reason, please reach out to me at [email protected] Thanks for your time. 

 

 

 

 

 

 

 

About Author

Related Articles

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python python machine learning python scrapy python web scraping python webscraping Python Workshop R R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp