How baalugudipati/ipl-analytics-score works
This repository is a small IPL cricket data and analysis pipeline. Its workflow downloads or reads Cricsheet JSON, parses recent seasons into DuckDB, then runs expected-runs evaluations and batter/bowler performance rankings; a separate script checks the loaded data. The README is empty, and the SQL model file was not excerpted, so its contents and any additional transformations are unknown. Edges below reflect only relationships visible in the provided source excerpts.
Main entry points: load_cricsheet.py Load Cricsheet · expected_runs_model.py Expected runs · runs_above_expected.py Player rankings · run_checks.py Data checks
Components 7
Data pipeline
- Load Cricsheet
ingestion/load_cricsheet.py - SQL models
sql/models.sql - IPL database
Cricket analysis
- Expected runs
analysis/expected_runs_model.py - Player rankings
analysis/runs_above_expected.py
Data checks
- Data checks
checks/run_checks.py
Other components
- Cricsheet
Connections 6
- Cricsheet → Load Cricsheet: provides JSON
ingestion/load_cricsheet.py - Load Cricsheet → SQL models: executes SQL
ingestion/load_cricsheet.py - Load Cricsheet → IPL database: writes tables
ingestion/load_cricsheet.py - Expected runs → IPL database: reads data
analysis/expected_runs_model.py - Player rankings → IPL database: reads data
analysis/runs_above_expected.py - Data checks → IPL database: checks tables
checks/run_checks.py