Get annual population for states between 2006 and 2014

state_population(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

Examples

# \donttest{ library(arcos) wv <- state_population(state="WV", key="WaPo") head(wv)
#> BUYER_STATE year population #> 1 WV 2009 1811403 #> 2 WV 2010 1840802 #> 3 WV 2011 1846372 #> 4 WV 2012 1850481 #> 5 WV 2006 1827912 #> 6 WV 2007 1834052
# }