Hostname: page-component-89b8bd64d-nlwjb Total loading time: 0 Render date: 2026-05-09T02:24:41.959Z Has data issue: false hasContentIssue false

Using Twitter to track immigration sentiment during early stages of the COVID-19 pandemic

Published online by Cambridge University Press:  28 December 2021

Francisco Rowe*
Affiliation:
Geographic Data Science Lab, Department of Geography and Planning, School of Environmental Sciences, University of Liverpool, Liverpool, United Kingdom
Michael Mahony
Affiliation:
Geographic Data Science Lab, Department of Geography and Planning, School of Environmental Sciences, University of Liverpool, Liverpool, United Kingdom
Eduardo Graells-Garrido
Affiliation:
Data Science Institute, Universidad del Desarrollo, Santiago, Chile
Marzia Rango
Affiliation:
Global Migration Data Analysis Centre, International Organization for Migration, Berlin, Germany
Niklas Sievers
Affiliation:
Global Migration Data Analysis Centre, International Organization for Migration, Berlin, Germany
*
*Corresponding author. E-mail: F.Rowe-Gonzalez@liverpool.ac.uk

Abstract

Large-scale coordinated efforts have been dedicated to understanding the global health and economic implications of the COVID-19 pandemic. Yet, the rapid spread of discrimination and xenophobia against specific populations has largely been neglected. Understanding public attitudes toward migration is essential to counter discrimination against immigrants and promote social cohesion. Traditional data sources to monitor public opinion are often limited, notably due to slow collection and release activities. New forms of data, particularly from social media, can help overcome these limitations. While some bias exists, social media data are produced at an unprecedented temporal frequency, geographical granularity, are collected globally and accessible in real-time. Drawing on a data set of 30.39 million tweets and natural language processing, this article aims to measure shifts in public sentiment opinion about migration during early stages of the COVID-19 pandemic in Germany, Italy, Spain, the United Kingdom, and the United States. Results show an increase of migration-related Tweets along with COVID-19 cases during national lockdowns in all five countries. Yet, we found no evidence of a significant increase in anti-immigration sentiment, as rises in the volume of negative messages are offset by comparable increases in positive messages. Additionally, we presented evidence of growing social polarization concerning migration, showing high concentrations of strongly positive and strongly negative sentiments.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited
Copyright
© The Author(s), 2021. Published by Cambridge University Press
Figure 0

Table 1. Summary of tweets collected between December 1, 2019 and April 30, 2020

Figure 1

Figure 1. Migration-related tweet activity, COVID-19 cases and level of stringency measures, December 1, 2019 to April 30, 2020. (a) Number of daily immigration-related tweets and (b) immigration-COVID-related tweets. Details about the selection of tweets reported are provided in Section 3.1. (c) Number of cases (purple line) refers to the number of new COVID-19 cases per million. The stringency index (yellow line) measures the level of nonpharmaceutical interventions to COVID-19, such as social distancing and lockdown measures. Hundred indicates the strictest.

Figure 2

Figure 2. Density (a) and cumulative (b) distribution of sentiment scores.

Figure 3

Figure 3. Daily evolution of tweet sentiment: (a) Average overall sentiment score. Smoothed conditional means are reported and were estimated via locally weighted scatterplot smoothing (loess) using a span of 0.3. (b) Percentage of sentiment scores classified into strongly negative (<−0.5), negative (−0.5 to −0.05), neutral (−0.05 to 0.05), positive (0.05 to 0.5), and strongly positive (>0.5).

Figure 4

Figure 4. Per cent of tweets by topic. See text for a description of each topic.

Supplementary material: PDF

Rowe et al. supplementary material

Rowe et al. supplementary material 1

Download Rowe et al. supplementary material(PDF)
PDF 1.2 MB
Supplementary material: PDF

Rowe et al. supplementary material

Rowe et al. supplementary material 2

Download Rowe et al. supplementary material(PDF)
PDF 6.5 MB
Submit a response

Comments

No Comments have been published for this article.