Description Usage Arguments Examples
Converts raw NLS Investigator output to an NLSdata object
1 2 | CreateNLSdata(codebook, csv.extract,
na.strings = c("-1", "-2", "-3", "-4", "-5"))
|
codebook |
the .cdb file from the NLS Investigator export |
csv.extract |
the .csv file from the NLS Investigator export |
na.strings |
which of the missing value situations to represent as NA |
1 2 3 4 5 6 7 8 9 10 11 12 | library(NLSdata)
codebook <- system.file("Investigator", "Religion.cdb", package = "NLSdata")
csv.extract <- system.file("Investigator", "Religion.csv", package = "NLSdata")
nls.obj <- CreateNLSdata(codebook, csv.extract)
class(nls.obj)
names(nls.obj)
head(nls.obj$data[order(nls.obj$data$PUBID.1997), c(2, 8, 9, 11)])
nls.obj$metadata[["YSAQ_282A2.2005"]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.