Collaborators
- Crimes are tied to institutions of similar nature
- Crimes may also be associated with population
- Goals: identify trends in data to determine correlation/causation relationship
- Do places with casinos attract more criminal activities related to gambling crimes?
- Do gun stores increase gun crime activities?
- Is there a relationship between the number of liquor stores in an area to the number of reported crimes in the area?
- How is population related to gun crimes?
A detailed list of data files and their sources is provided in the "Data" folder. Data sources for this project include:
- OpenJustice website
- Crimes and Clearances (With Arson)
- Domestic Violence Related Calls for Service
- US Census Data API
- Google Maps API
- CA Dept of Alcoholic Beverage Control
- Arrest data from 2010-2019, LACity.org
- This file is over 300MB and exceeds the GitHub file size limit. Please download directly from the link above. Thanks!
- Financial Crimes Enforcement Network
- Casinos and Crime in the USA
- Casinos, Crime, and Community Costs
- NYPD Shooting Incident Data (Historic), NYC OpenData
- United States Cities Database
Methods include:
- Importing data from csv files
- Calling for data using an API
- Cleaning data with pandas
- Visualizing data with matplotlib
- There is no evidence casinos attract crime
- Number of gun stores have no impact on gun crime
- Population size has some correlation with gun crime, but no clear causation
- There is a relationship between the following:
- Number of liquor licenses and number of calls
- Number of liquor licenses and number of weapons
- Number of liquor licenses and population
- Population and number of calls
A copy of the presentation is available to view through Google Drive
- The Census and Google Maps API portions of this project require keys. Please confirm you have an API key in a config file saved in the appropriate directory before running jupyter notebooks/python files that reference API keys.