Investigating mental wellbeing in the construction industry using social media sentiment analysis: a UK case study
John Ofori Datsa, William H. Collinge
Key points
From the paper's conclusion- The findings establish methodological proof-of-concept for real-time sentiment monitoring in occupational settings, with recommendations for contemporary replication to assess current construction industry emotional patterns.
Abstract
Mental health challenges represent a significant global concern, with depression affecting approximately 4% of the population. In the United Kingdom, approximately one in four individuals will experience a mental health problem, with the construction industry particularly vulnerable due to its demanding work environment. This investigation employs a historical dataset (May 2008 to March 2016) to establish the methodological feasibility of social media sentiment analysis for detecting occupational stress indicators in construction-related discourse. Rather than claiming contemporary generalizability, this work demonstrates proof-of-concept that automated sentiment analysis can reliably detect emotional patterns from social media data. By leveraging user-generated content from Twitter, 2,322 tweets were extracted and subjected to exploratory analysis, sentiment analysis, topic modelling analysis, and machine learning classification. Emotion labels were assigned using NRCLex lexicon-based methods and validated against human ratings (κ = 0.79). Machine learning classifiers were applied to categorise tweets into different emotions using n-grams as input features. Results indicated that uni-gram features offered superior performance across all classifiers compared to bi-gram and tri-gram feature sets. When trained with default hyperparameters, traditional machine learning methods such as logistic regression and support vector classifier achieved comparable performance to neural network methods in detecting anticipation emotion (AUC 0.93 vs 0.90), with similar patterns observed for other emotion categories. Topic modelling identified ten substantive themes in construction-related discourse, with employment security concerns embedded throughout technical discussions. The findings establish methodological proof-of-concept for real-time sentiment monitoring in occupational settings, with recommendations for contemporary replication to assess current construction industry emotional patterns.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Emotion and Cognition Based Mental Health Analysis from Social MediaJournal of Trends in Computer Science and Smart Technology · 2026
- Digital wellbeing in the social media era: dual pathway analysis of emotional and behavioural distress indicators and public health utilitymedRxiv · 2026
- Algorithmic anxiety: AI, work, and the evolving psychological contract in digital discourseFrontiers in Psychology · 2026
- Evaluating current trends in stress and depression detection using artificial intelligence and machine learningIntelligent Hospital · 2026
- Algorithmic Management and Gig-Worker Sentiment over Time: A Comparative Analysis of Literature and Computational Evidence.Behavioral sciences (Basel, Switzerland) · 2026
- Latent profile analysis of AI anxiety among medical imaging students: a cross-sectional study based on emotional flexibility and future employment anxiety.Frontiers in psychology · 2026