Data Analysis on The Rise in Traffic Tickets in New York

Posted on Dec 3, 2019
 The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Source Code

Introduction: 

Data estimate that anyone who has driven in New York City may have experienced at least one unpleasant experience. As a driver in New York City (NYC), I have learned that you must remain alert at all times. From looking for cyclists before you make a turn to making  sure that pedestrians are paying attention, it can be a challenging experience. 

In making sure that traffic laws and regulations are being followed at all times, police are authorized to issue traffic tickets to individuals who have violated a traffic law or regulation. While all rules are crucial to follow, it is likely that NYC drivers have been issued  with at least one traffic ticket. 

Today, technology has become a huge part of society in which the use of mobile devices while driving has impacted so many lives. The use of technology has also benefited the police force. Through recent advance technologies in police vehicles, it is becoming easier to issue traffic violations.  Using an R shiny dashboard,  we will visualize the rise in traffic tickets from 2014 - 2017. 

Data Set:

Traffic Tickets Issued: Four Year Window 

Data Visualizations & Findings:

Data Analysis on The Rise in Traffic Tickets in New York

Before, we begin the visualizations, I wanted to calculate an accurate total of traffic tickets issued  each year. Above, we see that a rapid increase in traffic tickets. 

Data Analysis on The Rise in Traffic Tickets in New York

During 2017, majority of traffic tickets were issued on Mondays and Fridays. Traffic tickets were mostly issued to males between the ages of 21 - 30 years old. Next, we looked at the top eight violation descriptions and found that drivers are continiously surpassing the speed limit in a particular zone. 

How has recent technology and ideas impacted the increase of traffic tickets in New York?

Below are two of the many recent ideas created during these years that has helped police issue traffic tickets to drivers who are violating a traffic law. 

  • Today, you are more likely to see a cop driving a regular vehicle. 
    • Usually when one sees a cop car approaching, they tend to drive at a slower pace. Now imagine, you are driving 15 miles per hour above the speed limit and  you hear sirens coming from a black ford behind you.
  • License Readers
    • Today, it is difficult for cops to lose you on the road. Once they have detected your vehicle, your license plate is automatically listed on their system. Also, if a  cop sees that you are using your mobile device or violating a traffic law, it is not hard for them to stop and pull you over.

Summary: 

We have visualized the increase in traffic tickets and have found the top eight traffic laws that many drivers are violating. Hopefully drivers continue to be more careful on the road. This will decrease the risk of receiving a traffic ticket and help keep the streets safe. 

 

 

 

 

About Author

Drucila Lefevre

Drucila holds a Masters' degree in Psychology with a concentration in Applied Statistics from Columbia University. Drucila discovered her passion in data through research projects during her employment, where she worked as an research analyst and analyzed neuro...
View all posts by Drucila Lefevre >

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans 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 boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis 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 seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI