File size: 1,968 Bytes
b345ccc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
  "processing_date": "2025-07-03T23:21:43.275322",
  "processed_years": [
    2015,
    2018,
    2022
  ],
  "file_formats": {
    "2015": "sav",
    "2018": "sav",
    "2022": "sav"
  },
  "key_variables": {
    "student_id": [
      "CNTSTUID",
      "STIDSTD",
      "STUID",
      "STDID",
      "StIDStd"
    ],
    "country": [
      "CNT",
      "CNTRYID",
      "COUNTRY"
    ],
    "school_id": [
      "CNTSCHID",
      "SCHOOLID",
      "SCHID",
      "SCID"
    ],
    "gender": [
      "ST004D01T",
      "ST04Q01",
      "ST003D01T"
    ],
    "age": [
      "AGE",
      "ST003Q02TA",
      "ST003D02T"
    ],
    "grade": [
      "ST001D01T",
      "ST01Q01"
    ],
    "escs": [
      "ESCS"
    ],
    "wealth": [
      "WEALTH"
    ],
    "cultural": [
      "CULTPOSS"
    ],
    "homework_time": [
      "TMINS",
      "ST057Q01TA",
      "ST57Q01",
      "ST046Q01TA"
    ],
    "motivation": [
      "MOTIVAT",
      "MOTIVA"
    ],
    "belong": [
      "BELONG"
    ],
    "perseverance": [
      "PERSEV",
      "GRIT"
    ],
    "math_score": [
      "PV1MATH",
      "PV2MATH",
      "PV3MATH",
      "PV4MATH",
      "PV5MATH"
    ],
    "read_score": [
      "PV1READ",
      "PV2READ",
      "PV3READ",
      "PV4READ",
      "PV5READ"
    ],
    "science_score": [
      "PV1SCIE",
      "PV2SCIE",
      "PV3SCIE",
      "PV4SCIE",
      "PV5SCIE"
    ]
  },
  "output_files": {
    "combined_international": "trend_analysis/pisa_combined_2006_2022.parquet",
    "spain_trends": "spain_trends/spain_trends_2006_2022.parquet",
    "spain_summary": "spain_trends/spain_summary_by_year.csv"
  },
  "notes": {
    "harmonization": "Variables harmonized across years using key_variables mapping",
    "spain_filtering": "Spain identified using country codes: ESP, ES, 724",
    "missing_data": "Missing values preserved as null/NaN in Parquet format",
    "optimization": "Uses column selection and Polars for efficient processing"
  }
}