Research Article Open Access, Volume 1 Issue 2

Studying Public Perception of Covid-19 Vaccination in Pediatric Age Group: A Sentiment Analysis of Tweets

Pranav Aiyer1; Aysushi Mendiratta2*; Alaa Sheta3; Munish Sharma4; Salim Surani5

1Quarry Lane High School, Dublin, CA, USA.

2Internal Medicine Resident, Parkview Health System, Pueblo, CO, USA.

3Division of Computer Science, Southern Connecticut University, New Haven CT, USA.

4Division of Pulmonary & Critical Care Medicine, Baylor, Scott & White, Temple, Texas, USA.

5Division of Pulmonary Critical Care, Texas A&M University, Corpus Christi, TX, USA.

*Corresponding author : Aysushi Mendiratta

Internal Medicine Resident, Parkview Health System, Pueblo, CO, USA.

Received : Sep 06, 2023       Accepted : Oct 09, 2023       Published : Oct 16, 2023

Epidemiology & Public Health - www.jpublichealth.org

Copyright: Mendiratta A. © All rights are reserved

Citation: Aiyer P, Mendiratta A, Sheta A, Sharma M, Surani S. Studying Public Perception of Covid-19 Vaccination in Pediatric Age Group: A Sentiment Analysis of Tweets. Epidemiol Public Health. 2023; 1(2): 1011.

Abstract

Purpose: The COVID-19 pandemic in 2019 led to the biggest public health crisis in modern times and triggered a global effort to rapidly develop and deploy covid vaccines. This, in turn, led to a sharply divided opinions in the public about the safety of the vaccines, particularly around vaccine mandates and especially more polarized in children. The goal of this study was to use Twitter sentiment analysis to gauge public attitudes as expressed on social media towards the kids’ vaccination for COVID-19.

Methods: To collect data for this sentiment analysis project, the Twitter Application Programming Interface (referred to as “API” from here on) was used to scrape relevant tweets containing the keywords “covid vaccine” and “kids” for the time frame December 2020-December 2022, and the number of tweets to ensure a manageable dataset. The data was then converted into a readable format for further analysis. After data cleaning and preprocessing, we performed sentiment analysis on the-leaned and pre-processed tweets using Text Blob. The results were then visualized using Tableau to clearly and concisely represent the sentiment analysis results and identify any trends or patterns.

Results: The sentiment analysis showed that overall, 48% of tweets scored a positive sentiment, while only 21% had a negative sentiment, with 31% neutral. Over 50% of the tweets were from the USA, with India having the next highest number of tweets based on location. Verified users accounted for only 17% of the tweets.

Conclusion: The positive sentiment towards the COVID-19 vaccine and kids suggests that there is a general acceptance and support for the vaccine among the public. Public perception tends to correlate with the perception of risk and fear, as well as with media efforts aimed at promoting vaccination adoption.

Keywords: Pediatric; Covid vaccine; Sentiment analysis.

Introduction

The COVID-19 pandemic represented one of the biggest public health crises of our time [1]. The sheer scope of morbidity and mortality associated with the disease as well as the social and economic impact of a shutdown, led to an unprecedented global development program for covid vaccines to help mitigate the rapid spread of covid virus and enable the easing of stringent global lockdowns [2]. The ensuing rapid development and distribution of vaccines generated substantial public debate and discourse about the safety and efficacy of vaccines and particularly over issues related to informed consent and vaccine mandates. These discussions became especially amplified in the context of the use of covid vaccine in children, with vaccine hesitancy becoming more prominent than it had been in adults. Since most children with covid19 infection either are asymptomatic or have a very mild illness, there was significant controversy about the role of covid vaccination in the pediatric age group [3,4]. A survey study from Singapore found about one-third of the parents were somewhat hesitant about COVID-19 vaccination for their children [5]. Another survey-based study done in Taiwan to assess parental hesitance showed that 64.1% of parents were hesitant to get their children vaccinated [6]. Sentiment analysis has emerged in recent times as a useful way of assessing the public’s attitudes towards many healthcare topics and has been particularly helpful in relation to vaccination, including children’s vaccination [7,8]. The objective of this report is to provide insight into public sentiment toward kids’ vaccination for COVID-19 based on data collected from Twitter. The report will provide a comprehensive overview of the methodology and results of the sentiment analysis, along with key findings and conclusions about the public sentiment toward kids’ vaccination for COVID-19.

