Skip to content

San Diego Crime Visualization is a Python project that generate a html Google Map describing the crime frequency.

Notifications You must be signed in to change notification settings

yumingqiao/San-Diego-Crime-VIsualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

San Diego Crime Visualization is a project that generate a html Google Map describing the crime frequency. The data is collected from "https://www.sandag.org/index.asp?classid=14&subclassid=21&projectid=446&fuseaction=projects.detail".

The user can also enter an address in string format "9500 Gilman Drive" to get a map around that area.

Links

Slides: https://docs.google.com/presentation/d/1OLELE8NHs6DHJo2HIM2QdGfhkBhOPcE-ZgxQJUCCY0c/edit#slide=id.p

Members:

Yuming Qiao ([email protected])

Tim Miller ([email protected])

Taylor Hua ([email protected])

How to run:

To run the code, you need to install (python 2.7)

  1. numpy
  2. uszipcode - pip install uszipcode
  3. gmplot - please install from the github repo directly, the pip install will only give you an outdated version.
  1. The code uses google service to work, the service key was removed for privacy, the user need to have a valid google service key to run the code.
  2. The full_project_classes.py collects all the jupyter notebook codes, cleans up all the code and is well commented.
  3. The html heatmap code is in crime_last_week_heatmap_plot.ipynb.

![Optional Text](../master/Result/Crime Heatmap Demo.png)

About

San Diego Crime Visualization is a Python project that generate a html Google Map describing the crime frequency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published