View source: R/downloadTALIS.R
downloadTALIS | R Documentation |
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.
downloadTALIS(root, years = c(2008, 2013, 2018), cache = FALSE, verbose = TRUE)
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 |
verbose |
a logical value to either print or suppress status message output.
The default value is |
Tom Fink and Trang Nguyen
readTALIS
## Not run:
# 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.