naep_gap_year_jurisdiction
Compare NAEP score changes between two years across jurisdictions to see which region improved or declined more, e.g., COVID learning loss.
Instructions
Compare how score changes between years differ across jurisdictions. Example: Did the COVID learning loss hit California harder than Massachusetts? Returns innerdiff1 (year gap for focal jurisdiction), innerdiff2 (year gap for target), and the gap between them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grade | Yes | Grade: 4, 8, or 12. | |
| years | Yes | Exactly 2 years comma-separated: '2022,2019' | |
| subject | Yes | Subject: 'reading', 'math', 'science', etc. Aliases accepted. | |
| variable | No | 'TOTAL' (default), 'SDRACE', 'GENDER', 'SLUNCH3' | |
| jurisdictions | Yes | 2+ jurisdiction codes comma-separated: 'CA,MA' or 'NP,TX' |