alc_drink_now_allages: Whether someone drinks and frequency of drinking

Description Usage Arguments Details Value Examples

View source: R/alc_drink_now_allages.R

Description

Clean the data on whether someone is a current drinker (drank in last 12 months) and if they did drink how frequently they did so.

Usage

1

Arguments

data

Data table - the Health Survey for England dataset.

Details

Combines information from adults and children. Someone is classed as a drinker even if they only reported drinking once or twice a year. Any missing data is supplemented by responses to if currently drinks or if always non-drinker.

Value

Examples

1
2
3
4
5
6
## Not run: 
data <- read_2017()
data <- clean_age(data)
data <- alc_drink_now_allages(data)

## End(Not run)

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