naep_gap_variable_jurisdiction
Compare achievement gaps between demographic groups across states. See how the gap in a subject and grade differs between jurisdictions, such as poverty gap in math in Mississippi vs. Massachusetts.
Instructions
Compare how achievement gaps between demographic groups differ across states. Example: Is the poverty gap in math bigger in Mississippi than Massachusetts? Returns innerdiff1 (group gap for focal jurisdiction), innerdiff2 (group gap for target), and the gap between them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year: '2022'. Default: most recent. | |
| grade | Yes | Grade: 4, 8, or 12. | |
| subject | Yes | Subject: 'reading', 'math', 'science', etc. Aliases accepted. | |
| variable | Yes | Non-TOTAL variable with 2+ categories: 'SDRACE', 'GENDER', 'SLUNCH3' | |
| jurisdictions | Yes | 2+ jurisdiction codes comma-separated: 'MA,MS' or 'NP,CA,TX' |