Journal of Medical Internet Research (Mar 2022)

Tracking Public Attitudes Toward COVID-19 Vaccination on Tweets in Canada: Using Aspect-Based Sentiment Analysis

  • Hyeju Jang,
  • Emily Rempel,
  • Ian Roe,
  • Prince Adu,
  • Giuseppe Carenini,
  • Naveed Zafar Janjua

DOI
https://doi.org/10.2196/35016
Journal volume & issue
Vol. 24, no. 3
p. e35016

Abstract

Read online

BackgroundThe development and approval of COVID-19 vaccines have generated optimism for the end of the COVID-19 pandemic and a return to normalcy. However, vaccine hesitancy, often fueled by misinformation, poses a major barrier to achieving herd immunity. ObjectiveWe aim to investigate Twitter users’ attitudes toward COVID-19 vaccination in Canada after vaccine rollout. MethodsWe applied a weakly supervised aspect-based sentiment analysis (ABSA) technique, which involves the human-in-the-loop system, on COVID-19 vaccination–related tweets in Canada. Automatically generated aspect and opinion terms were manually corrected by public health experts to ensure the accuracy of the terms and make them more domain-specific. Then, based on these manually corrected terms, the system inferred sentiments toward the aspects. We observed sentiments toward key aspects related to COVID-19 vaccination, and investigated how sentiments toward “vaccination” changed over time. In addition, we analyzed the most retweeted or liked tweets by observing most frequent nouns and sentiments toward key aspects. ResultsAfter applying the ABSA system, we obtained 170 aspect terms (eg, “immunity” and “pfizer”) and 6775 opinion terms (eg, “trustworthy” for the positive sentiment and “jeopardize” for the negative sentiment). While manually verifying or editing these terms, our public health experts selected 20 key aspects related to COVID-19 vaccination for analysis. The sentiment analysis results for the 20 key aspects revealed negative sentiments related to “vaccine distribution,” “side effects,” “allergy,” “reactions,” and “anti-vaxxer,” and positive sentiments related to “vaccine campaign,” “vaccine candidates,” and “immune response.” These results indicate that the Twitter users express concerns about the safety of vaccines but still consider vaccines as the option to end the pandemic. In addition, compared to the sentiment of the remaining tweets, the most retweeted or liked tweets showed more positive sentiment overall toward key aspects (P<.001), especially vaccines (P<.001) and vaccination (P=.009). Further investigation of the most retweeted or liked tweets revealed two opposing trends in Twitter users who showed negative sentiments toward vaccines: the “anti-vaxxer” population that used negative sentiments as a means to discourage vaccination and the “Covid Zero” population that used negative sentiments to encourage vaccinations while critiquing the public health response. ConclusionsOur study examined public sentiments toward COVID-19 vaccination on tweets over an extended period in Canada. Our findings could inform public health agencies to design and implement interventions to promote vaccination.