IDEAS home Printed from https://ideas.repec.org/a/gam/jijerp/v19y2022i16p10328-d892552.html
   My bibliography  Save this article

Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case

Author

Listed:
  • Fernando Arias

    (Research Group on Advanced Technologies of Telecommunications and Signal Processing (GITTS), Faculty of Electrical Engineering, Technological University of Panama, Panama City 0819-07289, Panama
    Centro de Estudios Multidisciplinarios en Ciencias, Ingeniería y Tecnología AIP (CEMCIT-AIP), Technological University of Panama, Panama City 0819-07289, Panama
    Centro de Investigación e Innovación Eléctrica, Mecánica y de la Industria (CINEMI), Technological University of Panama, Panama City 0819-07289, Panama
    These authors contributed equally to this work.)

  • Ariel Guerra-Adames

    (Research Group on Advanced Technologies of Telecommunications and Signal Processing (GITTS), Faculty of Electrical Engineering, Technological University of Panama, Panama City 0819-07289, Panama
    Centro de Estudios Multidisciplinarios en Ciencias, Ingeniería y Tecnología AIP (CEMCIT-AIP), Technological University of Panama, Panama City 0819-07289, Panama
    These authors contributed equally to this work.)

  • Maytee Zambrano

    (Research Group on Advanced Technologies of Telecommunications and Signal Processing (GITTS), Faculty of Electrical Engineering, Technological University of Panama, Panama City 0819-07289, Panama
    Centro de Estudios Multidisciplinarios en Ciencias, Ingeniería y Tecnología AIP (CEMCIT-AIP), Technological University of Panama, Panama City 0819-07289, Panama)

  • Efraín Quintero-Guerra

    (Research Group on Advanced Technologies of Telecommunications and Signal Processing (GITTS), Faculty of Electrical Engineering, Technological University of Panama, Panama City 0819-07289, Panama)

  • Nathalia Tejedor-Flores

    (Centro de Estudios Multidisciplinarios en Ciencias, Ingeniería y Tecnología AIP (CEMCIT-AIP), Technological University of Panama, Panama City 0819-07289, Panama
    Centro de Investigaciones Hidráulicas e Hidrotécnicas (CIHH), Technological University of Panama, Panama City 0819-07289, Panama)

Abstract

Over the past decade, an increase in global connectivity and social media users has changed the way in which opinions and sentiments are shared. Platforms such as Twitter can act as public forums for expressing opinions on non-personal matters, but often also as an outlet for individuals to share their feelings and personal thoughts. This becomes especially evident during times of crisis, such as a massive civil disorder or a pandemic. This study proposes the estimation and analysis of sentiments expressed by Twitter users of the Republic of Panama during the years 2019 and 2020. The proposed workflow is comprised of the extraction, quantification, processing and analysis of Spanish-language Twitter data based on Sentiment Analysis. This case of study highlights the importance of developing natural language processing resources explicitly devised for supporting opinion mining applications in Latin American countries, where language regionalisms can drastically change the lexicon on each country. A comparative analysis performed between popular machine learning algorithms demonstrated that a version of a distributed gradient boosting algorithm could infer sentiment polarity contained in Spanish text in an accurate and time-effective manner. This algorithm is the tool used to analyze over 20 million tweets produced between the years of 2019 and 2020 by residents of the Republic of Panama, accurately displaying strong sentiment responses to events occurred in the country over the two years that the analysis performed spanned. The obtained results highlight the potential that methodologies such as the one proposed in this study could have for transparent government monitoring of responses to public policies on a population scale.

