An Analysis of the Prevalence and Trends in Drug-Related Lyrics on Twitter (X): Quantitative Approach
Open Access
- 30 December 2024
- journal article
- Published by JMIR Publications Inc. in JMIR Formative Research
- Vol. 8 (1) , e49567
Abstract
Background: The pervasiveness of drug culture has become evident in popular music and social media. Previous research has examined drug abuse content in both social media and popular music; however, to our knowledge, the intersection of drug abuse content in these 2 domains has not been explored. To address the ongoing drug epidemic, we analyzed drug-related content on Twitter (subsequently rebranded X), with a specific focus on lyrics. Our study provides a novel finding on the prevalence of drug abuse by defining a new subcategory of X content: “tweets that reference established drug lyrics.” Objective: We aim to investigate drug trends in popular music on X, identify and classify popular drugs, and analyze related artists’ gender, genre, and popularity. Based on the collected data, our goal is to create a prediction model for future drug trends and gain a deeper understanding of the characteristics of users who cite drug lyrics on X. Methods: X data were collected from 2015 to 2017 through the X streaming application programming interface (API). Drug lyrics were obtained from the Genius lyrics database using the Genius API based on drug keywords. The Smith-Waterman text-matching algorithm is used to detect the drug lyrics in posts. We identified famous drugs in lyrics that were posted. Consequently, the analysis was extended to related artists, songs, genres, and popularity on X. The frequency of drug-related lyrics on X was aggregated into a time-series, which was then used to create prediction models using linear regression, Facebook Prophet, and NIXTLA TimeGPT-1. In addition, we analyzed the number of followers of users posting drug-related lyrics to explore user characteristics. Results: We analyzed over 1.97 billion publicly available posts from 2015 to 2017, identifying more than 157 million that matched drug-related keywords. Of these, 150,746 posts referenced drug-related lyrics. Cannabinoids, opioids, stimulants, and hallucinogens were the most cited drugs in lyrics on X. Rap and hip-hop dominated, with 91.98% of drug-related lyrics from these genres and 84.21% performed by male artists. Predictions from all 3 models, linear regression, Facebook Prophet, and NIXTLA TimeGPT-1, indicate a slight decline in the prevalence of drug-related lyrics on X over time. Conclusions: Our study revealed 2 significant findings. First, we identified a previously unexamined subset of drug-related content on X: drug lyrics, which could play a critical role in models predicting the surge in drug-related incidents. Second, we demonstrated the use of cutting-edge time-series forecasting tools, including Facebook Prophet and NIXTLA TimeGPT-1, in accurately predicting these trends. These insights contribute to our understanding of how social media shapes public behavior and sentiment toward drug use.Keywords
All Related Versions
This publication has 34 references indexed in Scilit:
- Estimating the incidence of cocaine use and mortality with music lyrics about cocainenpj Digital Medicine, 2021
- Past-year prevalence of prescription opioid misuse among those 11 to 30years of age in the United States: A systematic review and meta-analysisJournal of Substance Abuse Treatment, 2017
- Changes in US Lifetime Heroin Use and Heroin Use DisorderJAMA Psychiatry, 2017
- Enabling Real-Time Drug Abuse Detection in Tweets2017
- Drug term trends in American hip-hop lyricsJournal of Public Mental Health, 2015
- “I just wanted to tell you that loperamide WILL WORK”: A web-based study of extra-medical use of loperamideDrug and Alcohol Dependence, 2013
- Image and video disclosure of substance use on social media websitesComputers in Human Behavior, 2010
- Content Analysis of Tobacco, Alcohol, and Other Drugs in Popular MusicArchives of Pediatrics & Adolescent Medicine, 2008
- Heavy metal music and reckless behavior among adolescentsJournal of Youth and Adolescence, 1991
- Identification of common molecular subsequencesJournal of Molecular Biology, 1981