How to view:

  1. Clone the repository
  2. Open getlocation.html
  3. Bottom left, choose browse
  4. Select the mapsDf.csv

Inspiration

Nobody likes speeding tickets. Everyone does what they can to avoid them. As four broke college students, we wanted to search public ticket data to map where all the speed traps are so we could avoid them.

What it does

This app uses public ticket data along highways to record where the most tickets are given. The user is able to know these areas and be sure to drive carefully around them. The final product is a fully functional web app with multiple buttons.

How we built it

We used Google map APIs to visualize public traffic ticket data into a heat map. Prior to being placed on the map, the data was processed with R; weighted by a risk factor (logistic(alleged speed - posted speed)). The closer the alleged speed was to the posted speed, the higher the risk.

Challenges we ran into

Cleaning up data to show exactly what we wanted, finding the data as well. We found weird anomalies in the data. For example, we found tickets doing 5 mph in a 60 that were marked as speeding tickets. Finding the data was hard because at the time the data wasn't available since the website was down. We pulled the data from a web cache.

Accomplishments that we're proud of

We are proud to come up with a complete working product that each individual worked on together. The data we used is pretty complete for highway control, and we are able to add a bunch more. We are very excited about the functionality of the web-app as a whole.

What we learned

We learned more about organizing data, each of the coding languages, implementing google maps, and working more as a team. Most of the learning was learning how to visualize and organize the data we pulled.

What's next for It's A Trap!

Being able to implement more data, including risk-factors such as weather, road-blocks, etc. Also, being able to update our information live. Possible expansion to a mobile app, i.e. being able to add alerts as soon as your gps location reaches the radius of a calculated speed trap.

Share this project:
×

Updates