The 74 most violent cities in Mexico
[This article was first published on Diego Valle's Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
I’ve updated the mxmortalitydb package to include 2013 data. This data only package includes all injury intent deaths (accidents, homicides, suicides, and unspcified intent) that were registered in Mexico from 2004 to 2013. You can use the package to calculate changes and trends in homicide rates in the most violent metro areas (or big municipios) or at the national level.Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
While violence has decreased in recent years it still has a long way to drop before it reaches the levels seen in 2006.
Note the mixed trend in Michoacán.
Do note that the charts of homicides from 2006 were made with the 2010 population according to the CONAPO, so the homicide rate was underestimated by a little bit. Also, rather than using the raw homicide numbers I adjusted them by classifying deaths of unknown intent as described in the mxmortalitydb package and this post.
The code for generating the charts is available from GitHub
To leave a comment for the author, please follow the link and comment on their blog: Diego Valle's Blog.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.