Google Sheets Structure
Each track is stored in its own sheet tab.
Race blocks contain metadata, horses, and analyst selections.
Phase D – Results & Statistics System
Phase D expands the system from live broadcast graphics into a full results and statistics platform.
Race Results (Dashboard Publish)
↓
JSON files written to /data/results/
↓
System scans all result files
↓
Aggregate statistics generated
↓
Results pages + standings + records
Data Source
All race results are stored as individual JSON files:
/data/results/{location}_{date}_race_{race}.json
These files contain race outcomes, drivers, trainers, and finish positions.
Key Principle
JSON result files are the single source of truth.
Google Sheets is not used for statistics processing.
Planned Features
- Results Web Pages
View results by track and date.
- Driver Statistics
Wins, starts, win percentage, leaderboards.
- Horse Records
Performance tracking and historical results.
- Analyst Scoring
Compare selections vs results and track standings.
Data Processing Approach
- Scan all JSON result files
- Aggregate data dynamically
- No manual data entry required
Future Automation Goals
- Auto-update driver championship Google Sheet
- Auto-update analyst scoring sheet
- Generate leaderboard pages dynamically
Constraints
- Do not modify results JSON structure
- System must tolerate incomplete race data
- No dependency on Google Sheets for stats