View source: R/download_ePIRLS.R
download_ePIRLS | R Documentation |
Uses an Internet connection to download ePIRLS data. Data come from timssandpirls.bc.edu zip files. This function works for 2016 data.
download_ePIRLS(root, years = c(2016), cache = FALSE, verbose = TRUE)
root |
a character string indicating the directory where the ePIRLS data should be stored. Files are placed in a subdirectory named ePIRLS/[year]. |
years |
an integer vector of the assessment years to download. Valid year is 2016 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 |
verbose |
a logical value to either print or suppress status message output.
The default value is |
Tom Fink
read_ePIRLS
## Not run:
# root argument will vary by operating system conventions
download_ePIRLS(years=2016, root = "~/")
# cache=TRUE will download then process the datafiles
download_ePIRLS(years=2016, root = "~/", cache = TRUE)
# set verbose=FALSE for silent output
# if year not specified, download all years
download_ePIRLS(root="~/", verbose = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.