Add endowment spending distribution, move planning docs to private

- Add IPEDS F2H03C (spending distribution for current use) to endowment schema, loader, queries, and dashboard
- Endowment tab now shows spend rate alongside investment return rate
- Move planning docs to planning/ directory (gitignored)
- Update data dictionary

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
emfurst 2026-04-01 07:27:57 -04:00
commit a766f6ff0d
8 changed files with 22 additions and 344 deletions

View file

@ -379,7 +379,8 @@ def query_endowment(conn: duckdb.DuckDBPyConnection) -> pl.DataFrame:
"""Endowment performance over time."""
return conn.execute("""
SELECT year, endowment_boy, endowment_eoy, new_gifts,
net_investment_return, other_changes, long_term_investments
net_investment_return, spending_distribution, other_changes,
long_term_investments
FROM raw_ipeds_endowment
WHERE unitid = ?
ORDER BY year