pharmacy_raw: Download raw prescription data for specified pharmacy (by...

View source: R/raw.R

pharmacy_rawR 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)


wpinvestigative/arcos documentation built on July 19, 2023, 6:19 a.m.