Where did the main political forces win and loose votes

In 2017 were the legislative elections in Argentina. Not only the new representatives of the Congress are elected, it is an opportunity for the political forces to measure their power in each province.

The map shows the 2017 Elections results for each political force, and the user can compare them with the primary elections and with the 2015 presidential elections of 2015.

This tool not only displays the votes results in absolute values, also the percentage of votes that each political force won or lost. The user can click on each province and see the result for each location in in a pop-up

The innovative thing is the design, the way of presenting the information. We chose to represent the provinces of our country through squares, and give each one a simple graph of arrows that reflect that percentage of votes each politcal force won or lost.


How we did it?

We looked for the official data results of: the presidential elections of 2015, the primary elections 2017 and the general elections 2017.

With all the information, we categorized the political forces according to three major groups: the party Cambiemos, the party that responds to the Kirchnerismo and the peronismo no kirchnersita.

The political groups that do not identify with these three forces were not taken into account.

We used: d3js, underscore.js, jquery, css3, sass, node, gulp.

Sin comentarios

Legislative Elections 2017: map with live results province by province

A unique and valuable service for the the users to know the legislative election results of each district and province in real time.

In addition to the map with the percentage of votes for each province, the tool offers:

- The option to see the results not only by province, but also by the districts that comonen each of them.

- The name, photograph and political orientation of each of the 4.216 senator and deputies candidates,

- The results they obtained with the absolute value and the percentage of votes.

- The number of votes counted at a given time

- A switcher which allows the user to compare the actual results with the primary ones and a color palette for each political orientation with gradual transparency that allows the user to see the distribution of votes between them.

-  Another switcher to know the results by deputies or senators.

The update of the results in real time was automated and the users could see the date and time of the last modification.

 Live link  



The map was replicated in several news outlets, even our main media group competitor published the app on their TV programs.

The election coverage was trending topic on Twitter, and many of the politicians of the different districts shared the web app on their social media.

It even obtained 1.170.000 pageviews and 40% of the traffic came from Google.


How we did it? 

We divided the process in multiple steps.

Firstly, we downloaded and validated the election data given by the government.

Then, we saved it into a database to later process it and created different JSON’s depending on app needs.

We tried to write small process so it is easier to parallelize the work and the runtime process.

In addition, to show the seats that each candidate won, we calculated and programmed the formula taking into account the D’Hont system for the deputies chamber and in the case of the senators it was easy because it is one representing the majority and the other representing the minority.

We used Python and PostgresSQL as the database for processing and saving the official data provided by the government. Also, Javascript and D3.js for rendering the map, and the Amazon services for hosting the backend and frontend.

Sin comentarios

Ranking of absence in Congress: which are the political party factions with more absences

>>> LIVE LINK <<<


As part of the Legislative Elections in 2017, an analysis of absences was made among representatives from the last renewal of seats in December 2015 to September last year. The number of absences in the Lower House at the moment of voting was analyzed and it was further detailed according to each political party and the Province that elected them. Finally, it was made a list with the names of the representatives with more absences and those representatives who were never absent.

Many of the members wanted to be reelected so the purpose of this article was to show the percentage of representatives who are present to cast their vote.


What makes this project innovative?  Seguir leyendo

Sin comentarios

Unveiling Argentina´s elections system failures with impact.

Producing evidence data through Open data journalism and civic collaboration .


Elections transparency impact after comparing digitized primary elections telegrams with manually completed forms using technology and citizen participation in Argentina

In 2015, presidential elections were held in Argentina with massive protests and complaints in some provinces as regards of fraud during primary elections. National and some provinces electoral systems were under suspicious.

We decided to take action in order to analyze relevant public documents, looking to send a message to Government that we, the people,  were monitoring to avoid irregularities or fraud during final election and that this could be done using technology for accountability.

A government site has published more than 95.000 telegrams that authorities from each polling station sent to the postal office containing the amount of votes that each party and each candidate won, how many election monitors were present, etc. It’s not the complete overview concerning documents of the electoral process, but it is the first and original source, a handwritten form, from which all electoral results are processed.

We scraped the electoral results official site and built a dataset with the digitized data of every voting poll so we could built the complete dataset from scratch that would help us double check, use data analysis to detect the outliers from districts we should focus on and prioritize our citizen control efforts.  Seguir leyendo

Sin comentarios