readECLS_B: Connect to ECLS-B Data

View source: R/readECLS_B.R

readECLS_BR Documentation

Connect to ECLS-B Data

Description

Opens a connection to an ECLS-B data file and returns an edsurvey.data.frame with information about the file and data.

Usage

readECLS_B(
  path = getwd(),
  filename,
  layoutFilename,
  forceReread = FALSE,
  verbose = TRUE
)

Arguments

path

a character value to the full directory path(s) to the ECLS-B extracted fixed-with-format (.dat) set of datafiles.

filename

a character value of the name of the fixed-width-file (.dat) data file in the specificed path to be read.

layoutFilename

a character value of the filename of either the ASCII text (.txt) layout file of the filename within the specified path, OR a character value of the filename of the SPSS syntax (.sps) layout file of the filename within the specified path

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 readECLS-K2011 function is running to indicate processing progress. The default value is TRUE.

Details

Reads in the unzipped files downloaded from the ECLS-B longitudinal Database.

Value

An edsurvey.data.frame for the ECLS-B longitudinal dataset.

Author(s)

Trang Nguyen

See Also

readNAEP, getData


EdSurvey documentation built on June 27, 2024, 5:10 p.m.