| ILSAready | R Documentation |
Downloads ILSA data, merges it, combines students and adds school information.
This function is a wrapper for ILSAdownload, ILSAmerge,
ILSArename, combineStudents, and addSchools.
To see which ILSA are available for this function use availableILSA.
If data is already downloaded you can use ILSAreadylocal.
ILSAready(
study,
year,
outputdir = getwd(),
filetype = c("rds", "zsav", "sav"),
MBlistlimit = 200,
quiet = FALSE,
agreeLicense = FALSE
)
ILSAreadylocal(
inputdir = getwd(),
outputdir = getwd(),
filetype = c("rds", "zsav", "sav"),
quiet = FALSE,
MBlistlimit = 200
)
study |
a string indicating the name of the study. For available studies check the description of this function. |
year |
a numeric value indicating the year of the study. |
outputdir |
the directory where the merged data will be saved. |
filetype |
a string indicating the type of file to be saved, it can
be |
MBlistlimit |
a numerical value indicating the allowed limit of the
combined storage of the files of one type for merging through a list.
Values over the limit will be merged through a matrix, which will be slower
but uses less memory. Default is |
quiet |
a logical value indicating if progress status should be
shown. Default is |
agreeLicense |
a logical value indicating if you agree with
the Disclaimer and License Agreement file from www.iea.nl. If |
inputdir |
a string indicating the path where ILSA 'SPSS' files are stored. |
Saves merged and renamed ILSA data.
dir.create(file.path(tempdir(),"timssadv"),showWarnings = FALSE)
output <- file.path(tempdir(),"timssadv")
input <- system.file("extdata/timssadv", package = "ILSAmerge")
ILSAreadylocal(inputdir = input, outputdir = output, filetype = "zsav")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.