clean_health_and_bio: Health and biometric variables

Description Usage Arguments Details Value Examples

View source: R/clean_health_and_bio.R

Description

Cleans data on presence/absence of certain categories of health condition, and on height and weight.

Usage

1

Arguments

data

The Health Survey for England dataset.

Details

HEATH CONDITIONS

There are a set of 15 categories of conditions that are ascertained consistently across all years of the Heath Survey for England. These are:

HEIGHT AND WEIGHT

Height (cm) and weight (kg). Weight is estimated above 130kg. Missing values of height and weight are replaced by the mean height and weight for each age, sex and IMD quintile. BMI is calculated according to kg / m^2.

Value

Examples

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

data_2001 <- read_2001()

data_2001 <- clean_health_and_bio(data = data_2001)


## End(Not run)

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