get_demographics {excessmort}R Documentation

Get demographic data from Census

Description

Get demographic data from Census

Usage

get_demographics(
  geography = "state",
  state,
  county = NULL,
  years = 2018,
  vars = c("SEX", "AGEGROUP", "RACE", "HISP")
)

Arguments

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


[Package excessmort version 0.7.0 Index]