ILSAdownload {ILSAmerge} | R Documentation |
Download ILSA data
Description
Downloads 'SPSS' data from different International Large-Scale Assessments (ILSA). This functions supports the following ILSA: 'PISA', 'TIMSS', 'TIMSS Advanced', 'PIRLS', 'ICCS', 'ICILS', 'CIVED', 'REDS', 'RLII', and 'SITES.' Depending on the study, you will need to decide which data to download, and read and accept its terms and conditions to proceed with the download.
Usage
ILSAdownload(
study,
year,
outputdir = getwd(),
unzip = FALSE,
maxtime = 999,
quiet = FALSE,
agreeLicense = FALSE
)
Arguments
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 data will be downloaded. |
unzip |
a logical value indicating if files should be unzipped.
Default is |
maxtime |
a numeric value indicating the maximum time allowed for
downloading a file. Default is |
quiet |
a logical value indicating if progress status should be
shown. If a study has sub-studies, e.g. 'PISA' 2009 and this is |
agreeLicense |
a logical value indicating if you agree with
the Disclaimer and License Agreement file from www.iea.nl. If |
Value
Saves 'SPSS' ILSA data locally.
Examples
# For example, to download 'RLII' 1991 data:
# Path where files will be saved
dir.create(file.path(tempdir(),"ILSAdownload"))
output <- file.path(tempdir(),"ILSAdownload")
# Downloading 'RLII' 1991 and unzipping files
ILSAdownload(study = "RLII", year = 1991, outputdir = output, unzip = TRUE, agreeLicense = TRUE)