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.
Crime (2013) | SNSP | SSPDF |
---|---|---|
Homicidio doloso | 749 | 899 |
Robo a negocio C/V | 4,239 | 4290 |
Robo de vehiculo automotor C/V | 5,223 | 5,211 |
Robo de vehiculo automotor S/V | 12,056 | 12,014 |
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.
Quadrants
Sectors (Each sector contains many quadrants)
Website
P.S. The code and data are on GitHub