by Alessandra Maia Terra de Faria, Carlos Trucíos, and Marcelo Castañeda de Araujo*

Reviewed by Matheus Lucas Hebling


This short analysis aims to contribute to interpretations of the movement on Twitter of possible candidates in the 2022 elections, as well as about what is said about them in the interactions of users of the platform in the month of April. This is ongoing research work and will be refined over the months leading up to the 2022 election.


Daily tweets spanning from April 1 to April 30 were collected for each one of the three main candidates in the Brazilian presidential election. Tweets were collected from both candidates’ timelines and Twitter
The authors thank Twitter for the academic accounts granted to them.
users mentioning the candidates, totaling more than 11 million tweets. Data were extracted through a Twitter API used exclusively for academic purposes and analyzed using R software. Tweets mentioning the respective candidates were collected independently using the words “Bolsonaro”, “Ciro” and “Lula” as search criteria.


General context
It is worth noting the disparity between the number of candidates’ Twitter followers during the analysis period (April 2022).

Bolsonaro – 7.8 million
Lula – 3.4 million
Ciro – 1.3 million

Candidates’ tweets

In Image1, we report the number of tweets on the candidates’ timeline, among the three that were part of our survey: Ciro, Lula, and Bolsonaro, according to the frequency with which the candidates tweeted in April.

Image 1

Images 2 and 3 present the most frequent words in the candidates’ timeline tweets and the most frequent words in the candidates’ timeline tweets weighted by the inverse document frequency (TF-IDF), respectively.

Image 2: Most frequently used words in the candidates’ timeline.

Image 3 TF-IDF by candidates’ timeline


The analysis of the most frequent words in the candidates’ timeline tweets in Image 2 reveals a dominant overview of the subjects they deal with. While Bolsonaro’s profile highlights the government’s achievements, especially spending/investments in Brazilian Reais (identified by the term “r” in the plot) expressed in terms of millions and billions; Lula’s profile highlights the people and brings a positive key, with the term “good” [“bom”]. Ciro’s profile, on the other hand, is concerned with mentioning the other two candidates by name.

In Image  3, the TF-IDF (term frequency-inverse document frequency) reflects the frequency of words in candidate timeline tweets that are infrequent for the three candidates overall. Thereby:

Lula’s profile stands out for its proposals, through the emphasis given to verbs such as “make, restore, highlight the use of reconstruction” [“fazer, recuperar, reconstruir”].

Bolsonaro’s profile features the word “Telegram” and the mention of “billions, actions and public investments” [“ações, bilhões e títulos”], as well as the emphasis on “reduction” [“redução”], highlighting his government actions between 2019 and 2021 (hence the terms 2019 and 2021 also in the plot).

In Ciro’s profile, emphasis is given to Ceará and Lula. (Ceará is a State in Northeast Brazil)

It is worth mentioning that the three profiles speak of the candidates themselves. That is, Lula and Ciro to their names directly, and Bolsonaro through references to “Jair” and “pr” (“president”).
Still as a final remark, the words “ONU (UN in Portuguese), Zanin and Cristiano” appear in the mentions of Lula’s profile, associated with the decision of the UN Human Rights Committee on his sentence in Lava Jato. It is also important to mention that the word “et” in Lula’s profile refers to tweets on the candidate’s timeline that are posted in French manifesting his support for Emmanuel Macron in the French presidential elections. Finally, the high frequency observed in the term “7:30 pm” [“19h30”] in the candidate Ciro Gomes’ timeline, refers to “Ciro Games: A live do Cirão” that takes place on Tuesdays on several streaming channels.

Tweets about the candidates

The total number of tweets mentioning each candidate is displayed in Image 4 and the daily evolution in Image 5.

Image 4: Number of tweets mentioning the candidates.

Image 5: Daily evolution of tweets mentioning the candidates.

Word clouds

Finally, we present below three-word clouds with, excluding stop words, the top 100 words used in the interactions of Twitter users in April. For better visualization, each candidate’s name was taken from its cloud.

Image 6: Wordcloud for Bolsonaro

Bolsonaro: in the foreground, the words “president”, “Brazil”, “Lula” and “government” [“presidente”, “Brasil”, “Lula” e “governo”]; in the background, “pardon” [“indulto”], “Daniel” and “Silveira”, which are associated with “Supreme Court” [STF], “people” [povo], and the word “against” [“contra”]; third it comes “motociata” [motorcycle parade], “corruption” [corrupção], “vote” [“voto”] and “PT” [Worker’s Party]. It can be noted that, among the candidates investigated, Bolsonaro’s cloud is more dispersed and has fewer nouns.

