readBTLS | R Documentation |
Opens a connection to the Beginning Teacher Longitudinal Study (BTLS) waves 1 through 5 data file and
returns an edsurvey.data.frame
with
information about the file and data.
readBTLS(dat_FilePath, spss_FilePath, verbose = TRUE)
dat_FilePath |
a character value to the full path of the BTLS fixed-width (.dat) data file |
spss_FilePath |
a character value to the full path of the SPSS syntax file to process the |
verbose |
a logical value that will determine if you want verbose output while the |
Reads the spss_FilePath
file to parse the dat_FilePath
to an edsurvey.data.frame
.
There is no cached data because the dat_FilePath
format already is in fixed-width format.
an edsurvey.data.frame
for the BTLS waves 1 to 5 longitudinal dataset.
Tom Fink
readECLS_K2011
, readNAEP
, and getData
## Not run:
fld <- "~/EdSurveyData/BTLS"
datPath <- file.path(fld, "ASCII Data File", "BTLS2011_12.dat")
spsPath <- file.path(fld, "Input Syntax for Stata and SPSS", "BTLS2011_12.sps")
#read in the data to an edsurvey.data.frame
btls <- readBTLS(datPath, spsPath, verbose = TRUE)
dim(btls)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.