downloadPIAAC {EdSurvey}R Documentation

Download and Unzip PIAAC Files

Description

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

Usage

downloadPIAAC(root, cycle = 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/cycle [cycle number].

cycle

a numeric value indicating the assessment cycle to download. Valid cycle is 1 only.

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.

Author(s)

Eric Buehler, Paul Bailey, and Trang Nguyen

Examples

## Not run: 
# download all available data for PIAAC round 1 to "~/PIAAC/Round 1" folder
# root argument will vary by operating system conventions
downloadPIAAC(root="~/")

## End(Not run)

[Package EdSurvey version 2.7.1 Index]