pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
CCD — federal universe of all U.S. public K-12 schools (~100K) and districts (~18K). Enrollment, staffing, finance, directory data (1986-present). Use for public school analysis by grade/race/sex. Public only; excludes private and postsecondary.
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-ccd --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/education-data-source-ccdContext preview
The summary Claude sees to decide when to auto-load this skill.
CCD — federal universe of all U.S. public K-12 schools (~100K) and districts (~18K). Enrollment, staffing, finance, directory data (1986-present). Use for public school analysis by grade/race/sex. Public only; excludes private and postsecondary.
name: education-data-source-ccd description: >- CCD — federal universe of all U.S. public K-12 schools (~100K) and districts (~18K). Enrollment, staffing, finance, directory data (1986-present). Use for public school analysis by grade/race/sex. Public only; excludes private and postsecondary. metadata: audience: any-agent domain: data-source skill-authored: "2026-02-09" skill-last-updated: "2026-02-09"
Common Core of Data (CCD) — the federal complete-universe database of all U.S. public K-12 schools and districts (~100,000 schools, ~18,000 districts), collecting enrollment, staffing, finance, and directory data annually (1986-present). Use when analyzing public school enrollment by grade/race/sex, district finances, school staffing, or directory attributes. Public schools and districts only; excludes private schools and postsecondary. Note significant variable encoding and race/ethnicity definition changes over time.
The CCD is the Department of Education's comprehensive, annual, national database of all public elementary and secondary schools and school districts in the United States. It is the only federal dataset that provides a complete universe census (not a sample) of U.S. public K-12 education.
> **CRITICAL: Value Encoding** > > The Education Data Portal uses **integer codes** for categorical variables that > differ from NCES's original string codes. Always verify codes against codebooks. > > | Context | `school_type` | `charter` | `urban_centric_locale` | > |---------|---------------|-----------|------------------------| > | **Portal (integers)** | `1` (Regular) | `0` (No) / `1` (Yes) | `11` (City-Large) | > | NCES original | `1-Regular school` | `Yes` / `No` | `11-City: Large` | > > **Note:** `charter` and `magnet` use `0/1` encoding, NOT `1=Yes / 2=No` as some NCES documentation shows. > > See `./references/variable-definitions.md` for complete encoding tables.
| File | Purpose | When to Read | |------|---------|--------------| | `survey-components.md` | Detailed coverage of each CCD survey component | Understanding what data is collected | | `data-collection.md` | How data flows from schools to NCES, timelines, respondent universe | Understanding data provenance and timing | | `variable-definitions.md` | Key variables, coding schemes, special values | Interpreting specific data elements | | `data-quality.md` | Missing data patterns, suppression, state variations | Assessing data reliability | | `historical-changes.md` | Definition changes, code revisions over time | Longitudinal analysis |
What information do you need?
├─ School/district names, addresses, contacts → Directory
│ └─ See ./references/survey-components.md#directory
├─ Student enrollment counts → Membership
│ ├─ By grade → Membership (grade disaggregation)
│ ├─ By race/ethnicity → Membership (race disaggregation)
│ ├─ By sex → Membership (sex disaggregation)
│ └─ See ./references/survey-components.md#membership
├─ Staff/teacher counts → Staffing
│ └─ See ./references/survey-components.md#staffing
├─ Revenue and expenditure → Finance
│ ├─ State-level totals → National Public Education Financial Survey
│ ├─ District-level detail → School District Finance Survey (F-33)
│ └─ See ./references/survey-components.md#finance
├─ Graduation/dropout rates → Dropout and Completers
│ └─ See ./references/survey-components.md#dropout-completers
└─ School type, charter status, locale → Directory
└─ See ./references/survey-components.md#directoryUnexpected data values?
├─ Negative numbers (-1, -2, -3, -9) → Missing data codes
│ └─ See ./references/variable-definitions.md#missing-data-codes
├─ Very different from prior year → Check for definition changes
│ └─ See ./references/historical-changes.md
├─ State appears as outlier → Check state-specific reporting
│ └─ See ./references/data-quality.md#state-variations
├─ Large number of zeros → Check suppression rules
│ └─ See ./references/data-quality.md#suppression
└─ Locale codes don't match → Pre/post 2006 locale system change
└─ See ./references/historical-changes.md#locale-codesBuilding a time series?
├─ Race/ethnicity categories → Major change in 2010
│ └─ See ./references/historical-changes.md#race-ethnicity
├─ Locale codes → Completely revised in 2006
│ └─ See ./references/historical-changes.md#locale-codes
├─ School/district IDs → Check for ID changes
│ └─ See ./references/variable-definitions.md#identifiers
├─ Free/reduced lunch → CEP and direct certification changes
│ └─ See ./references/data-quality.md#frpl
└─ Finance data → Definition changes and inflation
└─ See ./references/historical-changes.md#finance| Component | Level | Key Variables | Years | Update Cycle | |-----------|-------|---------------|-------|--------------| | Directory | School, LEA, State | Name, address, type, status, locale, charter | 1986+ | Annual | | Membership | School, LEA, State | Enrollment by grade, race, sex | 1986+ | Annual | | Staffing | School
📌 文档结构(2026-07-22 起): 本文件是中文默认入口 —— banner + badges + 信任面 + 9 阶段流水线速览 + 76 行合集总表。 每个合集的完整描述、按用途分组、精确数字、验证方法在 docs/CONTENT_ZH.md(扩展正文,总表行内的 → 直接跳转到对应锚点)。 English version: README-en.md · 中文扩展正文:docs/CONTENT_ZH.md · README-zh-CN.md 已弃用(重定向占位) 🌐 语言: English |
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud /…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven + fixest + sandwich + lmtest +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready manuscript. Use when users want…