powered by
Get annual total pills for each buyer (pharmacy, etc) in a county
combined_buyer_monthly( county = "Mingo", state = "WV", year = 2012, key = "WaPo" )
Filter the data to only this county (e.g. 'Mingo')
Filter the data to county within this state (e.g. 'WV')
Key needed to make query successful
https://www.washingtonpost.com/graphics/2019/investigations/dea-pain-pill-database/#download-resources
Other summarized: buyer_details(), combined_buyer_annual(), summarized_county_annual(), summarized_county_monthly(), total_distributors_county(), total_distributors_state(), total_manufacturers_county(), total_manufacturers_state(), total_pharmacies_county(), total_pharmacies_state()
buyer_details()
combined_buyer_annual()
summarized_county_annual()
summarized_county_monthly()
total_distributors_county()
total_distributors_state()
total_manufacturers_county()
total_manufacturers_state()
total_pharmacies_county()
total_pharmacies_state()
# NOT RUN { library(arcos) mingo_wv <- combined_buyer_monthly(county = "Mingo", state="WV", year=2012, key="WaPo") head(mingo_wv) # }
Run the code above in your browser using DataLab