naep_gap_year_jurisdiction
Compare how educational score changes between years differ across U.S. jurisdictions to analyze trends like learning loss impacts.
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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | Subject: 'reading', 'math', 'science', etc. Aliases accepted. | |
| grade | Yes | Grade: 4, 8, or 12. | |
| years | Yes | Exactly 2 years comma-separated: '2022,2019' | |
| jurisdictions | Yes | 2+ jurisdiction codes comma-separated: 'CA,MA' or 'NP,TX' | |
| variable | No | 'TOTAL' (default), 'SDRACE', 'GENDER', 'SLUNCH3' |