Skip to contents

This function returns a data frame about poverty demographics from State Cancer Profiles.

Usage

demo_poverty(area, areatype, poverty, race = NULL, sex = NULL)

Arguments

area

A state/territory abbreviation or USA.

areatype

One of the following values:

  • "county"

  • "hsa" (Health Service Area)

  • "state".

poverty

One of the following values:

  • "families below poverty"

  • "persistent poverty"

  • "persons below poverty"

  • "persons < 150% of poverty".

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, Households, Rank.

Examples

if (FALSE) {
demo_poverty(
  area = "WA",
  areatype = "county",
  poverty = "persistent poverty"
)

demo_poverty(
  area = "usa",
  areatype = "state",
  poverty = "families below poverty",
  race = "black"
)

demo_poverty(
  area = "dc",
  areatype = "hsa",
  poverty = "families below poverty",
  race = "All Races (includes Hispanic)"
)
}