Skip to content

In this project we try to find out correlation between denver crime type vs various attributes of population.To take it even further the role of weather on crime is also explored. The code is written in python while using sqlite package for executing sql queries.

License

Notifications You must be signed in to change notification settings

kaswani29/DenverCrimeVsPopulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DenverCrimeVsPopulation

In this project we are trying to analyze how crime in denver changes with attributes of population.

Data Set

The datasets used here are

  1. Crime dataset denver city = http://data.denvergov.org/download/gis/crime/csv/crime.csv
  2. Census dataset = "http://data.denvergov.org/download/gis/census_neighborhood_demographics_2010/csv/census_neighborhood_demographics_2010.csv"

Approach

After creating a pandas dataframe, data is cleaned. And then it is pushed into a database. sqlite3 package is extensively used in the project to execute sql queries. Various visulazation methods are used to find correlations.

#Deeper Analysis To analyis effect of weather on crime data, weather data is scraped from a website and is used along with crime data. To see effect of weather and also to continue this project further, weather.py should be run first then lines related to weather in the main program DenverCrime.py can be commented out

About

In this project we try to find out correlation between denver crime type vs various attributes of population.To take it even further the role of weather on crime is also explored. The code is written in python while using sqlite package for executing sql queries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages