Project description

In Cuba, the first stage of the general elections has ended. For the first time, the 605 deputies to the National Assembly of People’s Power have been elected, who will have the power to elect the Council of State. This work was published before the candidates were elected as deputies. However, these would undoubtedly be the deputies, since the current electoral law allows that almost total absence of uncertainty regarding the close vote, since article 92 of the electoral law, in its last paragraph, states: " Each Municipal Assembly nominates an equal number of candidates for Delegates to the Provincial Assembly and Deputies to the National Assembly of People’s Power, than those that correspond to elect the municipality."

The article "¿Se parecerá el parlamento a Cuba?" tried to make an analysis of that candidacy, in which the candidates are reflected, to define if the main legislative body of the country would resemble, or not, the country it represents. Although this is an ambitious comparison, since the totality of the inhabitants of a country, with everything that identifies them, can not be reduced to a small group of people. However, the article tried to make the comparison because in the parliament they are represented, and in their right measure, all the groups, all the sectors, all the ideas of the country, ideally, would allow laws and regulations to be dictated with the consensus and for the good of the nation.

In the work, a comparison was made between the demographic characteristics of the country and those of the future parliament. In addition, this comparative analysis was made between the school level reached by the individuals who can vote in the country and those who represent their fellow citizens in the parliament. Likewise, several economic and employment sectors of the country were compared.

The work yielded amazing results, because, although in practice the important thing will be how those who represent us legislate, there are many sectors that have very little representation in the new Cuban parliament and that could be a contradiction inside cuban societ

What makes this project innovative?

This work makes an analysis that has never been done before. Although people usually know the name of those who represent them in the National Assembly, they did not have, until this moment, more specific information of the candidates for deputies. The work allowed us to make a first approach to the Cuban election process in a context where elections take place in a different way than in the rest of the world.

The coverage of elections in Cuba, moreover, was seen with this article from a totally different point of view, because it allowed people to know data related to the society in which they live, and then to the candidates, and who could compare them, to note if they were actually represented in the legislative body.

The text, in addition to a thorough analysis of what this comparison represents for voters, presents a radar chart that is very illustrative, because it allows to see graphically the differences between the new Cuban parliament and the society to which it will represent during the next 5 years.

What was the impact of your project? How did you measure it?

This work was very well received, because at the time it was presented, although many Cuban media were dedicated to the coverage of the elections, our text showed a new point of analysis of the subject, which had never before been addressed, and that It yielded outstanding results, insofar as it made people see if, in fact, they were represented or not by the parliament they elected.

When we published the article, the number of visits related to the site increased and Google Analytics statistics showed that the public was interested in the topic, and that readers spent several minutes in this specific article, demonstrating what they read and analyzed.

Source and methodology

In order to carry out the work, the characterization of the candidacy for parliament published by means of was taken as reference. To compare it with it, the official data published by the 2016 Statistical Yearbook of Cuba, in its 2017 edition, were taken. In addition, for some data that were not reported in the aforementioned yearbook, the results of the Population and Housing Census of 2012 were taken as a basis.

In these documents, the data were identified with which a comparative criterion could be established according to the published characterization. Others had to be estimated from other data in the documents.

To obtain this data, some of these PDF documents had to be processed using pdftotext to obtain textual documents with the necessary information. These textual documents were processed with a program in python to generate CSV documents. These were used in Libre Office to make the necessary calculations and aggregations.

In the methodological section of the work, it was specified where each value was used and with what values it was worked so that the comparison that is offered could be reproduced by anyone and thus its veracity could also be observed.

For all aspects related to the electoral system, the current Cuban electoral law, Law 72 published in 1992, was taken as reference.

For the comparative radar, which was carried out with Echarts.js, the highest value of each criterion was taken as the highest of the percentages increased, in each case, by 10%. In addition, for the White, Black and Mestizo, Higher Level and Upper Middle Level criteria, in each case, the percentage of the population aged 18 or over was calculated as the percentage calculated for the percentage in the Population Total.

Technologies Used

The work was published in that uses github as its publishing platform. In this way the history of the code that was made for the publication of the work is available, which can be consulted and reused by others for different purposes. The code is made with HTML5, Javascript and CSS.

For the work, the data of the National Bureau of Statistics of Cuba was used, which presents its reports in PDF. To obtain the data of these reports, the pdftotext tool was used. Subsequently a program was created in python to process the textual documents obtained and generate CSV files with the primary data. The latter were opened with LibreOffice to automatically perform the necessary aggregations and calculations.

For the graphics the class library Echarts.js was used


Project owner administration

Contributor username


Click Follow to keep up with the evolution of this project:
you will receive a notification anytime the project leader updates the project page.