read_hse: Read HSE data

Description Usage Arguments Value Examples

View source: R/read_hse.R

Description

Reads and does basic cleaning of a selected year of the Health Survey for England.

Usage

1
read_hse(year, root = c("X:/", "/Volumes/Shared/"))

Arguments

year

Character - the file path and name.

root

Character - the root directory.

Value

Returns a data table of the year of data selected.

Examples

1
2
3
4
5
6
## Not run: 

data_2001 <- read_hse(year = 2001, root = "X:/")


## End(Not run)

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