This function returns a data frame about education demographics from State Cancer Profiles.
Arguments
- area
A state/territory abbreviation or USA.
- areatype
One of the following values:
"county""hsa"(Health Service Area)"state".
- education
One of the following values:
"less than 9th grade""at least high school""at least bachelors degree".
- sex
One of the following values:
"both sexes""male""female".
- 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_food(),
demo_income(),
demo_insurance(),
demo_language(),
demo_mobility(),
demo_population(),
demo_poverty(),
demo_svi(),
demo_workforce()
Examples
if (FALSE) {
demo_education(
area = "wa",
areatype = "county",
education = "at least high school",
sex = "males"
)
demo_education(
area = "usa",
areatype = "state",
education = "at least bachelors degree",
sex = "both sexes",
race = "all races (includes hispanic)"
)
demo_education(
area = "pr",
areatype = "hsa",
education = "less than 9th grade"
)
}