Data Pipeline Management

Admin

Monitor and control the automated ingestion pipeline

Provider
ESPN Provider
Real game data from ESPN API

Trigger Ingestion

Manually trigger the data ingestion pipeline. This will fetch recent games from the provider, parse first-half stats, calculate metrics, and update the database.

Ingestion History

Loading...

Architecture Notes

Provider Layer: Modular adapter pattern allows swapping mock provider with real API (e.g., ESPN, Sportradar, NCAA).

First-Half Parsing: Extracts periods 1-2 from play-by-play or box score data, isolating early game performance.

Stat Calculations: Estimates possessions, pace, efficiency metrics, and differentials specific to first half only.

Aggregation: Season averages auto-update after each game ingestion for instant team profile queries.

Scheduling: Can be triggered via cron, webhooks, or manual admin action. Edge function ready for production deployment.