|Click on the image to visit the interactive visualization|
To be able to display the data on a map I scraped the polygon coordinates of each cuadrante from the find the cop assigned to your quadrant website. The data was supplemented with population figures obtained by using a point-in-polygon algorithm from the 2010 Census at the manzana level.
The data for April 2014 was clearly incomplete and I excluded it from the visualizations. The numbers provided by the SSPDF compare favorably to those provided by the SNSP, though you have to remember these are averiguaciones previas (reports) and that they undercount the number of victims, especially for the crime of homicide.
## 2013 - SNSP Homicidio doloso == 749 vs SSPDF == 899
## 2013 - SNSP Robo a negocio C/V == 4,239 vs SSPDF == 4290
## 2013 - SNSP Robo de vehiculo automotor C/V == 5223 vs SSPDF == 5211
## 2013 - SNSP Robo de vehiculo automotor S/V == 12,056 vs SSPDF == 12014
The data at the cuadrante level is visualized as counts because the daytime population of a cuadrante is probably different from the number of people who actually live there.
Sectors (Each sector contains many quadrants)
P.S. The code and data are on GitHub