Opioid Discussion in the Twittersphere

Rachel L. Graves, Christopher Tufts, Zachary F. Meisel, Dan Polsky, Lyle Ungar, Raina M. Merchant

Research output: Contribution to journalArticlepeer-review

11 Scopus citations


Background: The rise in opioid use and overdose has increased the importance of improving data collection methods for the purpose of targeting resources to high-need populations and responding rapidly to emerging trends. Objective: To determine whether Twitter data could be used to identify geographic differences in opioid-related discussion and whether opioid topics were significantly correlated with opioid overdose death rate. Methods: We filtered approximately 10 billion tweets for keywords related to opioids between July 2009 and October 2015. The content of the messages was summarized into 50 topics generated using Latent Dirchlet Allocation, a machine learning analytic tool. The correlation between topic distribution and census region, census division, and opioid overdose death rate were quantified. Results: We evaluated a tweet cohort of 84,023 tweets from 72,211 unique users across the US. Unique opioid-related topics were significantly correlated with different Census Bureau divisions and with opioid overdose death rates at the state and county level. Drug-related crime, language of use, and online drug purchasing emerged as themes in various Census Bureau divisions. Drug-related crime, opioid-related news, and pop culture themes were significantly correlated with county-level opioid overdose death rates, and online drug purchasing was significantly correlated with state-level opioid overdoses. Conclusions: Regional differences in opioid-related topics reflect geographic variation in the content of Twitter discussion about opioids. Analysis of Twitter data also produced topics significantly correlated with opioid overdose death rates. Ongoing analysis of Twitter data could provide a means of identifying emerging trends related to opioids.

Original languageEnglish (US)
Pages (from-to)2132-2139
Number of pages8
JournalSubstance Use and Misuse
Issue number13
StatePublished - Nov 10 2018
Externally publishedYes


  • Crime
  • opioids
  • overdose
  • social media
  • twitter

ASJC Scopus subject areas

  • Health(social science)
  • Medicine (miscellaneous)
  • Public Health, Environmental and Occupational Health
  • Psychiatry and Mental health


Dive into the research topics of 'Opioid Discussion in the Twittersphere'. Together they form a unique fingerprint.

Cite this