This function returns a data frame about insurance 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".
- insurance
One of the following values:
"% Insured in demographic group, all income levels""% Insured in demographic group, people at or below 138% of Poverty""% Insured in demographic group, people at or below 200% of Poverty""% Insured in demographic group, people at or below 250% of Poverty""% Insured in demographic group, people at or below 400% of Poverty""% Insured in demographic group, people between 138% - 400% of poverty""% uninsured in demographic group, all income levels""% uninsured in demographic group, people at or below 138% of Poverty""% uninsured in demographic group, people at or below 200% of Poverty""% uninsured in demographic group, people at or below 250% of Poverty""% uninsured in demographic group, people at or below 400% of Poverty""% uninsured in demographic group, people between 138% - 400% of poverty".
- sex
One of the following values:
"both sexes""male""female".
- age
If you specified
"both sexes"forsexchoose one of the following values:"under 19 years""18 to 64 years""21 to 64 years""40 to 64 years""50 to 64 years""under 65 years".
Otherwise if you specified
"male"or"female"forsex, choose one of the following values:"18 to 64 years""40 to 64 years""50 to 64 years""Under 65 years".
- race
Only specify
raceif you specified"state"forareatype"All Races (includes Hispanic)""White (non-Hispanic)""black (non-Hispanic)""American Indian / Alaska Native (non-Hispanic)""Asian (non-Hispanic)""Hispanic (Any Race)".
See also
Other demographics:
demo_crowding(),
demo_education(),
demo_food(),
demo_income(),
demo_language(),
demo_mobility(),
demo_population(),
demo_poverty(),
demo_svi(),
demo_workforce()
Examples
if (FALSE) {
demo_insurance(
area = "usa",
areatype = "state",
insurance = "% Insured in demographic group, all income levels",
sex = "both sexes",
age = "18 to 64 years",
race = "white (non-hispanic)"
)
demo_insurance(
area = "wa",
areatype = "hsa",
insurance = "% Insured in demographic group, all income levels",
sex = "males",
age = "18 to 64 years"
)
demo_insurance(
area = "dc",
areatype = "county",
insurance = "% Insured in demographic group, all income levels",
sex = "males",
age = "18 to 64 years"
)
}