summarized_county_annual: Get annual summarized pill totals by county

View source: R/summarized.R

summarized_county_annualR Documentation

Get annual summarized pill totals by county

Description

Get annual summarized pill totals by county

Usage

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

Examples


library(arcos)

mingo_wv <- summarized_county_annual(county = "Mingo", state="WV", key="WaPo")

head(mingo_wv)


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