powered by
Data from from non-contiguous states not yet processed and available.
drug_county_biz( drug = "Fentanyl", county = "Laurens", state = "GA", buyer_bus_act = "Chain Retail", key = "WaPo" )
Filter the data to one of 14 available drugs in the database (e.g. 'OXYCODONE')
Filter the data to only this county (e.g. 'Mingo')
Filter the data to county within this state (e.g. 'WV')
If provided, filter the data to one of businesses in BUYER_BUS_ACT (e.g. 'CHAIN PHARMACY', 'HOSP/CLINIC')
Key needed to make query successful
https://www.washingtonpost.com/graphics/2019/investigations/dea-pain-pill-database/#download-resources
Other raw data: buyer_list(), county_list(), county_raw_fips(), county_raw(), drug_fips_biz(), drug_list(), pharmacy_raw(), raw_data()
buyer_list()
county_list()
county_raw_fips()
county_raw()
drug_fips_biz()
drug_list()
pharmacy_raw()
raw_data()
# NOT RUN { library(arcos) bronx <- drug_county_biz(drug="Fentanyl", county = "Laurens", state = "GA", buyer_bus_act = "Chain Retail", key="WaPo") head(bronx) # }
Run the code above in your browser using DataLab