powered by
Get demographic data from Census
get_demographics( geography = "state", state, county = NULL, years = 2018, vars = c("SEX", "AGEGROUP", "RACE", "HISP") )
state or county
name of the state
name of the county
vector of years for which we obtain data
names of variables that define strat of which we want population estimates