Suggested Citation

  • Fernando Arias & Ariel Guerra-Adames & Maytee Zambrano & Efraín Quintero-Guerra & Nathalia Tejedor-Flores, 2022. "Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case," IJERPH, MDPI, vol. 19(16), pages 1-19, August.
  • Handle: RePEc:gam:jijerp:v:19:y:2022:i:16:p:10328-:d:892552
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1660-4601/19/16/10328/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1660-4601/19/16/10328/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Md Shoaib Ahmed & Tanjim Taharat Aurpa & Md Musfique Anwar, 2021. "Detecting sentiment dynamics and clusters of Twitter users for trending topics in COVID-19 pandemic," PLOS ONE, Public Library of Science, vol. 16(8), pages 1-20, August.
    2. Carol Shofiya & Samina Abidi, 2021. "Sentiment Analysis on COVID-19-Related Social Distancing in Canada Using Twitter Data," IJERPH, MDPI, vol. 18(11), pages 1-10, June.
    3. Gabriela Fernandez & Carol Maione & Harrison Yang & Karenina Zaballa & Norbert Bonnici & Jarai Carter & Brian H. Spitzberg & Chanwoo Jin & Ming-Hsiang Tsou, 2022. "Social Network Analysis of COVID-19 Sentiments: 10 Metropolitan Cities in Italy," IJERPH, MDPI, vol. 19(13), pages 1-31, June.
    4. David A Broniatowski & Michael J Paul & Mark Dredze, 2013. "National and Local Influenza Surveillance through Twitter: An Analysis of the 2012-2013 Influenza Epidemic," PLOS ONE, Public Library of Science, vol. 8(12), pages 1-1, December.
    5. Dimitrios Kydros & Maria Argyropoulou & Vasiliki Vrana, 2021. "A Content and Sentiment Analysis of Greek Tweets during the Pandemic," Sustainability, MDPI, vol. 13(11), pages 1-21, May.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Solange Parra-Soto & Samuel Duran-Aguero & Francisco Vargas-Silva & Katherine Vázquez-Morales & Rafael Pizarro-Mena, 2023. "Social Outbreak in Chile, and Its Association with the Effects Biological, Psychological, Social, and Quality of Life," IJERPH, MDPI, vol. 20(23), pages 1-17, November.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Gianpaolo Zammarchi & Francesco Mola & Claudio Conversano, 2023. "Using sentiment analysis to evaluate the impact of the COVID-19 outbreak on Italy’s country reputation and stock market performance," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 32(3), pages 1001-1022, September.
    2. Ortal Slobodin & Ilia Plochotnikov & Idan-Chaim Cohen & Aviad Elyashar & Odeya Cohen & Rami Puzis, 2022. "Global and Local Trends Affecting the Experience of US and UK Healthcare Professionals during COVID-19: Twitter Text Analysis," IJERPH, MDPI, vol. 19(11), pages 1-17, June.
    3. Hyekyung Woo & Youngtae Cho & Eunyoung Shim & Kihwang Lee & Gilyoung Song, 2015. "Public Trauma after the Sewol Ferry Disaster: The Role of Social Media in Understanding the Public Mood," IJERPH, MDPI, vol. 12(9), pages 1-10, September.
    4. HeeChel Kim & Hong-Woo Chun & Seonho Kim & Byoung-Youl Coh & Oh-Jin Kwon & Yeong-Ho Moon, 2017. "Longitudinal Study-Based Dementia Prediction for Public Health," IJERPH, MDPI, vol. 14(9), pages 1-16, August.
    5. Paolo BRUNORI & Giuliano RESCE, 2020. "Searching for the peak Google Trends and the Covid-19 outbreak in Italy," Working Papers - Economics wp2020_05.rdf, Universita' degli Studi di Firenze, Dipartimento di Scienze per l'Economia e l'Impresa.
    6. Fantazzini, Dean, 2020. "Short-term forecasting of the COVID-19 pandemic using Google Trends data: Evidence from 158 countries," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 59, pages 33-54.
    7. Ira Puspitasari & Alia Firdauzy, 2019. "Characterizing Consumer Behavior in Leveraging Social Media for E-Patient and Health-Related Activities," IJERPH, MDPI, vol. 16(18), pages 1-17, September.
    8. Jingjing Gao & Gabriela A. Gallegos & Joe F. West, 2023. "Public Health Policy, Political Ideology, and Public Emotion Related to COVID-19 in the U.S," IJERPH, MDPI, vol. 20(21), pages 1-14, October.
    9. David A. Broniatowski, 2018. "Building the tower without climbing it: Progress in engineering systems," Systems Engineering, John Wiley & Sons, vol. 21(3), pages 259-281, May.
    10. Jacqueline-Nathalie Harba & Gabriela Tigu & Adriana AnaMaria Davidescu, 2021. "Exploring Consumer Emotions in Pre-Pandemic and Pandemic Times. A Sentiment Analysis of Perceptions in the Fine-Dining Restaurant Industry in Bucharest, Romania," IJERPH, MDPI, vol. 18(24), pages 1-24, December.
    11. Samuel V Scarpino & James G Scott & Rosalind M Eggo & Bruce Clements & Nedialko B Dimitrov & Lauren Ancel Meyers, 2020. "Socioeconomic bias in influenza surveillance," PLOS Computational Biology, Public Library of Science, vol. 16(7), pages 1-19, July.
    12. Hongying Dai & Brian R. Lee & Jianqiang Hao, 2017. "Predicting Asthma Prevalence by Linking Social Media Data and Traditional Surveys," The ANNALS of the American Academy of Political and Social Science, , vol. 669(1), pages 75-92, January.
    13. Zeynep Ertem & Dorrie Raymond & Lauren Ancel Meyers, 2018. "Optimal multi-source forecasting of seasonal influenza," PLOS Computational Biology, Public Library of Science, vol. 14(9), pages 1-16, September.
    14. Jose L Herrera & Ravi Srinivasan & John S Brownstein & Alison P Galvani & Lauren Ancel Meyers, 2016. "Disease Surveillance on Complex Social Networks," PLOS Computational Biology, Public Library of Science, vol. 12(7), pages 1-16, July.
    15. Ibrahim Musa & Hyun Woo Park & Lkhagvadorj Munkhdalai & Keun Ho Ryu, 2018. "Global Research on Syndromic Surveillance from 1993 to 2017: Bibliometric Analysis and Visualization," Sustainability, MDPI, vol. 10(10), pages 1-20, September.
    16. Muhammad Imran & Umair Qazi & Ferda Ofli, 2022. "TBCOV: Two Billion Multilingual COVID-19 Tweets with Sentiment, Entity, Geo, and Gender Labels," Data, MDPI, vol. 7(1), pages 1-27, January.
    17. David A. Broniatowski & Conrad Tucker, 2017. "Assessing causal claims about complex engineered systems with quantitative data: internal, external, and construct validity," Systems Engineering, John Wiley & Sons, vol. 20(6), pages 483-496, November.
    18. Svitlana Volkova & Ellyn Ayton & Katherine Porterfield & Courtney D Corley, 2017. "Forecasting influenza-like illness dynamics for military populations using neural networks and social media," PLOS ONE, Public Library of Science, vol. 12(12), pages 1-22, December.
    19. Valentina Lorenzoni & Gianni Andreozzi & Andrea Bazzani & Virginia Casigliani & Salvatore Pirri & Lara Tavoschi & Giuseppe Turchetti, 2022. "How Italy Tweeted about COVID-19: Detecting Reactions to the Pandemic from Social Media," IJERPH, MDPI, vol. 19(13), pages 1-14, June.
    20. Yufang Wang & Kuai Xu & Yun Kang & Haiyan Wang & Feng Wang & Adrian Avram, 2020. "Regional Influenza Prediction with Sampling Twitter Data and PDE Model," IJERPH, MDPI, vol. 17(3), pages 1-12, January.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jijerp:v:19:y:2022:i:16:p:10328-:d:892552. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.