Blog Archives

How popular is the President of Mexico on Twitter?

March 18, 2014
By
How popular is the President of Mexico on Twitter?

Twitter simultaneously allows people to be heard and to hear, easily and in real time, bringing with it potentially fascinating and ground breaking insights for anybody trying to take the public’s pulse on a hot issue.  It is almost mandatory that so much benefit comes with its challenges, namely how to process the humongous amounts The post

Read more »

Poverty and Crime in Mexico – Interactive Map

March 6, 2014
By
Poverty and Crime in Mexico – Interactive Map

How safe is Mexico? That is a frequent question people ask me. There is even  website about it  (see this blog post). So I’ve decided it was time to go one step further and make an interactive map (click here for full screen) of poverty and crime in Mexico. The objective was to see which municipalities have The post

Read more »

How to create a geojson in R

January 22, 2014
By

This is a short but sweet post on how to create a geojson file in R .  Remember that you can render geojson files in github.   The post How to create a geojson in R appeared first on Jose Gonzalez.

Read more »

Using Google maps API and R

September 3, 2013
By
Using Google maps API and R

This post shows how to use Google Maps‘ API with R. Combine the first part with Plyr and it becomes a very powerful tool in just a few lines of code. You can find a gist in RMarkdown with the code here or click below to continue reading. The post Using Google maps API and R appeared first on

Read more »

Mexico City’s Metro Statistics

June 24, 2012
By
Mexico City’s Metro Statistics

I used R and ggplot2 to make a bubble map of Mexico City’s Metro passenger count from January to February 2012. The statistics are stunning, some stations for example Indios Verdes, reached 10 million passengers in jus three months. You can see the code below and get the data for the project here.The post Mexico City’s Metro Statistics...

Read more »