OPIOD_USE___OPOIOD_ABUSE_25JUL2021

Mike Conway, 04 Jan 2021

This notebook utilizes and extends code (pytrends.py) generated by Cole Citrenbaum

We will compare the following stigmatizing and less stigmatizing terms:

"opioid user", "opioid users", "opioid use"

and

"opioid abuser", "opioid abusers", "opioid abuse"

First, import relevant Python3 libraries:

Second, call pytrends library with relevant terms and generate pandas data frame

Third, plotting

Remove rows with zeros

Given that the plot generated above has lots of overlapping zero values, all 0 values have been removed to improve clarity.

Generate plot