Evidence

Catalog · table

School enrollment

Public school enrollment counts in long format, one row per school, school year, grade, race or ethnicity and sex, from the NCES Common Core of Data school membership file. The source ships roughly 200 wide membership columns whose composition changes across years; they are reshaped here into a single count column. Marginal totals are retained and carry the code 99 on grade, race and sex, so the cells and their totals must not be summed together. Race and sex detail begins in 1998; earlier years carry totals only.

This table provides enrollment counts for public schools in the United States, with one row per school, academic year, grade, race, and sex. Covering the period from 1986 to 2024, it enables longitudinal analysis of student demographics. Analysts must filter out marginal totals, denoted by the code '99' in the grade, race, or sex columns, to avoid double-counting.

Described
by Base dos Dados, Evidence model
Publisher
Departamento de Educação dos Estados Unidos
Source page
basedosdados.org
Licence
Unknown · reuse unknown
Period
1986 to 2024 (by year) · by Base dos Dados
Area
United States
Grain
one row per school, academic year, grade, race, and sex, including marginal totals. · verified on the data
Rows
429,227,731
Source updated
2026-09-02
Topics
Education
Catalog level
L4 · verified

How to use

Connect your agent to Evidence's MCP server and ask in plain language. The agent finds this table, reads its columns and caveats, and runs the query for you.

Connect · Claude Code
claude mcp add --transport http -s user evidence \
  https://mcp.evidence.so/mcp \
  --header "Authorization: Bearer $MCP_API_KEY"

Then ask, for example:

What is the distribution of students by grade in a state for the most recent available year?

Columns (8)

NameTypeRoleDescriptionMeaning
yearintegertimeAno de outono do ano letivo a que o registro se refere (2020 indica o ano letivo 2020-21)Time: reference period, by year
school_idstringreferenceCódigo NCES da escola (12 caracteres: LEAID de 7 caracteres seguido do número da escola de 5 dígitos)Coded by Escola (id_school) · verified
agency_idstringreferenceCódigo NCES da agência local de educação (distrito escolar), ou LEAID (7 caracteres: FIPS estadual de 2 dígitos seguido do número da agência de 5 dígitos)Coded by Distrito Escolar (id_school_district) · verified
state_idstringreferenceCódigo FIPS do estado conforme informado pelo CCDCoded by bdd:us_ed_nces_ccd.school_enrollment/state_id · verified
gradestringdimensionSérie a que se refere a contagem de matrículasCoded by bdd:us_ed_nces_ccd.school_enrollment/grade · verified
racestringdimensionRaça ou etnia a que se refere a contagem de matrículasCoded by bdd:us_ed_nces_ccd.school_enrollment/race · verified
sexstringdimensionSexo a que se refere a contagem de matrículasCoded by bdd:us_ed_nces_ccd.school_enrollment/sex · verified
enrollmentintegermeasureEstudantes matriculados na escola na célula de série, raça e sexo indicadaUnit: Countacross units: sum · over time: last

Caveats

  • other · agency_id

    Preenchido com zeros à esquerda até 7 caracteres na carga; a fonte remove os zeros à esquerda nos extratos de matrícula.

  • methodology · critical · grade, race, sex, enrollment

    Curated by Evidence · full text through the MCP

  • coverage gap · race, sex

    Curated by Evidence · full text through the MCP

  • definition change · warning · race

    Curated by Evidence · full text through the MCP

  • sentinel value · grade, race, sex

    Curated by Evidence · full text through the MCP

  • other · grade

    -1 é pré-escola e constitui uma categoria real, não um código de ausência. 99 é o total entre as séries.

  • other · race

    99 é o total entre os grupos de raça e etnia. O CCD passou de cinco categorias de raça para as sete atuais em 2008-09; a categoria 7 (duas ou mais raças) não aparece antes disso.

  • other · school_id

    Preenchido com zeros à esquerda até 12 caracteres na carga. O único valor de 11 caracteres da fonte (25000031636) é corrigido para 250000301636.

  • other · sex

    99 é o total entre os sexos.

  • other · state_id

    Preenchido com zeros à esquerda até 2 caracteres. O CCD amplia a lista de códigos FIPS estaduais com códigos para jurisdições que não são estados (58 escolas do Departamento de Defesa no exterior, 59 Bureau of Indian Education, 61 e 63 áreas do Departamento de Defesa no país e no exterior), de modo que esta coluna não é uma chave estrangeira estrita para o diretório de estados.

urn:table:bdd:us_ed_nces_ccd.school_enrollment · metadata by Evidence under CC BY 4.0; the data keeps its publisher's licence.