Learn R Programming

arcos (version 1.27)

pharmacy_raw: 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. <U+2018>AB0454176<U+2019>)

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

Run this code
# NOT RUN {
library(arcos)

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

head(solo_pharm)
# }

Run the code above in your browser using DataLab