This repository contains all the code for the armchair strategist dashboard as well as engineered data for F1 races from the 2018 season onwards.
The dashboard and visualizations in this README are updated every Monday at midnight to reflect the latest race.
Teammate Pace Comparisons
Boxplot visualization:Function call:
driver_stats_distplot(season, event, violin=False, swarm=False, teammate_comp=True)
Function call:
driver_stats_distplot(season, event, teammate_comp=True)
Build with pip install -e .
Using a Python virtual environment is highly recommended.
Run dashboard locally with python3 app.py
. Debug mode can be enabled by setting app.run(debug=True)
in app.py
.
You should install pre-commit hooks with pre-commit install
.
All data sourced from the FastF1 package.
Data from all grand prixs and sprint races beginning in the 2018 season, excluding test sessions, are available. This repository will be automatically updated during the F1 season.
See SCHEMA.md
for details on the columns provided in Data/all_laps_*.csv
and Data/transformed_laps_*.csv
files.