getDataFileInfo {NHANES.RAW80Hz} | R Documentation |
Get a data frame of information for available files to download
getDataFileInfo(data, type=NULL)
data |
One of "2011-12", "2013-14", or "NNYFS". |
type |
NULL or a vector containing any of "Demographics", "Dietary", "Examination", "Laboratory", or "Questionnaire", where the strings are not case-sensitive and only the first two characters are matched. The default is NULL, so that information for all types will be returned. |
Information contained in the returned data frame can be used in the
downloadFiles
function.
Data frame of information for the available files.
downloadFiles
, downloadAndReadFile
x <- getDataFileInfo("2011-12") x[1:5, ]