Uses an Internet connection to download TALIS data. Data come from OECD TALIS site international zip files. This function works for 2008, 2013,and 2018 data.
Usage
downloadTALIS(root, years = c(2008, 2013, 2018), cache = FALSE, verbose = TRUE)
Arguments
- root
a character string indicating the directory where the TALIS data should be stored. Files are placed in a subdirectory named TALIS/[year].
- years
a numeric value indicating the assessment year. Available years are 2008, 2013, and 2018.
- 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
if (FALSE) { # \dontrun{
# root argument will vary by operating system conventions
downloadTALIS(root = "~/", years = 2018)
# cache=TRUE will download then process the datafiles
downloadTALIS(root = "~/", years = 2015, cache = TRUE)
# set verbose=FALSE for silent output
# if year not specified, download all years
downloadTALIS(root="~/", verbose = FALSE)
} # }