Image 7: Wordcloud for Lula

Lula: in the foreground, and in equal equivalence appear “president”, “Alckmin”, “Brazil” and “PT”; in the background “Moro”, “about” and “against”; in the third plane, “now”, “says”, “Ciro”, “people”, “UN”, “thief”
“A good thief is a dead thief” is a Brazilian saying repeated as propaganda hit in Bolsonaro’s Campaign of 2018.
[“ladrão”] and “vote”. “Alckmin” and “Moro” are the last names of the vice-president candidate of Lula and the former judge responsible for the Lava Jato and also an almost presidential candidate. It can be highlighted that the Lula cloud has a higher density in the observed frequency of words, whether verbs, nouns, or adjectives when compared to the others.

Image  8: Wordcloud for Ciro

Ciro: in the foreground, in isolation, the references to “Lula” and “Bolsonaro” stand out; in the background, “Nogueira”, “Brasil”, “turn” and “president”; in the third plan “agrishow”, “now”, “vote”, vote”, “PT”, “Doria”, “government”, “against” and “say”.

Sentiment analysis

The sentiment of each tweet was constructed by identifying the sentiments of the basic units (the words) using the Oplexicon v3.0 and Sentilex dictionaries, from the LexiconPT Package. Thus, each word found in the dictionaries receives 1, -1, or 0 scores, depending on whether the feeling is positive, negative, or neutral, respectively. Words not found in the dictionaries also receive a 0 score. The values ​​assigned to each word within the tweet were added up, and depending on the result positive, negative, or zero, the sentiment of the tweet is classified.

Image 9: Wordcloud S for Bolsonaro

Tweets related to candidate Bolsonaro that were classified as associated with positive feelings are characterized by words such as Brazil, liberty, reelected, supreme, democracy” [Brasil, Liberdade, reeleito, supremo, democracia] among others. Tweets classified as associated with negative feelings are characterized by words such as corruption, corrupt, blame, vote, thief, government, torture, shame, horrible, liar, [ corrupção, corrupto, culpa, votar, bandido, governo, tortura, vergonha, horrível, mentiroso]. Finally, tweets considered neutral are characterized by words such as president, pardon, squid, and motorcycle parade [presidente, perdão, Lula, motociata].

Image 10: Wordcloud S for Lula

Tweets related to candidate Lula that were classified as associated with positive feelings are characterized by words such as good, truth, world, you know, see, UN, free, innocent, democracy, human, companions, rights, better, new [bom, Verdade, Mundo, sabe, ver, ONU, livre, Inocente, Democracia, Humanos, companheiros, direitos, Melhor, novo].
On the other hand, tweets that were classified as associated with negative feelings are characterized by words such as voting, corruption, prisoners, condemned, bandit [ votar, corrupção, presidiário, condenado, prisão, bandido]. Finally, the latest neutral sentiment tweets are characterized by words like Bolsonaro, Alckmin, socialist, international, Christian, lawyers [Bolsonaro, Alckmin, socialista, internacional, cristão, advogados].

Image 11: Wordcloud S for Ciro

Tweets related to candidate Ciro that were classified as associated with positive feelings are characterized by words such as summons, approved, all, pf, see [convocação, aprovados, todos, pf, ver ], etc. Tweets classified as negative are characterized by words such as Bolsonaro, voting, think, corruption, cursed, ignored, big gang/gangster, agrishow, booed [Bolsonaro, votar, pensa, corrupção, xingado, ignorado, quadrilhão, agrishow, vaiado], etc. Finally, tweets with neutral sentiment are characterized by words such as Lula, contra, pl, 21, never, event [ Lula, contra, pl, 21, Nunca, evento].


Alessandra Maia Terra de Faria, PhD in Social Sciences, is a Professor of Political Science, Social Sciences Department at PUC-RIO / PPGCS – UFRRJ. E-mail:

Carlos Trucíos, PhD in Statistics, is a Professor of Quantitative Methods at Department of Business/UFRJ.

Marcelo Castañeda de Araujo, PhD in Social Sciences, is a  Professor of Organizational Studies at Department of Business/UFRJ.

Alessandra Maia Terra de Faria, Carlos Trucíos and Marcelo Castañeda de Araujo (2022) "Brazilian’s presidential candidates on Twitter – April Report". Brazilian Research and Studies Blog. ISSN 2701-4924. UncategorizednameVol. 3 Num. 1. available at:, accessed on: June 27, 2022.