Live data from Hacker News

How to download and use the DEA pain pills database

washingtonpost.com

11–20 of 40 posts

Re: How to download and use the DEA pain pills database

#11
post #10

Woah... just woah, so am I mathing this wrong, or from 2006-2012 there were ~250 pain pills per person (man, woman, child) sold in America? Because if so, I don't know how on earth any executive couldn't be fucking liable for knowing the vast majority being manufactured and sold were being used illicitly.

Doctors prescribed them, so who cares? I personally think we should just be able to buy any drug we want at a convenience store, but what do I know?

Doctors prescribed them unnecessarily under perverse incentives from pharma leading to the addiction and deaths of innumerable people who trusted them to do the right thing, that's what you know.

Re: How to download and use the DEA pain pills database

#12

Woah... just woah, so am I mathing this wrong, or from 2006-2012 there were ~250 pain pills per person (man, woman, child) sold in America? Because if so, I don't know how on earth any executive couldn't be fucking liable for knowing the vast majority being manufactured and sold were being used illicitly.

People with chronic pain will usually need multiple pills a day. And some of these pain pills might lose their effectiveness with long term use. What alternatives do we have for these people?

Re: How to download and use the DEA pain pills database

#13
post #10

Woah... just woah, so am I mathing this wrong, or from 2006-2012 there were ~250 pain pills per person (man, woman, child) sold in America? Because if so, I don't know how on earth any executive couldn't be fucking liable for knowing the vast majority being manufactured and sold were being used illicitly.

Doctors prescribed them, so who cares? I personally think we should just be able to buy any drug we want at a convenience store, but what do I know?

That would have a negative effect on how useful our modern antibiotics are.

Re: How to download and use the DEA pain pills database

#14
Investigations How to download and use the DEA pain pills database By Steven Rich , María Sánchez Díez and Kanyakrit Vongkiatkajorn July 18 This page will be updated as we address your questions about the data.

The Washington Post published a significant portion of a database that tracks the path of every opioid pain pill, from manufacturer to pharmacy, in the United States between 2006 and 2012. We have reported a number of stories using this data set, but we believe there are more stories to be told.

We are making this data accessible to journalists to download and use in their reporting to promote a deeper understanding of the regional and local effects of the opioid crisis. Academics and readers may also download and explore this data for their own use.

How to download this data Go to the DEA pain pills database page. Enter the state and county (if applicable) for which you want data.

You can download graphics and/or analyzed data sets for distributors, manufacturers and pharmacies in the area by clicking “Get chart as image.” If you would like to do your own analysis, you can download the raw data file by clicking the bold and underlined link below each chart.

Click here to download the national data from The Washington Post. Note: This is a very large file, so download times may be long.

If you want to download the full data set released by the Ohio federal court, click here. This includes information on shipments of other drugs, shipments between distributors, drugs distributed to mail order pharmacies, refunded shipments, and more.

Guidelines for using this data

Fill out the form below to establish a connection with our team and report any issues downloading the data. This will also allow us to update you with any additional information as it comes out and answer questions you may have. Because of the volume of requests, we ask you use this channel rather than emailing our reporters individually.

If you publish an online story, graphic, map or other piece of journalism based on this data set, please credit The Washington Post, link to the original source, and send us an email when you’ve hit publish. We want to learn what you discover and will attempt to link to your work as part of cataloguing the impact of this project.

Post reporting and graphics can be used on-air. We ask for oral or on-screen credit to The Washington Post. For specific requests, including interview with Post journalists, please email postpr@washpost.com.

About this data set

The Post gained access to the Drug Enforcement Administration’s Automation of Reports and Consolidated Orders System, known as ARCOS, as the result of a court order. The Post and HD Media, which publishes the Charleston Gazette-Mail in West Virginia, waged a year-long legal battle for access to the database, which the government and the drug industry had sought to keep secret. The download contains raw data on shipments of oxycodone and hydrocodone pills to chain pharmacies, retail pharmacies and practitioners. You can also download summary data on the largest distributors, manufacturers and pharmacies in your county and state. The summary is one analysis of the data. There is much more that can be analyzed and reported.

We have cleaned the data to include only information on shipments of oxycodone and hydrocodone pills. We did not include data on 10 other opioids because they were shipped in much lower quantities and were diverted at far lower rates over the seven years. Diversion refers to when pills do not go directly to a patient and end up at another source, such as the black market. The Post also removed shipments that did not wind up in the hands of consumers, such as shipments from distributors to themselves. The subset of the data is very similar to how experts working on the federal court case in Ohio analyzed the data. There are Veterans Affairs Department distribution pharmacies in Charleston, S.C., and Leavenworth, Kan., that serve the region. The DEA considers these to be retail pharmacies. However, the pills are much more likely to be spread in the region than to those counties. This is why the per capita rate of pills in those counties is far higher.

It’s important to remember that the number of pills in each county does not necessarily mean those pills went to people who live in that county. The data only shows us what pharmacies the pills are shipped to and nothing else. The downloaded files are formatted as .tsv with fields separated with tabs. You will need software, such as 7Zip, to unzip the file. Once the file is unzipped, you should open the document using SQL, Python or R. We do not recommend converting the file into a .csv because there are commas within the data fields. We also do not recommend using Excel; the program can only open files in which there are less than a million rows, so the full data set will be inaccessible.

If you are using a slow or old computer, we recommend that you download the summary files on the database page. This will give you a smaller data set geared to whichever fields you are interested in, such as county or state. The best way to understand the definitions of the columns and variables in this data set is to refer to the DEA’s ARCOS handbook, which provides detailed descriptions of the records.

Steven Rich

