naep_gap_variable_jurisdiction
Compare how large achievement gaps are between demographic groups in two or more U.S. jurisdictions. Get each gap and the difference between them.
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 |
|---|---|---|---|
| subject | Yes | Subject: 'reading', 'math', 'science', etc. Aliases accepted. | |
| grade | Yes | Grade: 4, 8, or 12. | |
| variable | Yes | Non-TOTAL variable with 2+ categories: 'SDRACE', 'GENDER', 'SLUNCH3' | |
| jurisdictions | Yes | 2+ jurisdiction codes comma-separated: 'MA,MS' or 'NP,CA,TX' | |
| year | No | Year: '2022'. Default: most recent. |