This function returns a data frame from Workforce in State Cancer Profiles.
Arguments
- area
A state/territory abbreviation or USA.
- areatype
One of the following values:
"county""hsa"(Health Service Area)"state".
- workforce
The only permissible value is
"unemployed"- 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).
- sex
One of the following values:
"both sexes""male""female".
Value
A data frame with the following columns: Area Type, Area Code, Percent, People Unemployed, Rank.
See also
Other demographics:
demo_crowding(),
demo_education(),
demo_food(),
demo_income(),
demo_insurance(),
demo_language(),
demo_mobility(),
demo_population(),
demo_poverty(),
demo_svi()
Examples
if (FALSE) {
demo_workforce(
area = "WA",
areatype = "county",
workforce = "unemployed",
race = "all races (includes hispanic)",
sex = "both sexes"
)
demo_workforce(
area = "usa",
areatype = "state",
workforce = "unemployed",
race = "all races (includes hispanic)",
sex = "females"
)
demo_workforce(
area = "pr",
areatype = "hsa",
workforce = "unemployed",
race = "all races (includes hispanic)",
sex = "both sexes"
)
}