Learn R Programming

EdSurvey (version 2.2.3)

downloadPIAAC: Download and Unzip PIAAC Files

Description

Uses a connection to download PIAAC data to a computer. Data come from the OECD website.

Usage

downloadPIAAC(root, round = 1, cache = FALSE, verbose = TRUE)

Arguments

root

a character string indicating the directory where the PIAAC data should be stored. Files are placed in a folder named PIAAC/Round [round number].

round

a numeric value indicating the assessment round to download. Valid round is 1 only (2012/2014).

cache

a logical value set to process and cache the text (.txt) version of files. This takes a very long time but saves time for future uses of the data. Default value is FALSE.

verbose

a logical value to either print or suppress status message output. The default value is TRUE.

Examples

Run this code
# NOT RUN {
# Download all available data for PIAAC round 1 to "C:/PIAAC/Round 1" folder
# root argument will vary by operating system conventions
downloadPIAAC(root="C:/")
# }

Run the code above in your browser using DataLab