smk_amount: Characteristics of smoking

Description Usage Arguments Details Value Examples

View source: R/smk_amount.R

Description

Clean the variables that describe how much, what and to what level of addiction people smoke.

Usage

1

Arguments

data

Data table - the Health Survey for England dataset.

Details

The main variable is the average number of cigarettes smoked per day. For adults this is calculated from questions about how many cigarettes are smoked typically on a weekday vs. a weekend. For children, this is based on asking how many cigarettes were smoked in the last week. Missing values are imputed as the average amount smoked for an age, sex and IMD quintile subgroup.

We categorise cigarette preferences based on the answer to 'what is the main type of cigarette smoked'. In later years of the Health Survey for England, new questions are added that ask how many handrolled vs. machine rolled cigarettes are smoked on a weekday vs. a weekend. We currently don't use those questions because they were not asked in all years.

We also categorise the amount smoked, and use information on the time from waking until smoking the first cigarette. This latter variable has a high level of missingness. Together these categorical variables allow calculation of the heaviness of smoking index.

Value

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

data <- read_2001()
data <- clean_age(data)
data <- clean_demographic(data)
data <- smk_status(data)
data <- smk_amount(data)


## End(Not run)

dosgillespie/hseclean documentation built on May 2, 2020, 1:15 a.m.