total_distributors_state {arcos}R Documentation

Get total pills for each distributor in a state

Description

Get total pills for each distributor in a state

Usage

total_distributors_state(state = "WV", key = "WaPo")

Arguments

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 summarized: buyer_details(), combined_buyer_annual(), combined_buyer_monthly(), summarized_county_annual(), summarized_county_monthly(), total_distributors_county(), total_manufacturers_county(), total_manufacturers_state(), total_pharmacies_county(), total_pharmacies_state()

Examples


library(arcos)

wv <- total_distributors_state(state="WV", key="WaPo")

head(wv)


[Package arcos version 1.27 Index]