Investigating the Role of Nutrition in Enhancing Immunity During the COVID-19 Pandemic: Twitter Text-Mining Analysis
- PMID: 37428522
- PMCID: PMC10366666
- DOI: 10.2196/47328
Investigating the Role of Nutrition in Enhancing Immunity During the COVID-19 Pandemic: Twitter Text-Mining Analysis
Abstract
Background: The COVID-19 pandemic has brought to the spotlight the critical role played by a balanced and healthy diet in bolstering the human immune system. There is burgeoning interest in nutrition-related information on social media platforms like Twitter. There is a critical need to assess and understand public opinion, attitudes, and sentiments toward nutrition-related information shared on Twitter.
Objective: This study uses text mining to analyze nutrition-related messages on Twitter to identify and analyze how the general public perceives various food groups and diets for improving immunity to the SARS-CoV-2 virus.
Methods: We gathered 71,178 nutrition-related tweets that were posted between January 01, 2020, and September 30, 2020. The Correlated Explanation text mining algorithm was used to identify frequently discussed topics that users mentioned as contributing to immunity building against SARS-CoV-2. We assessed the relative importance of these topics and performed a sentiment analysis. We also qualitatively examined the tweets to gain a closer understanding of nutrition-related topics and food groups.
Results: Text-mining yielded 10 topics that users discussed frequently on Twitter, viz proteins, whole grains, fruits, vegetables, dairy-related, spices and herbs, fluids, supplements, avoidable foods, and specialty diets. Supplements were the most frequently discussed topic (23,913/71,178, 33.6%) with a higher proportion (20,935/23,913, 87.75%) exhibiting a positive sentiment with a score of 0.41. Consuming fluids (17,685/71,178, 24.85%) and fruits (14,807/71,178, 20.80%) were the second and third most frequent topics with favorable, positive sentiments. Spices and herbs (8719/71,178, 12.25%) and avoidable foods (8619/71,178, 12.11%) were also frequently discussed. Negative sentiments were observed for a higher proportion of avoidable foods (7627/8619, 84.31%) with a sentiment score of -0.39.
Conclusions: This study identified 10 important food groups and associated sentiments that users discussed as a means to improve immunity. Our findings can help dieticians and nutritionists to frame appropriate interventions and diet programs.
Keywords: COVID-19; Twitter; assessment; diet; dieticians; food; food groups; immune system; immunity; immunity building; nutrition; nutrition discourse; nutritionists; social media; text mining; tweets.
©Kavitha Shankar, Ranganathan Chandrasekaran, Pruthvinath Jeripity Venkata, Derek Miketinas. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 10.07.2023.
Conflict of interest statement
Conflicts of Interest: None declared.
Figures
Similar articles
-
Emotions and Topics Expressed on Twitter During the COVID-19 Pandemic in the United Kingdom: Comparative Geolocation and Text Mining Analysis.J Med Internet Res. 2022 Oct 5;24(10):e40323. doi: 10.2196/40323. J Med Internet Res. 2022. PMID: 36150046 Free PMC article.
-
Tracking Public Attitudes Toward COVID-19 Vaccination on Tweets in Canada: Using Aspect-Based Sentiment Analysis.J Med Internet Res. 2022 Mar 29;24(3):e35016. doi: 10.2196/35016. J Med Internet Res. 2022. PMID: 35275835 Free PMC article.
-
Examining Rural and Urban Sentiment Difference in COVID-19-Related Topics on Twitter: Word Embedding-Based Retrospective Study.J Med Internet Res. 2023 Feb 15;25:e42985. doi: 10.2196/42985. J Med Internet Res. 2023. PMID: 36790847 Free PMC article.
-
The use of sentiment and emotion analysis and data science to assess the language of nutrition-, food- and cooking-related content on social media: a systematic scoping review.Nutr Res Rev. 2024 Jun;37(1):43-78. doi: 10.1017/S0954422423000069. Epub 2023 Mar 30. Nutr Res Rev. 2024. PMID: 36991525
-
Using social media analysis to study population dietary behaviours: A scoping review.J Hum Nutr Diet. 2023 Jun;36(3):875-904. doi: 10.1111/jhn.13077. Epub 2022 Sep 7. J Hum Nutr Diet. 2023. PMID: 35996830
Cited by
-
Detecting and tracking depression through temporal topic modeling of tweets: insights from a 180-day study.Npj Ment Health Res. 2024 Dec 6;3(1):62. doi: 10.1038/s44184-024-00107-5. Npj Ment Health Res. 2024. PMID: 39643656 Free PMC article.
-
NutriRAG: Unleashing the Power of Large Language Models for Food Identification and Classification through Retrieval Methods.medRxiv [Preprint]. 2025 Mar 20:2025.03.19.25324268. doi: 10.1101/2025.03.19.25324268. medRxiv. 2025. PMID: 40166577 Free PMC article. Preprint.
-
Health-Related Messages About Herbs, Spices, and Other Botanicals Appearing in Print Issues and Websites of Legacy Media: Content Analysis and Evaluation.JMIR Form Res. 2024 Dec 4;8:e63281. doi: 10.2196/63281. JMIR Form Res. 2024. PMID: 39631062 Free PMC article.
References
-
- Downer S, Berkowitz SA, Harlan TS, Olstad DL, Mozaffarian D. Food is medicine: actions to integrate food and nutrition into healthcare. BMJ. 2020;369:m2482. doi: 10.1136/bmj.m2482. http://www.bmj.com/lookup/pmidlookup?view=long&pmid=32601089 - DOI - PMC - PubMed
-
- BourBour F, Dahka SM, Gholamalizadeh M, Akbari ME, Shadnoush M, Haghighi M, Taghvaye-Masoumi H, Ashoori N, Doaei S. Nutrients in prevention, treatment, and management of viral infections; special focus on Coronavirus. Arch Physiol Biochem. 2023;129(1):16–25. doi: 10.1080/13813455.2020.1791188. https://www.tandfonline.com/doi/abs/10.1080/13813455.2020.1791188?journa... - DOI - DOI - PubMed
-
- Calcuttawala F. Nutrition as a key to boost immunity against COVID-19. Clin Nutr ESPEN. 2022;49:17–23. doi: 10.1016/j.clnesp.2022.04.007. https://europepmc.org/abstract/MED/35623808 S2405-4577(22)00232-7 - DOI - PMC - PubMed
-
- Calder PC. Nutrition, immunity and COVID-19. BMJ Nutr Prev Health. 2020;3(1):74–92. doi: 10.1136/bmjnph-2020-000085. https://europepmc.org/abstract/MED/33230497 bmjnph-2020-000085 - DOI - PMC - PubMed
MeSH terms
LinkOut - more resources
Full Text Sources
Medical
Miscellaneous