ILSAdownload | R Documentation |
Downloads 'SPSS' data from different International Large-Scale Assessments (ILSA). This functions supports the following ILSA: '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.
ILSAdownload(
study,
year,
outputdir = getwd(),
unzip = FALSE,
maxtime = 999,
quiet = FALSE,
agreeLicense = FALSE
)
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.
Default is |
agreeLicense |
a logical value indicating if you agree with
the Disclaimer and License Agreement file from www.iea.nl. If |
Saves 'SPSS' ILSA data locally.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.