Skip to content

bp32795/Chicago-Traffic-Camera-Analysis-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Chicago-Traffic-Camera-Analysis-Project

This was a master's capstone for an R class where a dataset had to be analyzed. This script takes data from 4 datasets located in the Chicago Data Portal. For my convenience, I combined them and made them publicly accessible online. That url is in the script. The four datasets are:

  • Red Light Camera Violations
  • Red Light Camera Locations
  • Speed Camera Violations
  • Speed Camera Locations

After these 4 are merged, the script will place each camera in a NESW district group. This part takes close to 4 hours, so it is recommended to run it once, export the vio dataframe to a csv, then comment out lines 24 to 69 and uncomment line 75. The script will then output 2 text files and 8 png files to the current working directory. The text files are a linear model and a tickets per camera type metric. Examples of some of the images are below:

  • Number and Type of Violations Map
    • enter image description here
  • Violations per Type Bar Graph
    • enter image description here
  • Violations by Type by District
    • *This would be better as a per camera metric, but that can be a later development.

Lastly, this code is no longer maintained, but rather serves as a portfolio.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages