Learn R Programming

EdSurvey (version 2.4.0)

readBPS_1994: Beginning Postsecondary Students (BPS:90/94) Data

Description

Opens a connection to a BPS 1990 to 1994 cohort data file and returns an edsurvey.data.frame with information about the file and data.

Usage

readBPS_1994(
  b94DAT_Filepath,
  masterTxtFilepath,
  forceReread = FALSE,
  verbose = TRUE
)

Arguments

b94DAT_Filepath

a character value of the file path to the student BPS:90/94 (.dat) file

masterTxtFilepath

a character value of the file path to the master.txt file contained within the electronic codebook directory

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

Value

An edsurvey.data.frame for the BPS longitudinal dataset.

Details

Reads in the student BPS 1990 to 1994 cohort data file to an edsurvey.data.frame.

See Also

readBB_2001, readNAEP, and getData

Examples

Run this code
# NOT RUN {
setwd("C:/BPS1994/")

datFP <- file.path(getwd(), "BPS94", "STUDENT.DAT")
mstFP <- file.path(getwd(), "ECBW", "BP4", "MASTER.TXT")

#with verbose output as default
bps94 <- readBPS_1994(datFP, mstFP)

#silent output
bps94 <- readBPS_1994(datFP, mstFP, verbose=FALSE)

#force data cache update
bps94 <- readBPS_1994(datFP, mstFP, forceReread = TRUE)
# }

Run the code above in your browser using DataLab