by Alessandra Maia Terra de Faria, Carlos Trucíos, and Marcelos Cantañeda de Araújo
Reviewed by Matheus Lucas Hebling
Find out what and how presidential candidates tweet and are tweeted.
Introduction
This research aims to follow the tweets related to the three main presidential candidates according to the opinion polls available for the 2022 elections in Brazil.
Results
Followers
Daily tweets spanning from September 1st to September 30th were collected for each one of the three main candidates in the Brazilian presidential election. Tweets were collected from both candidates’ timelines and Twitter users mentioning the candidates, totaling more than 34.5 million tweets, the largest volume of monthly data obtained since the beginning of the survey. Data were extracted through a Twitter API used exclusively for academic purposes and analyzed using R software.
The authors thank Twitter for the academic accounts granted to them.
Herein is the updated data (September versus August, data as of November 29th, 2022) of Twitter followers for each of the candidates.
-
Bolsonaro – from 9.2 up to 10.5 million (about a 14% of increase in followers in comparison to the previous month)
-
Lula – from 4.8 up to 6.3 million (about a 31% of increase in followers in comparison to the previous month)
-
Ciro – from 1.5 million up to 1.6 million (about a 6% of increase in followers in comparison to the previous month)
Candidates’ tweets
In Image 1, we report the number of tweets on the candidates’ timelines, among the three that were part of our survey: Lula, Ciro, and Bolsonaro, according to the frequency with which the candidates tweeted in September.
Image 1: Timelines
In continuity with the overall performances observed the previous month, Ciro Gomes was the most active on the social network, followed by candidates Lula da Silva and Jair Bolsonaro, respectively. In general, the three candidates increased their posting activity.
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.
The analysis of the most frequent words in candidates’ timeline tweets (Image 2) allows us to present a dominant panorama of subjects they deal with. In common, the three profiles present the terms “people” [“povo”] and “Brazil”, the novelty is the coming back of the word “people”, as a share. The word “today” [“hoje”] continues appearing in Lula and Ciro’s profiles, although now the intersection observed between Ciro and Bolsonaro comes with the word “years” [“anos”]. If we observe Bolsonaro’s profile itself, the terms “government” [“governo”], “country” [“país”], and “all” [“todos”] stands out, and the mention of values in Reais [“r”] and “2022” continue to appear, also with a mention to the number “9”, probably referring to the current month. In Lula’s profile alone, it can be found the emphasis on the verbs “to do” [“fazer”] and “to have” [“ter”] and the nouns “country” [“país”], “day” [“dia”], “today” [“hoje”], “government” [“governo”] and the connective “why” [“porque”]. Those words denote a trend of continuity on the propositional character found until August, with the novelty of the term “why”, which emphasizes the explanatory activity. In Ciro’s profile, the concern to name the other two candidates remains, as to himself, and as observed since April. It is possible to highlight in the consolidated for the month of September, the mentions of terms like “about” [“sobre”], “program” [“programa”], “alive” [“vivo”], and “years” [“anos”].
Image 3 TF-IDF by candidates’ timeline
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:
-
In Lula’s profile, the news in September comes with the verbs “recover” [“recuperar”], “rebuild” [“reconstruir”], “to eat” [“comer”], “to want” [“querer”] and “to live” [“viver”]. Others are the nouns “drawing” [“desenho”], “Maranhão” [Brazilian State], “inclusion” [“inclusão”], the adjective “good” [“bom”], and the letter “L”, most probably due to his campaign slogan “Make the L!” [“Faz o L!”] through the internet.
-
Bolsonaro’s profile presents changes. The terms that appear are “construction” [“construção”], “bonds” [“títulos”], “paving” [“pavimentação”], “sale” [“venda”], “Embrappi”*, “bridge” [“ponte”], “diesel fuel” [“diesel”], “adequacy” [“adequação”], “km”, “br”, “2019”, “2022” and “kg”.
-
In Ciro’s profile, mentions of the words “Ciro” and “giro” continued. The new terms are “miss” [“perca” ], “alive” [“vivo”], “corrupt” [“corrupto”], “look” [“veja”***], “adm”, “Paula”, “Ana”, “1,000” and “debates” (The mention of Ana Paula Matos refers to the vice in his campaign).
*EMBRAPPI – Brazilian Company of Research and Industrial Innovation. Corporate Organization Qualified by Decree (02/09/2013) and supervised by the Ministry of Science, Technology, and Innovation (MCTI). [“Empresa Brasileira de Pesquisa e Inovação Industrial. Organização Social Qualificada por Decreto (02/09/2013) e supervisionada pelo Ministério da Ciência, Tecnologia e Inovação (MCTI)”], see https:f a //embrapii.org.br/.
** “Veja” also names a popular magazine in Brazil, see https://veja.abril.com.br/.
Tweets about the candidate
The total number of tweets mentioning each candidate is displayed in Figure 4 and the daily evolution is in Figure 5.
Next, in Figure 4, we present, in descending order (from the most cited to the least cited), the total number of tweets that mentioned the name of each candidate surveyed in the month of August: Bolsonaro, Lula, and Ciro.
To collect the tweets mentioning the respective candidates, the words “Bolsonaro”, “Ciro” and “Lula” were used as search criteria. Tweets mentioning “Ciro Nogueira” were excluded from the analyzes referring to candidate Ciro.
Image 4: Number of tweets mentioning the candidates.
The volume of tweets about the candidates continues in the same order as in previous months: Bolsonaro, Lula, and, finally, Ciro.
The three candidates show a significant increase in the volume of user iterations mentioning each one of them. However, the increase is lower than that observed in the previous month.
-
The number of tweets mentioning Bolsonaro went from 13.455.826 to 16.784.820, representing an increase of 24.7% over the previous month (but lower than the 61% increase observed the month before).
-
The number of tweets mentioning Lula went from 10.189.718 para 13.899.696, representing an increase of 36% over the previous month (but lower than the 79% increase observed the month before).
-
Finally, the number of tweets mentioning Ciro went from 2.447.570 para 3.967.878, representing an increase of 62% over the previous month (but lower than the 237% increase observed the month before).
The daily evolution of tweets mentioning each candidate is shown in Image 5. The biggest highlight is the intense number of tweets, mainly, at the end of the month, between candidates Jair Bolsonaro and Lula da Silva, which converges with the increase of their dispute in the country’s electoral campaign political scenario.
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 September. For better visualization, each candidate’s name was taken from its cloud.
A word cloud is a graphical representation of the most frequent words within a text or set of texts.
Next, we present three-word clouds, where each one corresponds to a candidate. It is important to point out that each candidate’s name was taken from its cloud, for better visualization of the associated words. It should also be noted that each cloud reflects the 100 most relevant words associated, excluding stop words, to each candidate in the interactions of Twitter users on the thirtieth day of September.
In text analysis, stop words are quite common words such as “and”, “from”, “the”, etc. These words are not useful for analysis and are often removed before analysis.
Image 6: Word cloud for Bolsonaro
Image 7: Word cloud for Lula
Image 8: Word cloud for Ciro
When analyzing the clouds, we share the first impression of each one:
-
Bolsonaro: in the foreground, there can be observed “Lula” and “president” in prominence. In second place follows the words “Brasil”, “turn” [“turno”], “government” [“governo”], “against” [“contra”], “about” [“sobre”], “Ciro”, “TSE”***, “22”, “campaign” [“campanha”] and “now” [“agora”].
-
Lula: in the foreground appears “Bolsonaro”. Secondly, followed by the words “president”, “turn” [“turno”], “Ciro”, “vote” [“voto”], “to vote” [“votar”], “PT” [“Brazilian Worker’s Party”], “first” [“primeiro”] and “Brasil”.
-
Ciro: the trend of recent months remained in the foreground with “Lula” and “Bolsonaro”. In the background appears “turn” [“turno”], “to vote” [“votar”], “vote” [“voto”], “president” and “Tebet” (the last mentioning Simone Tebet, also a candidate running for 2022 elections in Brazil, for the MDB Party****).
*** In a broader sense. the electoral process in Brazil concerns the organizational phases of elections, also comprising a brief period thereafter. It is organized by the Electoral Court (EC), at the municipal, state, and federal levels. At the federal level, the EC has the Superior Electoral Court (TSE), headquartered in Brasília, as its highest body. In each state of the Federation and the Federal District, there is a Regional Electoral Court (TRE), and judges and electoral boards. See https://international.tse.jus.br/en/elections/election-process-in-brazil
****Now under the name MDB – “Brazilian Democratic Movement”, this Brazilian party was founded in 1965 as part of an “enforced” two-party system by the Brazilian military dictatorship, providing an “official controlled opposition”. With the redemocratization and political opening, in 1980 the former members of the MDB created the Brazilian Democratic Movement Party [“Partido do Movimento Democrático Brasileiro”, PMDB]. However, after Dilma’s impeachment approval with the party support in 2016, and the election of Bolsonaro in 2018, the party adopted back its old name, in the very same election year. See https://www.tse.jus.br/comunicacao/noticias/2018/Maio/aprovada-mudanca-do-nome-do-partido-do-movimento-democratico-brasileiro-pmdb
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. In Image 9, feelings (Negative, Neutral, and Positive) are presented in percentages per candidate. It is possible to highlight a balance between the feelings expressed in the tweets of the three candidates. Such data will be monitored over time comparatively. This is a picture, a sentimental snapshot of September on Twitter.
Candidate Ciro had the highest percentage of tweets with negative (31.30%) and neutral (41.33%) sentiments. On the other hand, Jair Bolsonaro had the highest percentage of tweets classified as positive (30.89%).
Image 9: Sentiments of tweets per candidate
Next, it will be possible to look at the word cloud of each candidate, separately, according to the feelings attributed to each tweet, in Images 10, 11, and 12. Words in pink appear in tweets rated as associated with positive feelings, words in blue appear in tweets rated as associated with negative feelings, and words in beige appear in tweets rated as neutral.
The word clouds consider the 200 most frequent words.
Image 10: Word cloud Sentiments for Bolsonaro
Image 11: Word cloud Sentiments for Lula
Image 12: Word cloud Sentiments for Ciro
-
Bolsonaro: Tweets related to candidate Bolsonaro that were classified as associated with positive feelings are characterized by words such as “money”, “alive”, “re-elected”, “Brasil”, “truth” and “better” [“dinheiro”, “vivo”, “reeleito”, “Brasil”, “verdade” e “melhor”]. On the other hand, tweets classified as associated with negative feelings are characterized by words such as “vote”, “corruption” ” to vote”, “guy”, “shame” and “convict” [ “voto”, “corrupção”, “votar”, “cara”, “vergonha” e “presidiário”]. Finally, tweets considered neutral highlight “president”, “22” and “Lula”.
-
Lula: Tweets related to candidate Lula that were classified as associated with positive feelings are characterized by words such as “votes”, “valid”, “victory”, “good”, “world” and “new” [“votos”, “válidos”, “vitória”, “bom”, “mundo” e “novo”]. Tweets classified as negative are characterized by words such as “vote”, “corruption”, “arrested”, “guy” and “convict” [“votar”, “corrupção”, “preso”, “cara” e “presidiário”]. Finally, tweets with neutral sentiment are mainly characterized by the terms “Bolsonaro” and “president”, followed by “turn”, “13” and “first” [“turno”, “13” e “primeiro”].
-
Ciro: Tweets related to candidate Ciro that were rated as associated with positive feelings are characterized by words such as “vote”, “useful”, “better”, “know”, “to vote”, “world” and truth” [“voto”, “útil”, “melhor”, “sabe”, “votar”, “mundo” e “verdade”]. Tweets classified as negative are characterized by words such as “to vote”, “go” and “guy” [“votar”, “vou” e “cara”]. Finally, tweets with neutral sentiment are characterized by words like “Bolsonaro” and “Lula”.
Final comments
The presentation of this dataset aims to contribute to interpretations about the movement on Twitter of presidential candidates in the 2022 elections in Brazil, as well as about what is said about them in the interactions of users of the platform throughout the month of September, in comparison to what was found August, July, June, May, and April. This is ongoing research work and will be refined over the months leading up to the 2022 election.
Alessandra Maia Terra de Faria, Social Sciences Department at PUC-RIO / PPGCS – UFRRJ. E-mail: alessandramtf@puc-rio.br
Carlos Trucíos, Department of Statistics, University of Campinas. E-mail: ctrucios@unicamp.br
Marcelo Castañeda de Araujo, Department of Business/UFRJ.
Alessandra Maia Terra de Faria, Carlos Trucíos and Marcelo Castañeda de Araujo (2022) "September: Brazilian presidential candidates on Twitter". Brazilian Research and Studies Blog. ISSN 2701-4924. ISSN 2701-4924nameVol. 3 Num. 1. available at: https://bras-center.com/september-brazilian-presidential-candidates-on-twitter/, accessed on: November 19, 2024.