This project creates an R Shiny app to visualize San Francisco Incident Report data, with dynamic graphs and figures. The goal is that an end user can explore the app without requiring any technical knowledge in order to answer their questions regarding crime data.
The blog post on this project can be viewed here: https://nycdatascience.com/blog/student-works/san-francisco-trends-in-criminal-activity/
And the app can be viewed here: https://bbotzheim.shinyapps.io/SF_incident_reports/
data source: (https://data.sfgov.org/Public-Safety/Police-Department-Incident-Reports-2018-to-Present/wg3w-h783) GeoJSON for Police Districts: (https://data.sfgov.org/Public-Safety/Current-Police-Districts/wkhw-cjsf)
Prior to running the app, please pre-process the data using the process_data.R file.