Original Paper
Abstract
Background: The cannabis product and regulatory landscape is changing in the United States. Against the backdrop of these changes, there have been increasing reports on health-related motives for cannabis use and adverse events from its use. The use of social media data in monitoring cannabis-related health conversations may be useful to state- and federal-level regulatory agencies as they grapple with identifying cannabis safety signals in a comprehensive and scalable fashion.
Objective: This study attempted to determine the extent to which a medical dictionary—the Unified Medical Language System Consumer Health Vocabulary—could identify cannabis-related motivations for use and health consequences of cannabis use based on Twitter posts in 2020.
Methods: Twitter posts containing cannabis-related terms were obtained from January 1 to August 31, 2020. Each post from the sample (N=353,353) was classified into at least 1 of 17 a priori categories of common health-related topics by using a rule-based classifier. Each category was defined by the terms in the medical dictionary. A subsample of posts (n=1092) was then manually annotated to help validate the rule-based classifier and determine if each post pertained to health-related motivations for cannabis use, perceived adverse health effects from its use, or neither.
Results: The validation process indicated that the medical dictionary could identify health-related conversations in 31.2% (341/1092) of posts. Specifically, 20.4% (223/1092) of posts were accurately identified as posts related to a health-related motivation for cannabis use, while 10.8% (118/1092) of posts were accurately identified as posts related to a health-related consequence from cannabis use. The health-related conversations about cannabis use included those about issues with the respiratory system, stress to the immune system, and gastrointestinal issues, among others.
Conclusions: The mining of social media data may prove helpful in improving the surveillance of cannabis products and their adverse health effects. However, future research needs to develop and validate a dictionary and codebook that capture cannabis use–specific health conversations on Twitter.
doi:10.2196/35027
Keywords
Introduction
The cannabis product and regulatory landscape is changing in the United States. A total of 34 states have legalized medical cannabis, and 10 states have legalized cannabis for adult recreational use (ie, for people aged 21 years or older) [
]. Against the backdrop of these changes, there have been increasing reports on health-related motives for cannabis use [ , ] and adverse events from its use [ ]. Examples of motivations for cannabis use include treatment for clinical health conditions (eg, glaucoma, nausea, AIDS-associated anorexia, epilepsy, multiple sclerosis, and chronic pain) [ , ]—a use supported by the US Food and Drug Administration (FDA). Additionally, studies have shown that motivations for cannabis use have been based on the perceived benefits of its use, including its use as a sleep aid [ ] and an aid for coping with stress or anxiety [ ]. The low perception of harm from cannabis use when compared to that from other psychoactive drugs has also been documented as a motivation for its use [ ]. However, cannabis use has been associated with adverse events, such as impaired short-term memory, impaired motor coordination, paranoia, and psychosis [ ]; increased levels of depression and anxiety over time; symptoms of chronic bronchitis; addiction; and altered brain development [ , , ]. Although the literature on the motivations for and effects of cannabis use is developing, medical experts recommend establishing a centralized federal agency for reporting, researching, and regulating cannabis products as a timely public health surveillance strategy [ ]. The surveillance of the adverse health effects of cannabis is also a key priority of the US FDA [ ]. The FDA’s MedWatch program conducts the surveillance of serious adverse effects from cannabis use, but doubts have been raised over how effective this surveillance system is in identifying reports of cannabis safety signals [ ].The surveillance of health-related behaviors includes the use of digital data sources [
]. Publicly accessible data from individuals who post to social media platforms, such as Twitter, have been used to capture and describe the context of cannabis use [ , ]. However, health-related conversations surrounding its use have been understudied, and there has been a lack of cannabis-related studies that use social media data. The mining of social media data permits the collection and analysis of qualitative information, is noninvasive (ie, no demand effect), minimizes recall error, and allows for data to be captured in real time. Twitter has been a growing tool in health research, and it has been used for various purposes, including content analysis, surveillance, recruitment, intervention, and network analysis [ ]. Twitter in particular reflects the views, attitudes, and behaviors of millions of people and is used by 22% of US adults (24% of men, 21% of women, 21% of White Americans, 24% of African Americans, and 25% of Hispanic Americans), with 42% of individuals using the platform daily [ ].This study attempted to determine the extent to which a medical dictionary—the Unified Medical Language System Consumer Health Vocabulary (CHV) [
]—could accurately identify cannabis-related motivations for use and health consequences of cannabis use based on Twitter posts in 2020. The findings may be useful to state- and federal-level regulatory agencies as they grapple with identifying cannabis safety signals in a comprehensive and scalable way.Methods
Study Design
Twitter posts containing the cannabis-related terms blunt, bong, budder, cannabis, cbd, ganja, hash, hemp, indica, kush, marijuana, marihuana, reefer, sativa, thc, and weed were obtained from January 1 to August 31, 2020. These terms were informed by prior research that focused on comprehensively collecting cannabis-related posts on Twitter [
]. To treat each observation as independent, retweets were removed, leaving a total of 16,703,751 unique posts that contained these terms during this time. We used the following two dictionaries: (1) the Unified Medical Language System CHV [ ], which comprises 13,479 medical terms (symptoms and diseases) that are used by consumers and health care professionals to describe health conditions, and (2) a list of 177 colloquial terms that were generated collaboratively by 2 trained coders and were related to the CHV terms when pertinent (eg, the colloquial expression of inebriation is drunk). The CHV has been used in prior research for the surveillance of health discussions about e-cigarette use or vaping on Twitter [ ]. CHV terms are available at no cost to applicants who have a license, which is assigned upon the completion of a web-based application process. A sample of 609,227 cannabis-related posts referenced at least 1 of these terms.We then identified and removed posts from social bots (ie, automated Twitter accounts) to reliably describe the public’s health-related motivations for cannabis use or the perceived health effects of its use [
]. In order to distinguish nonbots from social bots, we relied upon Botometer (Observatory on Social Media) [ , ]. This program analyzes the features of a Twitter account and provides a score based on how likely the account is to be a social bot. The Botometer threshold was set to ≥4 on an English rating scale of 1 to 5. All Twitter accounts were screened after data were collected (ie, not in real time). During this process, 127,140 accounts responsible for the tweets in our data were deleted from Twitter. As a result, these accounts could not be processed through Botometer, and their posts were removed from our data. Of the 261,134 available accounts, 15,245 were marked as bots and removed. The final analytic sample contained 353,353 posts from 245,889 unique nonbot accounts.Each post from the final sample was classified into at least 1 of 17 a priori health-related categories [
] by using a rule-based classifier. Each category was defined by the terms in the two dictionaries. The 17 health-related categories included 14 categories from prior research [ ] and 3 additional categories that were unique to this study, accounting for the potential psychoactive effects of cannabis use (the “Cognitive” category), topical cannabis products (the “Dermatological” category), and the intersection of cannabis and food additives (the “Poisoning” category). A post could belong to multiple categories. The 17 categories, example keywords, and prevalence of keywords from each category can be found in .A stratified random sample of posts (n=1092) was extracted from the corpus (n=353,353) based on the original classifications of the posts by using the rule-based classifier. A coding procedure (
contains the complete codebook) was used to determine if each post pertained to a health-related motivation for cannabis use, a perceived adverse health effect of cannabis use, or neither. Two trained coders double coded each post independently, with κ values ranging from 0.790 to 0.856. Discrepancies were resolved by the two coders and the first author. This analysis served as a validation procedure for the rule-based classifier.Health categories | Example keywords | Frequency, n (%) |
Cancer | Cancer, tumor, and malignant | 13,834 (3.92) |
Cardiovascular | Stroke, heart attack, and blood pressure | 1810 (0.52) |
Cognitive | Unconscious and attention | 8807 (2.49) |
Death | Die, kill, and lost life | 31,590 (8.95) |
Dermatological | Itchy, acne, and blister | 1557 (0.44) |
Gastrointestinal | Belly, belch, vomit, and puke | 10,434 (2.95) |
Immune System | Flu, common cold, and allergy | 12,229 (3.46) |
Injury | Injury, rupture, wound, and bruise | 19,490 (5.52) |
Mental health | PTSD, ADHD, and jittery | 100,155 (28.34) |
Neurological | Coma, dizzy, and lightheaded | 56,347 (15.95) |
Other | Anemia, jaundice, and mumps | 44,111 (12.48) |
Pain | Painful, achy, and cramping | 38,335 (10.85) |
Poisoning | Toxic, poisonous, and noxious | 8345 (2.36) |
Pregnancy or in utero | Pregnant, preggers, and miscarriage | 4760 (1.35) |
Respiratory | Cough, wheeze, and black lung | 16,616 (4.70) |
Stress | Stressed and cortisol | 13,372 (3.78) |
Weight | Fat, obese, weight, and stoutness | 5888 (1.67) |
Ethical Considerations
All analyses relied on public, anonymized data; adhered to the terms and conditions, terms of use, and privacy policies of Twitter; and were performed under institutional review board approval from the authors’ university. To protect privacy, no tweets were reported verbatim in this report.
Results
The validation process indicated that the medical dictionary could identify health-related conversations in 31.2% (341/1092) of posts (
). Specifically, 20.4% (223/1092) of posts were identified as posts related to a health-related motivation for cannabis use, while 10.8% (118/1092) of posts were identified as posts related to a health-related consequence from cannabis use. The health-related conversations about cannabis use included those about issues with the respiratory system, stress to the immune system, and gastrointestinal issues, among others.Category | Motivations, n (%) | Consequence, n (%) | Neither, n (%) | Totalb, n | |||||
Medical term | |||||||||
Cancer | 15 (42.9) | 4 (11.4) | 16 (45.7) | 35 | |||||
Cardiovascular | 1 (20) | 1 (20) | 3 (60) | 5 | |||||
Cognitive | 5 (18.5) | 3 (11.2) | 19 (70.3) | 27 | |||||
Death | 4 (4) | 7 (8) | 79 (88) | 90 | |||||
Dermatological | 0 (0) | 0 (0) | 4 (100) | 4 | |||||
Gastrointestinal | 6 (21) | 1 (3) | 22 (76) | 29 | |||||
Immune system | 2 (6) | 2 (6) | 31 (88) | 35 | |||||
Injury | 1 (2) | 5 (9) | 49 (89) | 55 | |||||
Mental health | 89 (31.8) | 19 (6.7) | 172 (61.4) | 280 | |||||
Neurological | 18 (11.3) | 40 (25) | 102 (63.7) | 160 | |||||
Other | 33 (26.6) | 7 (5.6) | 84 (67.8) | 124 | |||||
Pain | 28 (25.7) | 3 (2.8) | 78 (71.5) | 109 | |||||
Poison | 2 (8.3) | 6 (25) | 16 (66.7) | 24 | |||||
Pregnant | 2 (14.3) | 2 (14.3) | 10 (71.4) | 14 | |||||
Respiratory | 0 (0) | 17 (36.2) | 30 (63.8) | 47 | |||||
Stress | 17 (44.7) | 1 (2.6) | 20 (52.7) | 38 | |||||
Weight | 0 (0) | 0 (0) | 16 (100) | 16 | |||||
Totalc | 223 (20.4) | 118 (10.8) | 751 (68.8) | 1092d |
aThe values in the Motivations, Consequence, and Neither columns show the number and percentage of posts related to health-related motivations for cannabis use, health-related consequences from cannabis use, or neither, respectively, for each medical term.
bThe Total column refers to the total number of tweets coded per medical term.
cThe values in the Total row show the number and percentage of posts related to health-related motivations for cannabis use, health-related consequences from cannabis use, or neither, respectively, for all medical terms.
dThe total number of tweets in the subgroup.
Discussion
Principal Findings
This study determined the extent to which a commonly used medical dictionary of health effects could accurately identify cannabis-related motivations for use and health consequences of cannabis use based on Twitter posts in 2020. This is the first study to date to use a high-quality medical dictionary of consumer-oriented health terms to capture the public’s expressions of health concepts and thereby identify health conversations about cannabis use. The findings suggest that a medical dictionary alone is limited in its ability to identify health-related conversations in a cannabis context. The posts discussed the respiratory system, stress to the immune system, and gastrointestinal problems. The posts also discussed mental health, pain, injuries, and poisonings, among other potential health effects.
Previous research has identified motivations for cannabis use, including using cannabis to treat chronic conditions (eg, glaucoma, nausea, AIDS-associated anorexia, epilepsy, multiple sclerosis, and chronic pain) [
, , ], using it as a sleep aid [ ], and using it to help improve mental health (eg, stress, anxiety, and depression) [ ]. Previous research has also identified adverse reactions associated with cannabis consumption based on search engine queries and found that such queries revealed many of the known adverse effects of cannabis use, such as coughing and psychotic symptoms, as well as plausible reactions that could be attributed to cannabis use, such as pyrexia [ ]. A prior content analysis of 5000 tweets about “dabbing” (the use of a high-potency cannabis-related product) from a 30-day period in 2015 showed that the most common physiologic effects from this form of cannabis use were the loss of consciousness and respiratory effects, such as coughing [ ]. Our study compliments prior research by using a professionally used term dictionary. It also indicates that the public made varied health-related references in their conversations about cannabis on Twitter. However, if the mining of social media data is to be proven helpful in the surveillance of cannabis products and their adverse health effects, the use of a standardized medical term dictionary alone will not suffice in the identification of cannabis safety signals. Future research will need to develop a codebook and term dictionary that incorporate a priori categories and data-driven inductive approaches that capture nuanced cannabis and health-related conversations on Twitter.Limitations
This study focused on posts to Twitter, and the findings may not extend to other social media platforms. Additionally, the posts in this study were collected from an 8-month period in 2020; thus, the findings may not extend to other time periods. The data collection process relied on Twitter’s Streaming application programming interface, which prevented the collection of posts from private accounts. As such, the findings may not generalize to all Twitter users or to the US population. The people responsible for each post in this study were not examined, and as a result, we could not describe the demographics of the Twitter users in this study. Further, Twitter posts can contain misspellings, and our lexicon-based exact matching approach likely missed these expressions. The CHV has also not been updated since 2011, which may in part explain its limited ability to identify health-related conversations in a cannabis context. Finally, this study could not determine modes of cannabis use or whether cannabis use was coupled with other substances or medications, which may impact perceived health effects.
Conclusions
Medical experts and regulatory agencies have called for the improved surveillance of cannabis products and the adverse health effects from cannabis use. Until the limitations with syndromic surveillance and hospital data systems for cannabis (eg, accessibility of data and timeliness) are resolved, the mining of social media data may clarify the public’s experiences with cannabis use. The development of a validated dictionary and codebook that capture cannabis-specific health conversations may be key to advancing future efforts in the surveillance of Twitter data. A robust, national-level surveillance system for cannabis-related health effects may benefit from using real-time social media surveillance data on health effects and should consider using data from other sources (eg, emergency room visits and survey data).
Acknowledgments
This project was supported by funds provided by The Regents of the University of California, Research Grants Program Office, Tobacco-Related Diseases Research Program (grant 28KT-0003). The opinions, findings, and conclusions herein are those of the authors and do not necessarily represent those of The Regents of the University of California or any of its programs.
Authors' Contributions
JPA has full access to all of the data in this study and takes responsibility for the integrity of the data and the accuracy of the data analysis. JPA and AM contributed to the concept and design of this study. JPA, AM, and SID were responsible for the acquisition, analysis, and interpretation of the data. JPA drafted the manuscript. JPA, AM, SID, and AD critically revised the manuscript and approved the final version of the manuscript. SID conducted the statistical analysis. JPA obtained funding for this study.
Conflicts of Interest
None declared.
Codebook for monitoring health-related discussions about cannabis use on Twitter.
DOCX File , 42 KBReferences
- Hartman M. Cannabis overview. National Conference of State Legislators. 2021 Jul 06. URL: https://www.ncsl.org/research/civil-and-criminal-justice/marijuana-overview.aspx [accessed 2020-10-28]
- Haug NA, Padula CB, Sottile JE, Vandrey R, Heinz AJ, Bonn-Miller MO. Cannabis use patterns and motives: A comparison of younger, middle-aged, and older medical cannabis dispensary patients. Addict Behav 2017 Sep;72:14-20 [FREE Full text] [CrossRef] [Medline]
- Glodosky NC, Cuttler C. Motives matter: Cannabis use motives moderate the associations between stress and negative affect. Addict Behav 2020 Mar;102:106188. [CrossRef] [Medline]
- Mudan A, DeRoos F, Perrone J. Medical marijuana miscalculation. N Engl J Med 2019 Sep 12;381(11):1086-1087. [CrossRef] [Medline]
- Hill KP. Medical use of cannabis in 2019. JAMA 2019 Sep 10;322(10):974-975. [CrossRef] [Medline]
- Volkow ND, Baler RD, Compton WM, Weiss SRB. Adverse health effects of marijuana use. N Engl J Med 2014 Jun 05;370(23):2219-2227 [FREE Full text] [CrossRef] [Medline]
- Morgan CJA, Noronha LA, Muetzelfeldt M, Feilding A, Curran HV. Harms and benefits associated with psychoactive drugs: findings of an international survey of active drug users. J Psychopharmacol 2013 Jun;27(6):497-506 [FREE Full text] [CrossRef] [Medline]
- FDA regulation of cannabis and cannabis-derived products, including cannabidiol (CBD). U.S. Food and Drug Administration. URL: https://tinyurl.com/sjnp5zjp [accessed 2021-11-16]
- Hines MC, Harinstein LM, Kortepeter CM. Reporting adverse events for cannabis to the FDA. N Engl J Med 2020 Jan 02;382(1):98. [CrossRef] [Medline]
- Althouse BM, Scarpino SV, Meyers LA, Ayers JW, Bargsten M, Baumbach J, et al. Enhancing disease surveillance with novel data streams: challenges and opportunities. EPJ Data Sci 2015;4(1):17 [FREE Full text] [CrossRef] [Medline]
- Allem JP, Escobedo P, Dharmapuri L. Cannabis surveillance with Twitter data: Emerging topics and social bots. Am J Public Health 2020 Mar;110(3):357-362. [CrossRef] [Medline]
- Lamy FR, Daniulaityte R, Sheth A, Nahhas RW, Martins SS, Boyer EW, et al. "Those edibles hit hard": Exploration of Twitter data on cannabis edibles in the U.S. Drug Alcohol Depend 2016 Jul 01;164:64-70 [FREE Full text] [CrossRef] [Medline]
- Sinnenberg L, Buttenheim AM, Padrez K, Mancheno C, Ungar L, Merchant RM. Twitter as a tool for health research: A systematic review. Am J Public Health 2017 Jan;107(1):e1-e8. [CrossRef] [Medline]
- Perrin A, Anderson M. Share of U.S. adults using social media, including Facebook, is mostly unchanged since 2018. Pew Research Center. 2019 Apr 10. URL: https://tinyurl.com/3un9k66e [accessed 2019-12-04]
- Zeng QT, Tse T. Exploring and developing consumer health vocabularies. J Am Med Inform Assoc 2006;13(1):24-29 [FREE Full text] [CrossRef] [Medline]
- Majmundar A, Allem JP, Cruz TB, Unger JB, Pentz MA. Monitoring health effects of vaping discussed on Twitter in 2018 and 2019. J Gen Intern Med. Epub ahead of print 2021 Apr 09. [CrossRef] [Medline]
- Allem JP, Ferrara E. The importance of debiasing social media data to better understand e-cigarette-related attitudes and behaviors. J Med Internet Res 2016 Aug 09;18(8):e219 [FREE Full text] [CrossRef] [Medline]
- Ferrara E, Varol O, Davis C, Menczer F, Flammini A. The rise of social bots. Commun ACM 2016 Jul;59(7):96-104 [FREE Full text] [CrossRef]
- Botometer by OSoMe. Observatory on Social Media. URL: https://botometer.osome.iu.edu/ [accessed 2022-02-16]
- Yom-Tov E, Lev-Ran S. Adverse reactions associated with cannabis consumption as evident from search engine queries. JMIR Public Health Surveill 2017 Oct 26;3(4):e77 [FREE Full text] [CrossRef] [Medline]
- Cavazos-Rehg PA, Sowles SJ, Krauss MJ, Agbonavbare V, Grucza R, Bierut L. A content analysis of tweets about high-potency marijuana. Drug Alcohol Depend 2016 Sep 01;166:100-108 [FREE Full text] [CrossRef] [Medline]
Abbreviations
CHV: Consumer Health Vocabulary |
FDA: Food and Drug Administration |
Edited by A Mavragani; submitted 17.11.21; peer-reviewed by R Sun, M Navarro; comments to author 29.12.21; revised version received 05.01.22; accepted 21.01.22; published 25.02.22
Copyright©Jon-Patrick Allem, Anuja Majmundar, Allison Dormanesh, Scott I Donaldson. Originally published in JMIR Formative Research (https://formative.jmir.org), 25.02.2022.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Formative Research, is properly cited. The complete bibliographic information, a link to the original publication on https://formative.jmir.org, as well as this copyright and license information must be included.