smk_status: Cigarette smoking status

View source: R/smk_status.R

smk_statusR Documentation

Cigarette smoking status

Description

Categorise cigarette smoking into current, former and never regular cigarette smoker.

Usage

smk_status(data)

Arguments

data

Data table - the health survey dataset.

Details

Note that if some smokes either regularly or occasionally, then they are classified as a current regular cigarette smoker. People who used to smoke regularly or occasionally are classified as former smokers, but people who have only tried a cigarette once or twice are classified as never smokers.

This variable is created for adults aged >= 16 years, and children aged 8-15 years.

The data is processed from the Health Survey for England and the Scottish Health Survey. The Scottish Health Survey only has data on people >= 16 years old.

Value

Returns two smoking variables:

  • cig_smoker_status - current, former, never

  • cig_ever - ever_smoker, never_smoker, based on current and former smokers from the variables above.

Examples


## Not run: 

data_2016 <- read_2016()

data_2016 <- smk_status(data = data_2016)


## End(Not run)



STAPM/hseclean documentation built on June 9, 2025, 4:50 a.m.