Description Usage Arguments Details Value Examples
View source: R/alc_drink_now_allages.R
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.
1 |
data |
Data table - the Health Survey for England dataset. |
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.
drinks_now (drinker, non_drinker).
drink_freq_7d (numerical variable calculated from categorical responses to how frequently someone drinks)
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.