Skip to contents

This function returns a data frame about alcohol risks from State Cancer Profiles.

Usage

risk_alcohol(alcohol, race, sex)

Arguments

alcohol

The only permissible value is `paste("binge drinking (4+ drinks on one occasion for women,", "5+ drinks for one occasion for men), ages 21+")

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".

Value

A data frame with the following columns: Area Type, Area Code, Percent, Lower 95% CI, Upper 95% CI, Number of Respondents.

Examples

if (FALSE) {
risk_alcohol(
  alcohol = paste(
    "binge drinking (4+ drinks on one occasion for women,",
    "5+ drinks for one occasion for men), ages 21+"
  ),
  race = "all races (includes hispanic)",
  sex = "both sexes"
)
}