View source: R/download_pisa.R
download_pisa | R Documentation |
Download and import an empty PISA public use file (containing only the first data row) from the OECD homepage.
download_pisa(
year = c("2018", "2015", "2012", "2009", "2006", "2003", "2000"),
data_type = c("stud_quest")
)
year |
Year of the PISA cycle which the data is part of. |
data_type |
Type of the PISA data. Currently supported is student background data ( |
The function downloads a zip file from the OECD homepage into a temporary directory,
unzips it and imports the data with only a single data row via read_sav
.
For downloading full PISA data sets see the EdSurvey package.
The data is imported as a GADSdat
object.
## Not run:
pisa <- download_pisa(year = "2015", data_type = "stud_quest")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.