Projects

I've created many data science and visualization projects that will ignite your curiosity and deepen your understanding of the world of data. From uncovering hidden patterns in massive datasets to creating stunning visual representations of complex information, this collection showcases the power of data-driven insights. Get ready to be captivated, inspired, and amazed.

elcri.men

Up-to-date crime information at the state and municipality levels for all of Mexico https://elcri.men/en/, also available in Spanish https://elcri.men

hoyodecrimen.com

A web app and API providing crime information for Mexico City https://hoyodecrimen.com, also available in English https://hoyodecrimen.com/en

mxmaps

An R package for creating choropleths of Mexico https://www.diegovalle.net/mxmaps/

hoyodesmog

A web app and r package providing real-time pollution data for Mexico City https://hoyodesmog.diegovalle.net/es/, also available in English https://hoyodesmog.diegovalle.net/

mxmortalitydb

An R package with all injury intent deaths in Mexico since 2004 https://github.com/diegovalle/mxmortalitydb

rsinaica

Easy-to-use functions for downloading air quality data from the Mexican National Air Quality Information System (SINAICA). With this R package you can download pollution and meteorological parameters from the more than a hundred monitoring stations located throughout Mexico.
https://hoyodesmog.diegovalle.net/rsinaica/

Analysis of the UNAM's admission exam

Blog post

Analysis of public high school admission scores in Mexico City

Interactive map and blog post

Statistical analysis and visualization of the drug war in Mexico

Lots of charts and information on the Mexican Drug War

Errors in the Mexican mortality database

The Acteal Massacre is recorded as an accident in the Mexican mortality database blog post

Poll of polls

Interactive polls of polls of the 2012 Mexican presidential election made with d3, R and JAGS <a>link</a>

Mexico's Drug War: 63,000 extra deaths in 6 years

There were about 63,000 excess deaths from December 2006 to December 2012 blog post

Excess firearm accidents in Sinaloa

The state of Sinaloa had a lot of firearm accidents during the period drug war-related deaths exceeded total homicides blog post


Datasets

If you need a dataset you saw in my blog that is not listed here send me an email. I'm sure I have it lying around somewhere