Rocket League detailed stat dashboard with expected goals analysis.
See dashboard here: https://sertalpbilal.github.io/rocket_league_analytics
The xG model file is under src/xg_model.
The model depends on having a valid key from ballchasing.com API.
Steps:
- Setting up environment
Add your BallChasing token to.env.samplefile and rename it to.env - Collecting random game data (optional)
Navigate tosrc/scriptsand runpython collect_model_games.py
This step will download latest 1000 ranked double games underdata/modeldirectory. - Generating xG model (optional)
Runpython generate_xg.pyto populate xG model.
Note that you might need to run this inside a Docker container if you cannot installcarballpackage.
This step will populate two files underdata/model:xg.model(gradient boosting xG model) andxg.scaler(feature scaler) - Download your games
You can go toscriptsfolder and runpython download_my_games.py
This step will download your games todata/replayand will populatedata/jsonanddata/dataframedirectories for future use. - Generate the dashboard
Finally you can go tosrcand runpython boxcartest.pyto populate the dashboard.
Click here to view in an alternative format
Click here to view in an alternative format
Alongside all of the charts produced by the program, the program also outputs 11 tables.
Tables for the latest streak of matches can be found here.

