How ismailoksuz/eafc26-datahub works
EAFC26 DataHub combines a Streamlit player explorer with a separate generator for curated player lists. The user workflow is to choose a ready-made list or adjust custom filters, then view matching players in a table. Internally, the generator reads filter definitions, applies and sorts queries over the player CSV, and writes JSON lists that the dashboard can load. The excerpts show the dashboard’s data and styling paths; other data files are not shown in use.
Main entry points: app_dashboard.py Dashboard orchestration · generate.py List generator · players.csv Player dataset · json Curated player lists
Components 11
Player dashboard
- Dashboard orchestration
src/app_dashboard.py - Player data loader
src/app_dashboard.py - Ready-list navigation
src/app_dashboard.py - Custom filters
src/app_dashboard.py - Player results table
src/app_dashboard.py - Dashboard styles
src/style.css
List generation
- List generator
src/generate.py
Player data
- List filter definitions
data/filters.json - Player dataset
data/players.csv - Curated player lists
output/json
Other components
- Explorer user
Connections 11
- Explorer user → Dashboard orchestration: uses
README.md - Dashboard orchestration → Player data loader: loads data
src/app_dashboard.py - Dashboard orchestration → Ready-list navigation: offers lists
src/app_dashboard.py - Dashboard orchestration → Custom filters: applies filters
src/app_dashboard.py - Dashboard orchestration → Player results table: renders results
src/app_dashboard.py - Dashboard orchestration → Dashboard styles: injects styles
src/app_dashboard.py - Player data loader → Player dataset: reads
src/app_dashboard.py - Player data loader → Curated player lists: reads JSON
src/app_dashboard.py - List generator → Player dataset: reads players
src/generate.py - List generator → List filter definitions: reads filters
src/generate.py - List generator → Curated player lists: writes lists
src/generate.py