Description Usage Arguments Details Value Examples
Reads and does basic cleaning on the Health Survey for England 2017.
1 2 3 4 |
root |
Character - the root directory. |
file |
Character - the file path and name. |
The HSE 2017 sample comprised of a core general population sample. There was no boost sample in 2017.
The sample comprised 9,612 addresses selected at random in 534 postcode sectors, issued over twelve months from January to December 2017. Field work was completed in March 2018.
Adults and children were interviewed at households identified at the selected addresses. Up to four children in each household were selected to take part at random; up to two aged 2 to 12 and up to two aged 13 to 15.
A total of 7,997 adults aged 16 and over and 1,985 children aged 0-15 were interviewed, including 5,196 adults and 1,195 children who had a nurse visit.#'
From 2015 HSE data contains the 2015 English index of multiple deprivation, divided into quintiles.
Returns a data table. Note that:
Missing data ("NA", "", "-1", "-2", "-6", "-7", "-9", "-90", "-90.0", "N/A") is replace with NA, except -8 ("don't know") as this is data.
All variable names are converted to lower case.
The cluster and probabilistic sampling unit have the year appended to them.
1 2 3 4 5 6 7 | ## Not run:
data_2017 <- read_2017("X:/",
"ScHARR/PR_Consumption_TA/HSE/HSE 2017/UKDA-8334-tab/tab/hse2016_eul.tab")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.