Description Usage Arguments Value Examples
View source: R/read_samadult.R
Read a single NHIS sample adult file
1 2 3 4 5 6 |
file.path |
Path to a sample adult file |
year |
The year of the survey |
lookup.tbl.path |
The path to a variable name look-up table |
rename |
Rename specified variables to user defined names |
A dataframe with only the specified NHIS variables
1 2 3 4 | ## Not run:
df.nhis <- read_samadult("samadult_2017.csv", year = 2017, lookup.tlb.path = "samadult-lookup.csv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.