county_population: Get annual population for counties between 2006 and 2014

Description Usage Arguments See Also Examples

View source: R/locations.R

Description

Get annual population for counties between 2006 and 2014

Usage

1
county_population(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(), not_pharmacies(), pharm_cbsa(), pharm_counties(), pharm_latlon(), pharm_tracts(), reporter_addresses(), state_population()

Examples

1
2
3
4
5
library(arcos)

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

head(mingo_wv)

arcos documentation built on Feb. 19, 2021, 1:06 a.m.