crime rates and poverty in Mexico
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
shapeFiles
LICENSE
README.md
changeShpToNumeric.R
crimeRates.R
crimesPerYear.csv
crimestats.csv
fuero-comun-municipal-todos-temporal.csv.gz
fuero-comun-municipios.csvuero-comun-municipios.csv
homicidesPerYear.csv
homicidesRates.R
mergeData.R
munNames.csv

README.md

Crime rates and poverty in Mexico

To replicate the analysis change the working directory at the beggining of each script and run in the following order

  • crimeRates.R Downloads total crime data and puts it in wide form
  • homicidesRates.R Downloads homicide data and puts it in wide form
  • mergeData.R merge total crime and homicides with poverty data
  • changeShpToNumeric.R changes string values to numeric in the shapefile for further processing in Tilemill

Credits Jose Gonzalez