Learn R Programming

arcos (version 1.27)

reporter_addresses: Get DEA designated addresses for each Reporter based on REPORTER_DEA_NO (Includes Manufacturers and Distributors)

Description

Get DEA designated addresses for each Reporter based on REPORTER_DEA_NO (Includes Manufacturers and Distributors)

Usage

reporter_addresses(county = "Mingo", state = "WV", key = "WaPo")

Arguments

county

Filter the data to only this county (e.g. 'Mingo')

state

Filter the data to county within this state (e.g. 'WV')

key

Key needed to make query successful

See Also

https://www.washingtonpost.com/graphics/2019/investigations/dea-pain-pill-database/#download-resources

Other geocoded data: buyer_addresses(), county_population(), not_pharmacies(), pharm_cbsa(), pharm_counties(), pharm_latlon(), pharm_tracts(), state_population()

Examples

Run this code
# NOT RUN {
library(arcos)

mingo_wv <- reporter_addresses(county = "Harris", state="TX", key="WaPo")

head(mingo_wv)
# }

Run the code above in your browser using DataLab