This function returns a data frame about income demographics from State Cancer Profiles.
Arguments
- area
A state/territory abbreviation or USA.
- areatype
Either
"county"
or"state"
.- income
Either
"median family income"
or"median household income"
.- race
One of the following values:
"All Races (includes Hispanic)"
"White (includes Hispanic)"
"White non-Hispanic"
"Black"
"Amer. Indian/Alaskan Native (includes Hispanic)"
"Asian or Pacific Islander (includes Hispanic)"
"Hispanic (Any Race)
.
See also
Other demographics:
demo_crowding()
,
demo_education()
,
demo_food()
,
demo_insurance()
,
demo_language()
,
demo_mobility()
,
demo_population()
,
demo_poverty()
,
demo_svi()
,
demo_workforce()
Examples
if (FALSE) {
demo_income(
area = "wa",
areatype = "county",
income = "median household income",
race = "all races (includes hispanic)"
)
demo_income(
area = "usa",
areatype = "state",
income = "median family income",
race = "all races (includes hispanic)"
)
demo_income(
area = "pr",
areatype = "county",
income = "median family income",
race = "all races (includes hispanic)"
)
}