Skip to contents

This function returns a data frame about cancer incidence from State Cancer Profiles.

Usage

incidence_cancer(area, areatype, cancer, race, sex, age, stage, year)

Arguments

area

A state/territory abbreviation or USA.

areatype

One of the following values:

  • "county"

  • "hsa" (Health Service Area)

  • "state".

cancer

One of the following values:

  • "all cancer sites"

  • "bladder"

  • "brain & ons"

  • "breast (female)"

  • "breast (female in situ)"

  • "cervix"

  • "childhood (ages <15, all sites)"

  • "childhood (ages <20, all sites)"

  • "colon & rectum"

  • "esophagus"

  • "kidney & renal pelvis"

  • "leukemia"

  • "liver & bile duct"

  • "lung & bronchus"

  • "melanoma of the skin"

  • "non-hodgkin lymphoma"

  • "oral cavity & pharynx"

  • "ovary"

  • "pancreas"

  • "prostate"

  • "stomach"

  • "thyroid"

  • "uterus (corpus & uterus, nos)".

race

One of the following values:

  • "All Races (includes Hispanic)"

  • "White (non-Hispanic)"

  • "Black (non-Hispanic)"

  • "American Indian / Alaska Native (non-Hispanic)"

  • "Asian / Pacific Islander (non-Hispanic)"

  • "Hispanic (Any Race)".

sex

One of the following values:

  • "both sexes"

  • "male"

  • "female".

age

One of the following values:

  • "all ages"

  • "ages <50"

  • "ages 50+"

  • "ages <65"

  • "ages 65+"

  • "ages <15"

  • "ages <20".

stage

One of the following values:

  • "all stages"

  • "late stage (regional & distant)".

year

One of the following values:

  • "latest 5 year average"

  • "latest single year (us by state)".

Value

A data frame with the following columns: Area Type, Area Code, Age Adjusted Incidence Rate, Lower 95% CI, Upper 95% CI, CI Rank, Lower CI Rank, Upper CI Rank, Annual Average Count, Recent Trend, Recent 5 Year Trend, Trend Lower 95% CI, Trend Upper 95% CI.

Examples

if (FALSE) {
incidence_cancer(
  area = "wa",
  areatype = "county",
  cancer = "all cancer sites",
  race = "black (non-hispanic)",
  sex = "both sexes",
  age = "ages 65+",
  stage = "all stages",
  year = "latest 5 year average"
)

incidence_cancer(
  area = "usa",
  areatype = "state",
  cancer = "lung & bronchus",
  race = "all races (includes hispanic)",
  sex = "males",
  age = "ages 50+",
  stage = "late stage (regional & distant)",
  year = "latest single year (us by state)"
)

incidence_cancer(
  area = "wa",
  areatype = "hsa",
  cancer = "ovary",
  race = "all races (includes hispanic)",
  sex = "females",
  age = "ages 50+",
  stage = "late stage (regional & distant)",
  year = "latest 5 year average"
)
}