powered by
Get annual population for states between 2006 and 2014
state_population(state = "WV", key = "WaPo")
Filter the data to county within this state (e.g. 'WV')
Key needed to make query successful
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(), reporter_addresses()
buyer_addresses()
county_population()
not_pharmacies()
pharm_cbsa()
pharm_counties()
pharm_latlon()
pharm_tracts()
reporter_addresses()
# NOT RUN { library(arcos) wv <- state_population(state="WV", key="WaPo") head(wv) # }
Run the code above in your browser using DataLab