Methods

Data collection and preparation

Twitter API was used to scrape relevant tweets containing the keywords “covid vaccine” and “kids.” The data collection process was limited to a certain time period and the number of tweets to ensure a manageable dataset. The data was collected in JSON format and converted into a readable format for further analysis.

Data cleaning and preprocessing steps

To ensure that the dataset was as clean and accurate as possible, the following data cleaning and pre-processing steps were performed:

1. Removing duplicates: Any duplicate tweets were removed.

2. Removing retweets: Retweets were also removed.

3. Removing URLs, Special Characters, and Stop Words: Any URLs, special characters, and stop words were removed.

4. Text Normalization: The remaining tweets were normalized by converting all text to lowercase, removing punctuation, and stemming or lemmatizing words to reduce them to their root form. These processes are internally done in TextBlob.

Sentiment analysis

Sentiment analysis was performed on the cleaned and preprocessed tweets using TextBlob, which is a Python library used for processing textual data and performing various NLP tasks, including sentiment analysis. The sentiment polarity generated by TextBlob ranges from -1 (strongly negative) to 1 (strongly positive), allowing for easy categorization of the tweets as positive, neutral, or negative. Tableau, which is a powerful data visualization tool that allows for the creation of interactive and engaging visualizations from large datasets, was used to visualize the results of the sentiment analysis performed on the tweets collected from Twitter about the topic of COVID-19 vaccination for kids

Results

47.81% of tweets expressed a positive sentiment, with 31.48% classified as neutral and only 20.71% expressing a negative sentiment. Analysis of the data using Tableau software produced several visualizations that provided further insights into the sentiment trends. The Sentiment Pie Chart revealed that public sentiment towards COVID-19 vaccination for kids was largely positive, with only a relatively small proportion of negative tweets. The chart helped us understand the overall sentiment distribution and provided valuable insights into the topic, as shown in Figure 1.

The Sentiment Trend Analysis, which analyzed the sentiment fluctuations per month over a period of two years, showed that the positive sentiment remained consistently good throughout the period. However, sentiment peaked from September 2021 to December 2021 (Figure 2).

The Top 10 Location Wise Tweet Count Horizontal Bar Chart provided a clear representation of the geographic distribution of the tweets. It helped us to understand which areas were discussing the topic of COVID-19 vaccination for kids the most (Figure 3). The Top Source Label Bubble Chart displayed the distribution of tweets based on the source used to post them, Figure 4 and the Hour Wise Tweets Line Chart revealed that most of the tweeting about COVID-19 vaccination for kids took place in the afternoon and evening, with relatively low activity in the early morning (Figure 5,6). The Engagement Trend-Line Chart showed the trend of multiple engagement matrices of tweets, such as retweets, replies, likes, and quotes, and highlighted the period of high engagement during October and November 2021 (Figure 7).

The Word Clouds, which displayed the most frequently occurring words in a set of text data, provided insights into the most commonly used hashtags related to the topic (Figures 8-10). Overall, the sentiment analysis and subsequent visualizations revealed a largely positive sentiment toward the COVID-19 vaccination for kids and identified areas and periods of higher engagement with the topic.

Figure 1: The chart helped us understand the overall sentiment distribution and provided valuable insights into the topic.

Figure 2: September 2021 to December 2021.

Figure 3: Areas discussing the topic of COVID-19 vaccination for kids the most.

Figure 4: The top source label bubble chart displayed the distribution of tweets

Figure 5: The top source label bubble chart displayed the distribution of tweets.

Figure 5 & 6: The top source label bubble chart displayed the distribution of tweets.

Figure 7: Highlighted the period of high engagement during October and November 2021.

Figure 8, 9, 10: The Word Clouds, which displayed the most frequently occurring words in a set of text data, provided insights into the most commonly used hashtags.

Discussion

