knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-", cache = TRUE )
The goal of pisaUSA15
is to make it easy to access the student assessment and questionnaire, teacher questionnaire, and school questionnaire data from the 2015 PISA assessment. The 2015 assessment includes responses from more than 500,000 students, while this package includes the almost 6,000 responses associated with students in the USA.
You can install pisaUSA15 from github with:
# install.packages("devtools") devtools::install_github("jrosen48/pisaUSA15")
Here is how to load the four datasets (just type the name after loading the package with library(pisaUSA15)
; not run for now as very many of the column names are printed):
library(pisaUSA15) stu_assess # student assessments stu_quest # student questionnaires tch_quest # teacher questionnaires sch_quest # school questionnaires
Joining the student assessment and student questionnaire:
library(dplyr) left_join(stu_assess, stu_quest, by = "CNTSTUID")
Joining student-level data (either the student assessment or student questionnaire) with teacher or school questionnaires:
left_join(stu_quest, tch_quest, by = "SCHID") left_join(stu_assess, tch_quest, by = "SCHID")
Joining teacher and school questionnaires:
left_join(tch_quest, sch_quest, by = "SCHID")
You can use the following function to download the codebook through a web browser:
open_codebook()
Depending on your system's default settings, this may open the codebook in the browser or start a download.
Also see these items here: https://view.officeapps.live.com/op/view.aspx?src=https://www.oecd.org/pisa/sitedocument/PISA-2015-Technical-Report-2015-Annex-A-Item-Pool-Classification.xlsx
And the technical report here: http://www.oecd.org/pisa/data/2015-technical-report/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.