NanaSomuah0233 commited on
Commit
f181a81
·
verified ·
1 Parent(s): 51b96f4

Add data/pisa/schema.json

Browse files
Files changed (1) hide show
  1. data/pisa/schema.json +34 -0
data/pisa/schema.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "PISA 2018 (OECD)",
3
+ "source": "https://webfs.oecd.org/pisa2018/ (direct SPSS downloads available)",
4
+ "access": "FREE direct download",
5
+ "scale": "~600K students, ~900 item columns, 80+ countries",
6
+ "files": {
7
+ "SPSS_STU_COG.zip (456 MB)": {
8
+ "CNTSTUID": "Student ID",
9
+ "CNT": "Country",
10
+ "BOOKID": "Booklet",
11
+ "CM*Q*S": "Math items (scored 0/1/2, 7=not administered)",
12
+ "CR*Q*S": "Reading items",
13
+ "CS*Q*S": "Science items"
14
+ },
15
+ "SPSS_STU_QQQ.zip (478 MB)": {
16
+ "CNTSTUID": "Student ID (merge key)",
17
+ "CNT": "Country",
18
+ "ST004D01T": "Gender (1=Female, 2=Male)",
19
+ "ESCS": "SES index (continuous)",
20
+ "IMMIG": "Immigration (1=native,2=1st,3=2nd gen)",
21
+ "LANGN": "Language at home",
22
+ "PV1MATH-PV10MATH": "Plausible values"
23
+ }
24
+ },
25
+ "download_urls": {
26
+ "cognitive": "https://webfs.oecd.org/pisa2018/SPSS_STU_COG.zip",
27
+ "questionnaire": "https://webfs.oecd.org/pisa2018/SPSS_STU_QQQ.zip"
28
+ },
29
+ "python_code": "\nimport pyreadstat\n# Download and extract the zips first, then:\ndf_cog, meta = pyreadstat.read_sav('COG/CY07_MSU_STU_COG.sav')\ndf_qqq, meta = pyreadstat.read_sav('QQQ/CY07_MSU_STU_QQQ.sav')\ndf = df_qqq.merge(df_cog, on=['CNTSTUID','CNT'])\n# Now df has items + demographics per student\n",
30
+ "has_demographics": true,
31
+ "has_item_responses": true,
32
+ "has_selected_answer": false,
33
+ "has_question_text": "PARTIAL ~30-50% in separate OECD PDFs"
34
+ }