Add Athletics tab from EADA data
New eada/ ingest downloads Equity in Athletics Disclosure Act files (FY2007-2025) and loads UD's institution totals and per-sport expenses. The Athletics tab shows expenses by category with the FBS transition marked, growth against university spending, cost per undergraduate, share of university expenses, and coach/AD compensation from Schedule J, with sourced context on UD's FY2025 budget messaging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X9jG4CUFcH6n4vFvgtwndY
This commit is contained in:
parent
eb489a782d
commit
726bc232f2
12 changed files with 814 additions and 2 deletions
|
|
@ -21,6 +21,7 @@ All data is drawn from public, open-access sources:
|
|||
|--------|-----------|-------------|----------|
|
||||
| **IPEDS** | U.S. Dept. of Education, NCES | Institutional directory, expenses by function, staffing by occupation, enrollment, endowment, philanthropic gifts | 2005-2024 |
|
||||
| **IRS Form 990** | Internal Revenue Service | Executive compensation (Schedule J), filing financials for UD and UD Research Foundation | Tax years 2015-2025 |
|
||||
| **EADA** | U.S. Dept. of Education, OPE | Athletics expenses by sport, participants, coaching salaries, full-time undergraduate enrollment | FY 2007-2025 |
|
||||
| **BLS CPI-U** | Bureau of Labor Statistics | Consumer Price Index for inflation adjustment (series CUUR0000SA0) | Full history |
|
||||
| **UD Staff Directories** | University of Delaware public web pages | Administrative office headcounts (College of Engineering line management, Provost's Office) | Current snapshot |
|
||||
|
||||
|
|
@ -53,6 +54,14 @@ year. For 2005-2019, only beginning and end-of-year values are reported.
|
|||
contracts. The compensation-vs-giving comparison indexes the President and VP
|
||||
of Development compensation against total philanthropic revenue.
|
||||
|
||||
**Athletics** uses Equity in Athletics Disclosure Act (EADA) filings, keyed by
|
||||
the same IPEDS UNITID. Expenses are split into football, basketball, other
|
||||
sports, and spending not allocated to a single team. Per-student figures use
|
||||
EADA's full-time undergraduate enrollment. Head coach and athletic director
|
||||
compensation comes from Schedule J. EADA reports athletics revenue equal to
|
||||
expenses, so it measures the cost of athletics, not the institutional
|
||||
subsidy.
|
||||
|
||||
**Inflation Adjustment** uses the BLS CPI-U annual average (all items, U.S.
|
||||
city average, not seasonally adjusted). CPI-adjusted values are expressed in
|
||||
the most recent available year's dollars.
|
||||
|
|
|
|||
232
src/admin_analytics/dashboard/pages/athletics.py
Normal file
232
src/admin_analytics/dashboard/pages/athletics.py
Normal file
|
|
@ -0,0 +1,232 @@
|
|||
"""Page: Intercollegiate Athletics."""
|
||||
|
||||
import duckdb
|
||||
from dash import html, dcc
|
||||
import plotly.graph_objects as go
|
||||
|
||||
from admin_analytics.dashboard.components import (
|
||||
graph,
|
||||
kpi_card,
|
||||
kpi_row,
|
||||
chart_row,
|
||||
no_data,
|
||||
)
|
||||
from admin_analytics.dashboard.queries import (
|
||||
CONSISTENT_REPORTING_YEAR,
|
||||
FBS_TRANSITION_YEAR,
|
||||
query_athletics_expenses,
|
||||
query_athletics_vs_university,
|
||||
query_athletics_comp,
|
||||
)
|
||||
|
||||
_NO_DATA = no_data("No athletics data loaded. Run: admin-analytics ingest eada")
|
||||
|
||||
_ROLE_COLORS = {
|
||||
"Head Football Coach": "#00539F",
|
||||
"Head Basketball Coach": "#E07A5F",
|
||||
"Athletic Director": "#7FB069",
|
||||
}
|
||||
|
||||
_CONTEXT = """
|
||||
#### Context
|
||||
|
||||
**University finances.** In October 2024, President Assanis projected a FY2025
|
||||
shortfall of $20–40 million, citing inflation, salary competition, financial
|
||||
aid, and health insurance premiums. The response included a partial hiring
|
||||
freeze, delayed capital projects, $11 million in payroll reductions, and $14
|
||||
million saved by "reducing travel and other expenses"
|
||||
([Newark Post, Oct. 4, 2024](https://www.newarkpostonline.com/news/assanis-on-uds-financial-woes-were-not-out-of-the-woods-yet/article_81015f48-8226-11ef-a864-db72de6d8f73.html)).
|
||||
|
||||
**Athletics.** The same fiscal year (2024–25) was football's transition to the
|
||||
Football Bowl Subdivision ahead of full Conference USA membership on July 1,
|
||||
2025. The Athletic Director told the Faculty Senate in December 2024 that the
|
||||
department had cut institutional support by 24% over five years while growing
|
||||
self-generated revenue and "gradually rais\\[ing\\] student fees," and that the $5
|
||||
million FBS reclassification fee was covered by philanthropy
|
||||
([UDaily](https://udel.edu/udaily/2025/february/faculty-senate-meeting-december-2024)).
|
||||
|
||||
#### Reading these numbers
|
||||
|
||||
- **EADA reports cost, not subsidy.** UD reports athletics revenue equal to
|
||||
expenses every year: institutional support and student fees are counted as
|
||||
revenue to balance the books. These figures show what athletics *costs*,
|
||||
not how much of that cost the university or students cover. Subsidy figures
|
||||
from UD's NCAA financial reports are published by the
|
||||
[Knight-Newhouse College Athletics Database](https://knightnewhousedata.org/fcs/university-delaware).
|
||||
- **"Not allocated by sport"** is spending not assigned to a single team:
|
||||
administration, facilities, conference and reclassification fees, and
|
||||
similar. It doubled in 2024–25. Some of that may be one-time transition
|
||||
costs, and some may be paid by gifts.
|
||||
- **2011–12 drop.** Total and unallocated expenses fall sharply between
|
||||
2010–11 and 2011–12 while per-sport spending keeps rising, which suggests a
|
||||
change in how UD reported shared costs rather than a real cut. The
|
||||
growth comparison therefore starts in FY 2012.
|
||||
- **Years** are fiscal years ending June 30 (2025 = 2024–25). University-wide
|
||||
comparisons stop where IPEDS finance data ends.
|
||||
"""
|
||||
|
||||
|
||||
def _transition_marker(fig: go.Figure) -> None:
|
||||
fig.add_vline(
|
||||
x=FBS_TRANSITION_YEAR, line_dash="dot", line_color="#999",
|
||||
annotation_text="FBS transition", annotation_position="top left",
|
||||
annotation_font_size=11, annotation_font_color="#666",
|
||||
)
|
||||
|
||||
|
||||
def layout(conn: duckdb.DuckDBPyConnection):
|
||||
df = query_athletics_expenses(conn)
|
||||
if df.height == 0:
|
||||
return _NO_DATA
|
||||
|
||||
exp = df.to_pandas()
|
||||
latest = exp.iloc[-1]
|
||||
prior = exp.iloc[-2] if len(exp) > 1 else None
|
||||
year = int(latest["year"])
|
||||
|
||||
vs_df = query_athletics_vs_university(conn)
|
||||
vs = vs_df.to_pandas() if vs_df.height > 0 else None
|
||||
growth_df = query_athletics_vs_university(conn, since=CONSISTENT_REPORTING_YEAR)
|
||||
growth = growth_df.to_pandas() if growth_df.height > 0 else None
|
||||
|
||||
# KPI cards
|
||||
cards = [
|
||||
kpi_card(
|
||||
"Athletics Expenses",
|
||||
f"${latest['total_expenses'] / 1e6:.1f}M",
|
||||
f"FY {year} ({year - 1}–{str(year)[2:]})",
|
||||
),
|
||||
]
|
||||
if prior is not None:
|
||||
change = latest["total_expenses"] - prior["total_expenses"]
|
||||
cards.append(kpi_card(
|
||||
"One-Year Change",
|
||||
f"{change / prior['total_expenses'] * 100:+.0f}%",
|
||||
f"{'+' if change >= 0 else '−'}${abs(change) / 1e6:.1f}M vs FY {int(prior['year'])}",
|
||||
))
|
||||
cards.append(kpi_card(
|
||||
"Per Full-Time Undergraduate",
|
||||
f"${int(latest['per_student']):,}",
|
||||
f"FY {year}",
|
||||
))
|
||||
if vs is not None:
|
||||
last_vs = vs.iloc[-1]
|
||||
cards.append(kpi_card(
|
||||
"Share of University Expenses",
|
||||
f"{last_vs['athletics_pct']:.1f}%",
|
||||
f"FY {int(last_vs['year'])} (latest IPEDS year)",
|
||||
))
|
||||
kpis = kpi_row(cards)
|
||||
|
||||
# Expenses by category, stacked
|
||||
by_cat_fig = go.Figure()
|
||||
for col, label, color in [
|
||||
("football", "Football", "#00539F"),
|
||||
("basketball", "Basketball", "#E07A5F"),
|
||||
("other_sports", "Other sports", "#7FB069"),
|
||||
("unallocated_expenses", "Not allocated by sport", "#B8B8B8"),
|
||||
]:
|
||||
by_cat_fig.add_trace(go.Bar(
|
||||
x=exp["year"], y=exp[col].astype(float) / 1e6,
|
||||
name=label, marker_color=color,
|
||||
))
|
||||
by_cat_fig.add_trace(go.Scatter(
|
||||
x=exp["year"], y=exp["total_expenses_cpi"] / 1e6,
|
||||
mode="lines", name="Total, CPI-adjusted",
|
||||
line={"color": "#333", "dash": "dash"},
|
||||
))
|
||||
_transition_marker(by_cat_fig)
|
||||
by_cat_fig.update_layout(
|
||||
title="Athletics Expenses by Category (Millions $)",
|
||||
xaxis_title="Fiscal Year", yaxis_title="Millions $",
|
||||
barmode="stack", template="plotly_white", height=440,
|
||||
)
|
||||
|
||||
# Growth vs university spending
|
||||
growth_fig = go.Figure()
|
||||
if growth is not None:
|
||||
for col, label, color, dash in [
|
||||
("athletics_index", "Athletics", "#00539F", None),
|
||||
("university_index", "Total university", "#E07A5F", None),
|
||||
("instruction_index", "Instruction", "#7FB069", None),
|
||||
("cpi_index", "CPI-U", "#FFD200", "dash"),
|
||||
]:
|
||||
growth_fig.add_trace(go.Scatter(
|
||||
x=growth["year"], y=growth[col], mode="lines+markers", name=label,
|
||||
line={"color": color, "dash": dash},
|
||||
))
|
||||
growth_fig.add_hline(y=100, line_dash="dot", line_color="#ccc")
|
||||
base_year = int(growth.iloc[0]["year"])
|
||||
else:
|
||||
base_year = None
|
||||
growth_fig.update_layout(
|
||||
title=f"Spending Growth (Indexed, FY {base_year} = 100)" if base_year else "Spending Growth",
|
||||
xaxis_title="Fiscal Year", yaxis_title="Index",
|
||||
template="plotly_white", height=380,
|
||||
)
|
||||
|
||||
# Per-student cost
|
||||
per_student_fig = go.Figure()
|
||||
per_student_fig.add_trace(go.Scatter(
|
||||
x=exp["year"], y=exp["per_student"],
|
||||
mode="lines+markers", name="Nominal", line={"color": "#00539F"},
|
||||
))
|
||||
per_student_fig.add_trace(go.Scatter(
|
||||
x=exp["year"], y=exp["per_student_cpi"],
|
||||
mode="lines+markers", name="CPI-adjusted", line={"color": "#FFD200", "dash": "dash"},
|
||||
))
|
||||
_transition_marker(per_student_fig)
|
||||
per_student_fig.update_layout(
|
||||
title="Athletics Expenses per Full-Time Undergraduate",
|
||||
xaxis_title="Fiscal Year", yaxis_title="$ per student",
|
||||
template="plotly_white", height=380,
|
||||
)
|
||||
|
||||
# Share of university expenses
|
||||
share_fig = go.Figure()
|
||||
if vs is not None:
|
||||
share_fig.add_trace(go.Scatter(
|
||||
x=vs["year"], y=vs["athletics_pct"],
|
||||
mode="lines+markers", name="Athletics share", line={"color": "#00539F"},
|
||||
))
|
||||
share_fig.update_layout(
|
||||
title="Athletics as % of Total University Expenses",
|
||||
xaxis_title="Fiscal Year", yaxis_title="%",
|
||||
template="plotly_white", height=380,
|
||||
)
|
||||
|
||||
# Leadership compensation (Schedule J)
|
||||
comp_df = query_athletics_comp(conn)
|
||||
comp_fig = go.Figure()
|
||||
if comp_df.height > 0:
|
||||
comp = comp_df.to_pandas()
|
||||
for role, color in _ROLE_COLORS.items():
|
||||
subset = comp[comp["role"] == role]
|
||||
if len(subset) == 0:
|
||||
continue
|
||||
# Reindex to every year so missing years show as gaps, not bridges
|
||||
years = range(int(comp["tax_year"].min()), int(comp["tax_year"].max()) + 1)
|
||||
subset = subset.set_index("tax_year").reindex(years)
|
||||
comp_fig.add_trace(go.Scatter(
|
||||
x=list(years), y=subset["total_compensation"],
|
||||
mode="lines+markers", name=role, line={"color": color},
|
||||
customdata=subset["person_name"].fillna(""),
|
||||
hovertemplate="%{customdata}<br>$%{y:,.0f}<extra>" + role + "</extra>",
|
||||
))
|
||||
comp_fig.update_layout(
|
||||
title="Athletics Leadership Compensation (IRS 990 Schedule J)",
|
||||
xaxis_title="Tax Year", yaxis_title="Total compensation ($)",
|
||||
template="plotly_white", height=400,
|
||||
)
|
||||
|
||||
children = [
|
||||
kpis,
|
||||
graph(by_cat_fig),
|
||||
chart_row(graph(growth_fig), graph(per_student_fig)),
|
||||
]
|
||||
if vs is not None:
|
||||
children.append(chart_row(graph(share_fig), graph(comp_fig)))
|
||||
else:
|
||||
children.append(graph(comp_fig))
|
||||
children.append(dcc.Markdown(_CONTEXT, className="note", link_target="_blank"))
|
||||
return html.Div(children)
|
||||
Loading…
Add table
Add a link
Reference in a new issue