Steven Rich is the database editor for investigations at The Washington Post. While at The Post, he has worked on investigations involving the National Security Agency, police shootings, tax liens and civil forfeiture. He was a reporter on two teams to win Pulitzer Prizes, for public service in 2014 and national reporting in 2016. Follow

María Sánchez Díez

María Sánchez Díez is an operations editor in Local. Before joining The Washington Post, she worked at ProPublica's Electionland project and at Univision, where she was a general assignment editor focused on digital storytelling and audience engagement projects aimed to serve the Spanish-speaking immigrant communities in the US. Follow

Kanyakrit Vongkiatkajorn

Kanyakrit Vongkiatkajorn is the community editor at The Washington Post, with a focus on comments, live chats and reader submissions. She comes to The Post from Mother Jones, where she was the assistant editor for audience and breaking news. Follow

Re: How to download and use the DEA pain pills database

#15
post #8

Woah... just woah, so am I mathing this wrong, or from 2006-2012 there were ~250 pain pills per person (man, woman, child) sold in America? Because if so, I don't know how on earth any executive couldn't be fucking liable for knowing the vast majority being manufactured and sold were being used illicitly.

I was reading another discussion among physicians about this and the number isn't that excessive. 50M Americans have chronic pain, assume 10M (20%) are on opioids. 76B pills over 10 years is 7.6B per year, so 760 pills per [chronic pain + opioid] person per year. Take 4 pills per day or 120 per month or 1440 per year. So basically 6 months of therapy for every chronic pain patient in the US.

But that's one of the big lies - or minimally very misleading marketing: long term opiate treatment isn't as remarkably effective for chronic pain as Purdue had us believe and carries a LOT of downside: https://www.ncbi.nlm.nih.gov/pubmed/30313000

Re: How to download and use the DEA pain pills database

#16
post #8

Earlier quoted context omitted.

I was reading another discussion among physicians about this and the number isn't that excessive. 50M Americans have chronic pain, assume 10M (20%) are on opioids. 76B pills over 10 years is 7.6B per year, so 760 pills per [chronic pain + opioid] person per year. Take 4 pills per day or 120 per month or 1440 per year. So basically 6 months of therapy for every chronic pain patient in the US.

But that's one of the big lies - or minimally very misleading marketing: long term opiate treatment isn't as remarkably effective for chronic pain as Purdue had us believe and carries a LOT of downside: https://www.ncbi.nlm.nih.gov/pubmed/30313000

Your source doesn’t say they don’t work for chronic pain, it says there isn’t data and there are risks.

Unfortunately for a lot of patients, opioids are the only thing that works.

Re: How to download and use the DEA pain pills database

#17
post #8

Earlier quoted context omitted.

I was reading another discussion among physicians about this and the number isn't that excessive. 50M Americans have chronic pain, assume 10M (20%) are on opioids. 76B pills over 10 years is 7.6B per year, so 760 pills per [chronic pain + opioid] person per year. Take 4 pills per day or 120 per month or 1440 per year. So basically 6 months of therapy for every chronic pain patient in the US.

But that's one of the big lies - or minimally very misleading marketing: long term opiate treatment isn't as remarkably effective for chronic pain as Purdue had us believe and carries a LOT of downside: https://www.ncbi.nlm.nih.gov/pubmed/30313000

I have a relative with 2 artificial hip replacements and many issues with his other organs which were injured durring a war from machine gun fire in Vietnam. About 8 months ago his opiate pain meds were reduced by over half. We now often visit and help him with chorrs as he can barely move. Opiates are a very important treatment and there is a stigma currently hurting needing patients.

Re: How to download and use the DEA pain pills database

#18
post #6

Woah... just woah, so am I mathing this wrong, or from 2006-2012 there were ~250 pain pills per person (man, woman, child) sold in America? Because if so, I don't know how on earth any executive couldn't be fucking liable for knowing the vast majority being manufactured and sold were being used illicitly.

Everyone has plausible deniability that theirs follows a secure supply chain to the pharmacy. Its those other guys that can’t control their inventory. Nobody has an incentive to audit their supply chains or doctor RXs to verify that of course.

Sorry, how does this relate to the topic?

Re: How to download and use the DEA pain pills database

#19
As a chronic pain sufferer, opiates are a lifeline. Problem has been indescriminate use pushed by docs before they became fully aware of the risks. Now I jump through hoops to get a fairly low dose of hydrocodone 7.5. I have both rheumatoid and osteoarthritis, fibromyalgia and a host of other diagnosis. Without effective pain management, life isnt worth living. I'm only 58!

Re: How to download and use the DEA pain pills database

#20
post #8

Earlier quoted context omitted.

I was reading another discussion among physicians about this and the number isn't that excessive. 50M Americans have chronic pain, assume 10M (20%) are on opioids. 76B pills over 10 years is 7.6B per year, so 760 pills per [chronic pain + opioid] person per year. Take 4 pills per day or 120 per month or 1440 per year. So basically 6 months of therapy for every chronic pain patient in the US.

But that's one of the big lies - or minimally very misleading marketing: long term opiate treatment isn't as remarkably effective for chronic pain as Purdue had us believe and carries a LOT of downside: https://www.ncbi.nlm.nih.gov/pubmed/30313000

Very true. It's also true that Medicare and Medicaid, used by the majority of disabled and elderly does not provide coverage for most alternative therapies. Medicare recently approved 'dry needle' treatment, a less-effective cousin of acupuncture. Massage therapy is a proven pain reducer but not covered at all. The list goes on.

Some of the issues activists are still working on are quality of life aspects of health care: for instance, Most policies will pay for the amputation of a diabetic patient's foot but NOT for a $50 pair of properly fitting shoes.

This is my 2 cents: I was looking for access info on the DEA database referenced here and found your discussion interesting. Thanks for the tips on getting past WAPO's paywall!

Post reply on HN