Public Perception of SARS-CoV-2 Vaccinations on Social Media: Questionnaire and Sentiment Analysis

Int J Environ Res Public Health. 2021 Dec 10;18(24):13028. doi: 10.3390/ijerph182413028.

Abstract

Vaccine hesitancy is an ongoing concern, presenting a major threat to global health. SARS-CoV-2 COVID-19 vaccinations are no exception as misinformation began to circulate on social media early in their development. Twitter's Application Programming Interface (API) for Python was used to collect 137,781 tweets between 1 July 2021 and 21 July 2021 using 43 search terms relating to COVID-19 vaccines. Tweets were analysed for sentiment using Microsoft Azure (a machine learning approach) and the VADER sentiment analysis model (a lexicon-based approach), where the Natural Language Processing Toolkit (NLTK) assessed whether tweets represented positive, negative or neutral opinions. The majority of tweets were found to be negative in sentiment (53,899), followed by positive (53,071) and neutral (30,811). The negative tweets displayed a higher intensity of sentiment than positive tweets. A questionnaire was distributed and analysis found that individuals with full vaccination histories were less concerned about receiving and were more likely to accept the vaccine. Overall, we determined that this sentiment-based approach is useful to establish levels of vaccine hesitancy in the general public and, alongside the questionnaire, suggests strategies to combat specific concerns and misinformation.

Keywords: COVID-19; NLTK; Python; SARS-CoV-2; Twitter; VADER; anti-vax; sentiment analysis; vaccinations; vaccine hesitancy.

MeSH terms

  • COVID-19 Vaccines
  • COVID-19*
  • Humans
  • Public Opinion
  • SARS-CoV-2
  • Sentiment Analysis
  • Social Media*
  • Surveys and Questionnaires
  • Vaccination
  • Vaccination Hesitancy

Substances

  • COVID-19 Vaccines