Latin American experiences in data platforms: inegifacil.com

June 5, 2014 in Community, HowTo

At Escuela de Datos we collect stories on the use and appropriation of data-related projects in Latin America and Spain. Today, we share Boris Cuapio Morales’ story – he is the developer behind INEGI Fácil, a tool that allows the easy search of data offered in the not-very-user-friendly web service of Mexico’s National Statistics Institute.

We thank Boris for his time and help for this interview, which was carried out at Data Meetup Puebla. This post was originally published in Spanish by Mariel García, community manager at Escuela de Datos.yo-mero-v3


(español para seguir a continuación)


“When I was in university, I was always struck by the fact that media like The New York Times always linked to the websites of US-based information systems. I always asked myself: why is it that we don’t have such systems in Mexico, too?”

Boris Cuapio is an illustrator-turned-into-programmer that lives in Puebla, Mexico. In late 2012, he intended to use data from the National Statistics System (INEGI), and he found their web service. But he wasn’t qualified enough to use it. End of the story.

That is, until late 2013. Boris had spent some time working for Canadian clients that requested products that incorporated the use of APIs of social networks like Twitter or Flickr, which forced him to learn what he needed in order to use the web service. His workmates encouraged him to start coding on his free time in order not to lose practice, and so he thought of a new project: to try and display INEGI data in an easier, more accessible way.

That is how INEGI Fácil (Easy INEGI) was born. It is a website that queries the web service of inegi.gob.mx to show the results in tables and graphics.

Is there value in the fact that a citizen, rather than the government, was behind this project? Boris thinks the speed of institutional processes would not allow the system to undertake the technological adoptions that are necessary in services of this sort. For example: while INEGI provides data in XML (a heavy format that has been gradually abandoned in other services), INEGI Fácil provides data in JSON, and with additional markers. INEGI has a tutorial that is rather difficult to grasp, whereas INEGI Fácil has a PHP library that makes the task simpler. Thanks to Hugo, the mastermind behind the design and interaction of the site.

inegifacil_homev1

In reality, the government and Hugo are not competing. INEGI Fácil launched around July 2013, and in January 2014 Boris was contacted by someone at INEGI. In few words, they were surprised that someone was actually using the web service. When this service increases from its two current data sources to the hundred they expect to have, Boris will be a beta tester.
This project has allowed him to learn a lot about JS, XML, PHP, databases, dataviz – how to make graphics, how to export data. And he likes this type of work; he wants it to stop being a hobby, and rather become his main project. He wants to sell this product to universities, which are the institutions that use INEGI data the most.

But, meanwhile, he hopes all the indexes will be searchable by the end of this month, and that INEGI Fácil will soon be accessible from mobiles. In a year, if he can find financing, he would hope for INEGI Fácil to become a web service paralell to the one of INEGI itself; in other words, that it is used by media outlets through site embeds. His dream: he wants his own university to start doing information design, graphics, instructional catalogues, educational texts and other materials based on the data they can extract through INEGI Fácil.

Tip from Boris (which, according to him, he has given to everybody even if he doesn’t know anyone other than him that has followed it): “Gather your money and buy SafariBooks when you know what it is you want to learn. I have learned most things through them!”

In Mexico, platforms based on open data are being developed. Do you know others in Latin America? We would love to share their stories at Escuela de Datos.


En Escuela recopilamos historias de uso y apropiación de proyectos dateros en Latinoamérica y España. Hoy les compartimos la de Boris Cuapio Morales, creador de INEGI Fácil – una herramienta que permite la búsqueda de datos del web service del Instituto Nacional de Estadística y Geografía en México.

Agradecemos a Boris la disposición para esta entrevista, que fue llevada a cabo en Data Meetup Puebla. Este post fue publicado originalmente por Mariel García, community manager de Escuela de Datos.

“En la universidad, me llamaba la atención que las notas en medios como The New York Times siempre se enlazaba a páginas web de sistemas de información de EEUU. Entonces yo me preguntaba: ¿Por qué no hay en México sistemas así?”

Boris Cuapio es un ilustrador-convertido-en-programador que vive en Puebla, México. A finales de 2012, él tenía la intención de usar información del INEGI, y encontró el servicio web… pero no tenía la capacidad para usarlo. Fin de la historia.
…Hasta finales de 2013. Boris estuvo trabajando para clientes en Canadá, que pedían productos que incorporaban el uso de APIs de redes sociales como Twitter o Flickr, lo cual le capacitó para usar el servicio web. Sus compañeros de trabajo le recomendaron comenzar proyectos de programación personales para no perder práctica, él pensó en uno: tratar de mostrar los datos del INEGI de una manera más fácil y más accesible.

Así nació INEGI Fácil, un portal que hace consultas al servicio web de inegi.gob.mx, y muestra los resultados en tablas y gráficas.

¿Pero por qué hay valor en que esto lo haga un ciudadano, y no el gobierno en sí? Boris piensa que la velocidad de los procesos institucionales no permitiría las adopciones tecnológicas que son necesarias en servicios de este tipo. Por ejemplo: mientras INEGI provee datos en XML (formato pesado que se ha ido abandonando en otros servicios), INEGI Fácil ya los da en JSON, y con marcadores adicionales. INEGI tiene un tutorial un tanto difícil de acceder, mientras que INEGI Fácil tiene una librería PHP que simplifica el trabajo. En términos de experiencia de usuario, no hay comparación (gracias a Hugo, la mente maestra detrás de los temas de diseño e interacción del sitio).

inegifacil_homev1

En realidad, el gobierno y él no son competencia. INEGI Fácil inició cerca de julio de 2013, y en enero de 2013 Boris fue contactado una persona en el INEGI. En pocas palabras, les sorprendió que alguien de hecho usara los servicios web! Cuando el sitio pase de sus dos fuentes actuales de información a las cien planeadas, él será un beta tester.
El proyecto le ha permitido aprender mucho sobre JS, XML, PHP, bases de datos, dataviz – cómo hacer gráficas, cómo exportar datos. Y le gusta ese trabajo; quiere que ya no sea un hobby, sino su proyecto principal. Quiere vender el producto a universidades, porque es donde más se utiliza los datos del INEGI.

Pero, por lo pronto, espera que en este mes los índices ya sean buscables y se pueda acceder a INEGI Fácil desde celulares. En un año, si consigue dinero, esperaría que se convierta un servicio web paralelo al INEGI; es decir, que lo utilicen medios de comunicación a través de embeds. Su ideal: le gustaría que en su universidad hagan diseño de información, gráficas, catálogos instructivos, textos educativos, y que aprovechen INEGI Fácil.

Tip datero de Boris (que, según él, le da a todo mundo, y nadie ha seguido) – “Junta tu dinero y contrata SafariBooks. Con eso puedes aprender lo que sea”.


En México se desarrolla plataformas basadas en datos abiertos. ¿Conoces otras en Latinoamérica? Nos encantará difundir sus historias en Escuela.

Flattr this!