pharmacy_raw {arcos}R Documentation

Download raw prescription data for specified pharmacy (by BUYER_DEA_NO) into R

Description

Data from from non-contiguous states not yet processed and available. This raw data only includes data from pharmacies and practitioners and the drugs Hydrocodne and Oxycodone.

Usage

pharmacy_raw(buyer_dea_no = "AB0454176", key = "WaPo")

Arguments

buyer_dea_no

Filter the data to only this pharmacy (e.g. ‘AB0454176’)

key

Key needed to make query successful

See Also

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_county_biz(), drug_fips_biz(), drug_list(), raw_data()

Examples


library(arcos)

solo_pharm <- pharmacy_raw(buyer_dea_no="AB0454176", key="WaPo")

head(solo_pharm)


[Package arcos version 1.27 Index]