Sentiment analysis of tweets can provide insights into public perceptions and attitudes towards the vaccination, and the study presented here has analyzed the sentiment towards the kids' vaccination for COVID-19 on Twitter. Our study found that only a small proportion (21%) of the tweets expressed a negative sentiment, while 47% were positive. This finding aligns with previous studies investigating the public sentiment toward COVID-19 vaccination [9-12]. Hussein et al. (2021) studied sentiment analysis on both Twitter and Facebook in 2 countries and found that the prevalence of positive sentiment in the USA and UK was 56% & 58%, respectively [9]. On the other hand, Yousefinaghani et al., in their study, found that 34% of the tweets were positive while 41% were neutral, and 25% were negative [10]. Similarly, in a study in India, Praeen et al. also found that 47% of the tweets were neutral, with 17% negative [11]. Kwok et al., in their study from Australia, classified tweets as either positive or negative and found that nearly two-thirds of the tweets were positive [12]. It is important to note that all these studies were primarily focused on the entire population, while our study was unique in that it was specifically focused only on the pediatric use of covid vaccine. In a cross-sectional study using an online survey, Yilmaz et al., only 36% of parents were willing to have their children immunized with covid vaccine [13]. Interestingly, in a hypothetical scenario of higher mortality rates with covid in kids due to a mutation, and the parental willingness increased to 83.9%. In a similarly designed study using an online survey Babicki et al. found that 44% of those surveyed wanted their kids vaccinated as early as possible, whereas 25% of parents did not want covid vaccination for their kids [14].

The study also analyzed the sentiment fluctuations per month over a period of two years and found that positive sentiment remained consistently good throughout the period. However, sentiment peaked from September 2021 to December 2021, which coincided with the time when vaccines for children aged 5 to 11 years were authorized for emergency use in the United States. This finding suggests that the authorization of vaccines for children may have positively influenced public sentiment toward the kids' vaccination for COVID-19. A study by Lyu et al., 2021 also found that sentiment on Twitter showed changing patterns concordant with progress in vaccine development, including major milestones as well as the emergence of novel strains [15]. Similar findings were reported in a study on the sentiment towards COVID-19 vaccines in Switzerland, where positive sentiment increased following the announcement of vaccine availability (Fadda et al., 2021) [16]. Tokiya et al. also found a rise in vaccine hesitancy during the time vaccine was first launched and changed as the vaccination rollout progressed or the epidemic evolved [17].

The geographic distribution of tweets and the source used to post them provided additional insights into public engagement with the topic. Other studies have highlighted similar regional variance, with an online survey in China finding 89% of parents were willing to vaccinate their kids against covid, while another survey in Italy found that nearly 84% of parents were categorized as “pro-vaccine” [19,20].

Limitations and future work

Future studies may consider analyzing sentiments expressed on other social media platforms or in different languages to comprehensively understand public perceptions and attitudes toward vaccination. Moreover, studies should explore the impact of misinformation and vaccine hesitancy on public sentiment toward vaccination, as they have been shown to play a significant role in vaccine acceptance [21]. Sentiment analysis done in real-time could be particularly impactful for effective decision-making. Since our survey was restricted only to English, it did not adequately represent parental vaccine attitudes from non-English speaking countries. Future research should also focus on subgroup analysis of parental sentiment analysis based on ethnicity and socioeconomic status. Vaccine hesitancy has been especially notable in African Americans and in those with lower socioeconomic status [21,22]. Specific outreach efforts via social media can be targeted towards these groups as they also tend to be the demographic most severely affected during the pandemic [23].

Conclusion

In conclusion, the study presented here found largely positive sentiment toward the kids' vaccination for COVID-19 on Twitter. The findings suggest that the authorization of vaccines for children may have positively influenced public sentiment toward vaccination. The study's results can inform public health communication strategies and interventions to promote vaccine uptake and support vaccination programs.

