View source: R/get_demographics.R
| get_demographics | R Documentation | 
Get demographic data from Census
get_demographics(
  geography = "state",
  state,
  county = NULL,
  years = 2018,
  vars = c("SEX", "AGEGROUP", "RACE", "HISP")
)
| geography | state or county | 
| state | name of the state | 
| county | name of the county | 
| years | vector of years for which we obtain data | 
| vars | names of variables that define strat of which we want population estimates | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.