Man pages for STAPM/hseclean
Health Survey Data Wrangling

abv_dataAlcohol content assumptions
alc_drink_freqDrink frequency
alc_drink_now_allagesWhether someone drinks and frequency of drinking
alc_sevenday_adultAlcohol consumption in last seven-days (adults)
alc_sevenday_childAlcohol consumption in last seven-days (children)
alc_upshiftUpshifting alcohol consumption
alc_volume_dataBeverage volume assumptions
alc_weekmean_adultAlcohol average weekly consumption (adults)
clean_ageAge variables
clean_demographicClean demographic variables
clean_economic_statusEconomic status
clean_educationEducation variables
clean_familyFamily status
clean_health_and_bioHealth and biometric variables
clean_incomeIncome
clean_surveyweightsProcess the survey weights
combine_yearsCombine years of data
hseclean-packagehseclean: Health Survey Data Wrangling
imdq_to_townsendProbabilistic mapping of Index of Multiple Deprivation to...
impute_data_miceChained multiple imputation of a set of variables
impute_kids_modelMultinomial model of number of kids in the household...
impute_meanFills missing values with subgroup mean value
num_simSimulate single years from age/time category
per_capita_alc_for_upshiftPer capita sales of alcohol for use in upshifting procedure...
per_capita_alc_for_upshift_scotlandPer capita sales of alcohol for use in upshifting procedure...
prop_summarySummarise the percentages of people with certain levels of a...
read_2001Read the Health Survey for England 2001
read_2002Read the Health Survey for England 2002
read_2003Read the Health Survey for England 2003
read_2004Read the Health Survey for England 2004
read_2005Read the Health Survey for England 2005
read_2006Read the Health Survey for England 2006
read_2007Read the Health Survey for England 2007
read_2008Read the Health Survey for England 2008
read_2009Read the Health Survey for England 2009
read_2010Read the Health Survey for England 2010
read_2011Read the Health Survey for England 2011
read_2012Read the Health Survey for England 2012
read_2013Read the Health Survey for England 2013
read_2014Read the Health Survey for England 2014
read_2015Read the Health Survey for England 2015
read_2016Read the Health Survey for England 2016
read_2017Read the Health Survey for England 2017
read_2018Read the Health Survey for England 2018
read_2019Read the Health Survey for England 2019 \lifecyclematuring
read_hseRead HSE data \lifecycledeprecated
read_NSW_2016_17Read the National Survey for Wales 2016-17 \lifecyclematuring
read_NSW_2017_18Read the National Survey for Wales 2017-18 \lifecyclematuring
read_NSW_2018_19Read the National Survey for Wales 2018-19 \lifecyclematuring
read_NSW_2019_20Read the National Survey for Wales 2019-20 \lifecyclematuring
read_NSW_2020_21Read the National Survey for Wales 2020-21 \lifecyclematuring
read_NSW_2021_22Read the National Survey for Wales 2021-22 \lifecyclematuring
read_NSW_2022_23Read the National Survey for Wales 2022-23 \lifecyclematuring
read_SHeS_2008Read Scottish Health Survey 2008
read_SHeS_2009Read Scottish Health Survey 2009
read_SHeS_2010Read Scottish Health Survey 2010
read_SHeS_2011Read Scottish Health Survey 2011
read_SHeS_2012Read Scottish Health Survey 2012
read_SHeS_2013Read Scottish Health Survey 2013
read_SHeS_2014Read Scottish Health Survey 2014
read_SHeS_2015Read Scottish Health Survey 2015
read_SHeS_2016Read Scottish Health Survey 2016
read_SHeS_2017Read Scottish Health Survey 2017
read_SHeS_2018Read Scottish Health Survey 2018
read_SHeS_2019Read Scottish Health Survey 2019
read_WHS_2009Read the Welsh Health Survey 2009 \lifecyclematuring
read_WHS_2010Read the Welsh Health Survey 2010 \lifecyclematuring
read_WHS_2011Read the Welsh Health Survey 2011 \lifecyclematuring
read_WHS_2012Read the Welsh Health Survey 2012 \lifecyclematuring
read_WHS_2013Read the Welsh Health Survey 2013 \lifecyclematuring
read_WHS_2014Read the Welsh Health Survey 2014 \lifecyclematuring
read_WHS_2015Read the Welsh Health Survey 2015 \lifecyclematuring
select_dataSelect variables and apply filters
smk_amountCharacteristics of smoking
smk_formerFormer smokers: time since quit and time as smoker
smk_life_historyAges of smoking initiation, quit and censoring
smk_quitQuitting smoking \lifecycleexperimental
smk_statusCigarette smoking status
use_townsendUse the Townsend Index of Deprivation
STAPM/hseclean documentation built on June 9, 2025, 4:50 a.m.