Uses an Internet connection to download PIAAC data to a computer. Data come from the OECD website.
downloadPIAAC(root, cycle = 1, cache = FALSE, verbose = TRUE)
a character string indicating the directory where the PIAAC data should be stored. Files are placed in a folder named PIAAC/cycle [cycle number].
a numeric value indicating the assessment cycle to download. Valid cycle is 1 only.
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
.
a logical value to either print or suppress status message output.
The default value is TRUE
.
Eric Buehler, Paul Bailey, and Trang Nguyen
if (FALSE) {
# download all available data for PIAAC round 1 to "~/PIAAC/Round 1" folder
# root argument will vary by operating system conventions
downloadPIAAC(root="~/")
}
Run the code above in your browser using DataLab