Back to Search Start Over

Using Natural Language Processing to Explore Mental Health Insights From UK Tweets During the COVID-19 Pandemic: Infodemiology Study

Authors :
Christopher Marshall
Kate Lanyi
Rhiannon Green
Georgina C Wilkins
Fiona Pearson
Dawn Craig
Source :
JMIR Infodemiology, Vol 2, Iss 1, p e32449 (2022)
Publication Year :
2022
Publisher :
JMIR Publications, 2022.

Abstract

BackgroundThere is need to consider the value of soft intelligence, leveraged using accessible natural language processing (NLP) tools, as a source of analyzed evidence to support public health research outputs and decision-making. ObjectiveThe aim of this study was to explore the value of soft intelligence analyzed using NLP. As a case study, we selected and used a commercially available NLP platform to identify, collect, and interrogate a large collection of UK tweets relating to mental health during the COVID-19 pandemic. MethodsA search strategy comprised of a list of terms related to mental health, COVID-19, and lockdown restrictions was developed to prospectively collate relevant tweets via Twitter’s advanced search application programming interface over a 24-week period. We deployed a readily and commercially available NLP platform to explore tweet frequency and sentiment across the United Kingdom and identify key topics of discussion. A series of keyword filters were used to clean the initial data retrieved and also set up to track specific mental health problems. All collated tweets were anonymized. ResultsWe identified and analyzed 286,902 tweets posted from UK user accounts from July 23, 2020 to January 6, 2021. The average sentiment score was 50%, suggesting overall neutral sentiment across all tweets over the study period. Major fluctuations in volume (between 12,622 and 51,340) and sentiment (between 25% and 49%) appeared to coincide with key changes to any local and/or national social distancing measures. Tweets around mental health were polarizing, discussed with both positive and negative sentiment. Key topics of consistent discussion over the study period included the impact of the pandemic on people’s mental health (both positively and negatively), fear and anxiety over lockdowns, and anger and mistrust toward the government. ConclusionsUsing an NLP platform, we were able to rapidly mine and analyze emerging health-related insights from UK tweets into how the pandemic may be impacting people’s mental health and well-being. This type of real-time analyzed evidence could act as a useful intelligence source that agencies, local leaders, and health care decision makers can potentially draw from, particularly during a health crisis.

Details

Language :
English
ISSN :
25641891
Volume :
2
Issue :
1
Database :
Directory of Open Access Journals
Journal :
JMIR Infodemiology
Publication Type :
Academic Journal
Accession number :
edsdoj.37a0731da0924e73828c1a2219dc30de
Document Type :
article
Full Text :
https://doi.org/10.2196/32449