Text Mining Attitudes toward Climate Change: Emotion and Sentiment Analysis of the Twitter Corpus

Zhewei Mi aSchool of International Studies, Hangzhou Normal University, Hangzhou, China

Search for other papers by Zhewei Mi in
Current site
Google Scholar
PubMed
Close
and
Hongwei Zhan aSchool of International Studies, Hangzhou Normal University, Hangzhou, China

Search for other papers by Hongwei Zhan in
Current site
Google Scholar
PubMed
Close
Restricted access

Abstract

Media such as Twitter have become platforms for contemporary Americans to express their opinions and allow for reaction to public opinion. Climate change is a topic of ongoing social concern. Machine-automated processing facilitates “big data” analysis and is suitable for analyzing a large corpus of tweets. This paper uses R tools to conduct sentiment calculation and emotion analysis on the tweet corpus from 2015 to 2018 to present the overall tendency of citizens’ attitudes toward climate change topics. The keyword analysis finds that people focus on the message’s source. “Climate change” has often been conflated with “global warming” in the popular consciousness. Supporters of the scientific consensus that human activities drastically affect Earth’s climate system express fear and surprise about extreme weather and opponents’ behavior, whereas opponents of that consensus express multiple emotional responses that include anger, disgust, and sadness toward politicians who, in their view, fabricate stories about climate change about which they have no real feelings. This study also reveals that the automatic annotation tools are still inadequate, with limited emotion lexicon and identification of negation and sarcasm.

Significance Statement

This research aims to perceive people’s emotional expressions on climate change as expressed on Twitter. The distributions of emotions across different opinion groups on climate change can be analyzed by manually annotating the opinion stances. Our first step is to research keywords to identify the main discussion topics. Then, automatic sentiment analysis with R software reveals the prevalent negative positions, and emotion analysis yields the primary emotions and the connection with different opinion groups, which logistic regression models test. These results better reflect the concerns of the population and provide support for climate policy. Future research could subdivide topics and develop field-specialized sentiment and emotion lexicons.

© 2023 American Meteorological Society. For information regarding reuse of this content and general copyright information, consult the AMS Copyright Policy (www.ametsoc.org/PUBSReuseLicenses).

Corresponding author: Hongwei Zhan, hwzhan78@163.com

Abstract

Media such as Twitter have become platforms for contemporary Americans to express their opinions and allow for reaction to public opinion. Climate change is a topic of ongoing social concern. Machine-automated processing facilitates “big data” analysis and is suitable for analyzing a large corpus of tweets. This paper uses R tools to conduct sentiment calculation and emotion analysis on the tweet corpus from 2015 to 2018 to present the overall tendency of citizens’ attitudes toward climate change topics. The keyword analysis finds that people focus on the message’s source. “Climate change” has often been conflated with “global warming” in the popular consciousness. Supporters of the scientific consensus that human activities drastically affect Earth’s climate system express fear and surprise about extreme weather and opponents’ behavior, whereas opponents of that consensus express multiple emotional responses that include anger, disgust, and sadness toward politicians who, in their view, fabricate stories about climate change about which they have no real feelings. This study also reveals that the automatic annotation tools are still inadequate, with limited emotion lexicon and identification of negation and sarcasm.

Significance Statement

This research aims to perceive people’s emotional expressions on climate change as expressed on Twitter. The distributions of emotions across different opinion groups on climate change can be analyzed by manually annotating the opinion stances. Our first step is to research keywords to identify the main discussion topics. Then, automatic sentiment analysis with R software reveals the prevalent negative positions, and emotion analysis yields the primary emotions and the connection with different opinion groups, which logistic regression models test. These results better reflect the concerns of the population and provide support for climate policy. Future research could subdivide topics and develop field-specialized sentiment and emotion lexicons.

© 2023 American Meteorological Society. For information regarding reuse of this content and general copyright information, consult the AMS Copyright Policy (www.ametsoc.org/PUBSReuseLicenses).