References

  1. Johns Hopkins Coronavirus Resource Center COVID-19 Dashboard Internet https://www.arcgis.com/apps/opsdashboard/index.html#/bda75947 40fd40299423467b48e9ecf6
  2. Krammer F. SARS-CoV-2 vaccines in development. Nature. 2020; 586: 516-527.
  3. Leeb RT, et al. MMWR. COVID-19 trends among school-aged children-United States, 1 Mar–Sep 2020.
  4. Opel DJ, Diekema DS, Ross LF. Should we mandate a COVID-19 vaccine for children? JAMA Pediatr. 2021; 175: 125-126.
  5. Low JM, et al. Predicting vaccine hesitancy among parents towards COVID-19 vaccination for their children in Singapore. Front Pediatr. 2022; 10: 994675.
  6. Jing-Shan Deng, Jau-Yuan Chen, Xiao-Qing Lin, Chun-Lian Huang, Tao-Hsin Tung, Jian-Sheng Zhu. Parental hesitancy against COVID-19 vaccination for children and associated factors in Taiwan.
  7. Robert Marcec, Robert Likic. Using Twitter for sentiment analysis towards AstraZeneca/Oxford, Pfizer/BioNTech and Moderna COVID-19 vaccines, Postgraduate Medical Journal. 2022; 98(1161): 544-550.
  8. Saleh SN, McDonald SA, Basit MA, Kumar S, Arasaratnam RJ, Perl TM, Lehmann CU, Medford RJ. Public perception of COVID-19 vaccines through analysis of Twitter content and users. Vaccine. 2023; 41(33): 4844-4853.
  9. Hussain A, Tahir A, Hussain Z, Sheikh Z, Gogate M, Dashtipour K, Ali A, Sheikh A. Artificial Intelligence-Enabled Analysis of Public Attitudes on Facebook and Twitter Toward COVID-19 Vaccines in the United Kingdom and the United States: Observational Study. J Med Internet Res. 2021; 23(4): e26627.
  10. Yousefinaghani S, Dara R, Mubareka S, Papadopoulos A, Sharif S. An analysis of COVID-19 vaccine sentiments and opinions on Twitter. Int J Infect Dis. 2021; 108: 256-262.
  11. Praveen SV, Ittamalla R, Deepak G. Analyzing the attitude of Indian citizens towards COVID-19 vaccine - A text analytics study. Diabetes Metab Syndr. 2021; 15: 595-599.
  12. Kwok SWH, Vadde SK, Wang G. Tweet Topics and Sentiments Relating to COVID-19 Vaccination Among Australian Twitter Users: Machine Learning Analysis. J Med Internet Res. 2021; 23: e26953.
  13. Yılmaz M, Sahin MK. Parents’ willingness and attitudes concerning the COVID-19 vaccine: A cross-sectional study. Int J Clin Pract. 2021; 75: e14364.
  14. Babicki M, Pokorna-Kałwak D, Doniec Z, Mastalerz-Migas A. Attitudes of Parents with Regard to Vaccination of Children against COVID-19 in Poland. A Nationwide Online Survey. Vaccines (Basel). 2021; 17; 9: 192.
  15. Lyu J, Han E, Luli G. COVID-19 Vaccine-Related Discussion on Twitter: Topic Modeling and Sentiment Analysis. Journal of Medical Internet Research. 2021; 23.
  16. Fadda, et al. 2021. Why Vaccinate Against COVID-19? A Population-Based Survey in Switzerland. https://www.ssph-journal.org/articles/10.3389/ijph.2022.1604226/full
  17. G. Troiano and A. Nardi. Vaccine hesitancy in the era of COVID-19 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7931735/
  18. Cornelia Betsch, Robert Böhm, and Gretchen B. Chapman. Using Behavioral Insights to Increase Vaccination Policy Effectiveness. https://journals.sagepub.com/doi/abs/10.1177/2372732215600716
  19. Li T, Qiu X, Gong X, Zhan R, Zheng X. The cross-sectional survey on COVID-19 vaccine hesitancy and its predictors among Chinese parents of 3-17 years aged children in Shenzhen City. Ann Agric Environ Med. 2022; 29: 120-125.
  20. Giambi C, Fabiani M, D’Ancona F, Ferrara L, Fiacchini D, Gallo T, Martinelli D, Pascucci MG, Prato R, Filia A, Bella A, Del Manso M, Rizzo C, Rota MC. Parental vaccine hesitancy in Italy - Results from a national survey. Vaccine. 2018; 36: 779-787.
  21. G. Troiano and A. Nardi. Vaccine hesitancy in the era of COVID-19. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7931735/
  22. Al-Qahtani AM, Mannasaheb BA, Shaikh MAK, Alajlan SA, Alayed MSZ, Shaikh IA, Asdaq SMB, Al-Qahtani FS, Ghazwani EY, Al-Qahtani NS, Abbag BF. Parental Willingness for COVID-19 Vaccination among Children Aged 5 to 11 Years in Riyadh City, Saudi Arabia: A Cross-Sectional Study. Vaccines (Basel). 2022; 10: 1979.
  23. Tai DBG, Shah A, Doubeni CA, Sia IG, Wieland ML. The disproportionate impact of COVID-19 on racial and ethnic minorities in the United States. Clin Infect Dis. 2020; 72: 703-706.