Learn R Programming

EdSurvey (version 4.0.7)

downloadNHES: Instructions for Downloading and Unzipping NHES Files

Description

Provides instructions to download the public-use National Household Education Survey (NHES) data in SPSS (*.sav) format for use with the readNHES function. The data originates from the NCES Online Codebook zip files. This function works for data from the years 1991, 1993, 1995, 1996, 1999, 2001, 2003, 2005, 2007, 2012, 2016, and 2019.

Usage

downloadNHES(
  years = c(1991, 1993, 1995, 1996, 1999, 2001, 2003, 2005, 2007, 2012, 2016, 2019)
)

Arguments

years

an integer vector of the assessment years. Valid years are 1991, 1993, 1995, 1996, 1999, 2001, 2003, 2005, 2007, 2012, 2016, and 2019. The instructions are the same for each year, this is used as reference only.

Author

Tom Fink

See Also

readNHES

Examples

Run this code
if (FALSE) {
#view instructions to manually download NHES data
downloadNHES()
}

Run the code above in your browser using DataLab