How c-wilkinson/athlete-activity-dashboard works
This Streamlit dashboard turns configured Excel, CSV, or Google Sheets results into a normalized athletics-performance dataset, then presents it through overview, results, progress, and bests pages. The principal workflow is configuration → source loading → cleaning and event resolution → PB marking → page rendering. The graph also captures charting and shared performance-formatting responsibilities. Relationships are limited to calls shown in excerpts or explicitly documented capabilities; unsampled page internals and configuration wiring are not inferred.
Main entry points: app.py Streamlit App · overview.py Overview · data_loader.py Results Loader · personal_bests.py PB and Season-Best Rules
Components 14
Configuration and Ingestion
- Config Loader
src/config.py - Results Loader
src/data_loader.py
Performance Processing
- Result Normalizer
src/data_cleaner.py - Performance Helpers
src/performances.py - PB and Season-Best Rules
src/personal_bests.py
Dashboard Pages
- Streamlit App
app.py - Overview
src/pages/overview.py - Results Explorer
src/pages/results.py - Progress Page
src/pages/progress.py - Bests Page
src/pages/personal_bests.py
Charts
- Chart Builders
src/charts.py
Other components
- Athlete
- Configured Results Source
- Athlete Profile Links
Connections 17
- Athlete → Streamlit App: uses dashboard
README.md - Streamlit App → Config Loader: loads settings
app.py - Streamlit App → Results Loader: loads results
app.py - Results Loader → Config Loader: resolves paths
src/data_loader.py - Results Loader → Configured Results Source: reads configured source
README.md - Streamlit App → Result Normalizer: normalizes rows
app.py - Result Normalizer → Performance Helpers: formats and calculates
src/data_cleaner.py - Streamlit App → PB and Season-Best Rules: marks performances
app.py - Streamlit App → Overview: routes to
app.py - Streamlit App → Results Explorer: routes to
app.py - Streamlit App → Progress Page: routes to
app.py - Streamlit App → Bests Page: routes to
app.py - Overview → PB and Season-Best Rules: calculates current bests
src/pages/overview.py - Bests Page → PB and Season-Best Rules: calculates lifetime and season bests
src/pages/personal_bests.py - Overview → Chart Builders: builds progress chart
src/pages/overview.py - Progress Page → Chart Builders: builds progress and age charts
src/pages/progress.py - Overview → Athlete Profile Links: displays configured links
README.md