Learn R Programming

EdSurvey (version 2.7.0)

readNLS72: Connect to NLS-72 Study Data

Description

Opens a connection to a National Longitudinal Study of the High School Class of 1972 (NLS-72) cohort data file and returns an edsurvey.data.frame with information about the file and data.

Usage

readNLS72(
  NLS7286_PRI_FilePath,
  NLS7286_SASSyntax_Path,
  forceReread = FALSE,
  verbose = TRUE
)

Arguments

NLS7286_PRI_FilePath

a character value to the main study derived analyticial data file (NLS7286_REV.PRI). Located within the REVISED_ASCII folder.

NLS7286_SASSyntax_Path

a character value to the SAS syntax file for parsing the NLS7286_REV.PRI data file. Located within the SAS_EXTRACT_LOGIC folder.

forceReread

a logical value to force rereading of all processed data. The default value of FALSE will speed up the read function by using existing read-in data already processed.

verbose

a logical value that will determine if you want verbose output while the readNLS72 function is running to indicate processing progress. The default value is TRUE.

Value

an edsurvey.data.frame for the National Longitudinal Study of the High School Class of 1972 longitudinal dataset

Details

Reads in the specified NLS7286_SASSyntax_Path file to parse the NLS7286_PRI_FilePath file. A cached data file and metadata file will be saved in the same directory and filename as the NLS7286_PRI_FilePath file, having new file extensions of .csv and .meta, respectively.

See Also

readHSB_Sophomore, readHSB_Senior, and getData