Corresponding author: Hongwei Zhan, hwzhan78@163.com
Save
  • Carlson, T., and K. Strandberg, 2005: The 2004 European parliament election on the web: Finnish actor strategies and voter responses. Inf. Polity, 10, 189204, https://doi.org/10.3233/IP-2005-0075.

    • Search Google Scholar
    • Export Citation
  • Cody, E. M., A. J. Reagan, L. Mitchell, P. S. Dodds, and C. M. Danforth, 2015: Climate change sentiment on Twitter: An unsolicited public opinion poll. PLOS ONE, 10, e0136092, https://doi.org/10.1371/journal.pone.0136092.

    • Search Google Scholar
    • Export Citation
  • Dahal, B., S. A. P. Kumar, and Z. Li, 2019: Topic modeling and sentiment analysis of global climate change tweets. Soc. Network Anal. Min., 9, 24, https://doi.org/10.1007/s13278-019-0568-8.

    • Search Google Scholar
    • Export Citation
  • Durand, W. M., J. L. Peters, A. E. M. Eltorai, S. Kalagara, A. J. Osband, and A. H. Daniels, 2018: Medical crowdfunding for organ transplantation. Clin. Transplant., 32, e13267, https://doi.org/10.1111/ctr.13267.

    • Search Google Scholar
    • Export Citation
  • Feinerer, I., K. Hornik, and D. Meyer, 2008: Text mining infrastructure in R. J. Stat. Software, 25 (5), 154, https://doi.org/10.18637/jss.v025.i05.

    • Search Google Scholar
    • Export Citation
  • Fownes, J. R., C. Yu, and D. B. Margolin, 2018: Twitter and climate change. Sociol. Compass, 12, e12587, https://doi.org/10.1111/soc4.12587.

    • Search Google Scholar
    • Export Citation
  • Huang, Q., and Y. Xiao, 2015: Geographic situational awareness: Mining tweets for disaster preparedness, emergency response, impact, and recovery. ISPRS Int. J. Geo-Inf., 4, 15491568, https://doi.org/10.3390/ijgi4031549.

    • Search Google Scholar
    • Export Citation
  • Jang, S. M., and P. S. Hart, 2015: Polarized frames on “climate change” and “global warming” across countries and states: Evidence from Twitter big data. Global Environ. Change, 32, 1117, https://doi.org/10.1016/j.gloenvcha.2015.02.010.

    • Search Google Scholar
    • Export Citation
  • Jungherr, A., 2015: Analyzing Political Communication with Digital Trace Data. Springer, 220 pp.

  • Kirilenko, A. P., and S. O. Stepchenkova, 2014: Public microblogging on climate change: One year of Twitter worldwide. Global Environ. Change, 26, 171182, https://doi.org/10.1016/j.gloenvcha.2014.02.008.

    • Search Google Scholar
    • Export Citation
  • Kollanyi, B., P. N. Howard, and S. C. Woolley, 2016: Bots and automation over Twitter during the first U.S. presidential debate. Oxford Internet Institute, University of Oxford, https://demtech.oii.ox.ac.uk/research/posts/bots-and-automation-over-twitter-during-the-first-u-s-presidential-debate/.

  • Koto, F., and M. Adriani, 2015: A comparative study on Twitter sentiment analysis: Which features are good? Natural Language Processing and Information Systems, C. Biemann et al., Eds., Lecture Notes in Computer Science, Vol. 9103, Springer, 453–457.

  • Leetaru, K., S. Wang, G. Cao, A. Padmanabhan, and E. Shook, 2013: Mapping the global Twitter heartbeat: The geography of Twitter. First Monday, 18, 56, https://doi.org/10.5210/fm.v18i5.4366.

    • Search Google Scholar
    • Export Citation
  • Lei, L., and D. Liu, 2021: Conducting Sentiment Analysis. Cambridge University Press, 75 pp.

  • Lin, Y.-R., D. Margolin, B. Keegan, and D. Lazer, 2013: Voices of victory: A computational focus group framework for tracking opinion shift in real time. Proc. 22nd Int. Conf. on World Wide Web, Rio de Janeiro, Brazil, Association for Computing Machinery, 737–748, https://doi.org/10.1145/2488388.2488453.

  • Loureiro, M. L., and M. Alló, 2020: Sensing climate change and energy issues: Sentiment and emotion analysis with social media in the U.K. and Spain. Energy Policy, 143, 111490, https://doi.org/10.1016/j.enpol.2020.111490.

    • Search Google Scholar
    • Export Citation
  • Mandel, B., A. Culotta, J. Boulahanis, D. Stark, B. Lewis, and J. Rodrigue, 2012: A demographic analysis of online sentiment during Hurricane Irene. Proc. Second Workshop on Language in Social Media, Montreal, QC, Canada, Association for Computational Linguistics, 27–36, https://aclanthology.org/W12-2104.pdf.

  • Medhat, W., A. Hassan, and H. Korashy, 2014: Sentiment analysis algorithms and applications: A survey. Ain Shams Eng. J., 5, 10931113, https://doi.org/10.1016/j.asej.2014.04.011.

    • Search Google Scholar
    • Export Citation
  • Naldi, M., 2019: A review of sentiment computation methods with R packages. arXiv, 1901.08319v1, https://doi.org/10.48550/arXiv.1901.08319.

  • Pearce, W., K. Holmberg, I. Hellsten, and B. Nerlich, 2014: Climate change on Twitter: Topics, communities and conversations about the 2013 IPCC working group 1 report. PLOS ONE, 9, e94785, https://doi.org/10.1371/journal.pone.0094785.

    • Search Google Scholar
    • Export Citation
  • Pearce, W., S. Niederer, S. M. Özkula, and N. Sánchez Querubín, 2019: The social media life of climate change: Platforms, publics, and future imaginaries. Wiley Interdiscip. Rev.: Climate Change, 10, e569, https://doi.org/10.1002/wcc.569.

    • Search Google Scholar
    • Export Citation
  • Plutchik, R., 1962: The Emotions: Facts, Theories and a New Model. Random House, 204 pp.

  • Plutchik, R., 2001: The nature of emotions: Human emotions have deep evolutionary roots, a fact that may explain their complexity and provide tools for clinical practice. Amer. Sci., 89, 344350.

    • Search Google Scholar
    • Export Citation
  • Rinker, T., 2017: Package ‘sentimentr’. Github, https://github.com/trinker/sentimentr.

  • Ruths, D., and J. Pfeffer, 2014: Social media for large studies of behavior. Science, 346, 10631064, https://doi.org/10.1126/science.346.6213.1063.

    • Search Google Scholar
    • Export Citation
  • Segerberg, A., and W. L. Bennett, 2011: Social media and the organization of collective action: Using Twitter to explore the ecologies of two climate change protests. Commun. Rev., 14, 197215, https://doi.org/10.1080/10714421.2011.597250.

    • Search Google Scholar
    • Export Citation
  • Singh, P., Y. K. Dwivedi, K. S. Kahlon, A. Pathania, and R. S. Sawhney, 2020: Can twitter analytics predict election outcome? An insight from 2017 Punjab assembly elections. Gov. Inf. Quart., 37, 101444, https://doi.org/10.1016/j.giq.2019.101444.

    • Search Google Scholar
    • Export Citation
  • Taboada, M., J. Brooke, M. Tofiloski, K. Voll, and M. Stede, 2011: Lexicon-based methods for sentiment analysis. Comput. Linguist., 37, 267307, https://doi.org/10.1162/COLI_a_00049.

    • Search Google Scholar
    • Export Citation
  • van der Linden, S., 2017: Determinants and Measurement of Climate Change Risk Perception, Worry, and Concern. Social Science Research Network, 53 pp.

  • Veltri, G. A., and D. Atanasova, 2017: Climate change on Twitter: Content, media ecology and information sharing behaviour. Public Understanding Sci., 26, 721737, https://doi.org/10.1177/0963662515613702.

    • Search Google Scholar
    • Export Citation
  • Wickham, H., J. Hester, and J. Bryan, 2022: Readr: Read rectangular text data. Accessed 20 September 2022, https://readr.tidyverse.org/.

All Time Past Year Past 30 Days
Abstract Views 831 831 36
Full Text Views 217 217 3
PDF Downloads 232 232 5