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:![](/Casper-Guo/Armchair-Strategist/raw/main/Docs/visuals/teammate_box.png)
Function call:
driver_stats_distplot(season, event, violin=False, swarm=False, teammate_comp=True, drivers=20)
![](/Casper-Guo/Armchair-Strategist/raw/main/Docs/visuals/teammate_violin.png)
Function call:
driver_stats_distplot(season, event, violin=False, swarm=False, teammate_comp=True, drivers=20)
Build with pip install -e .
Using a virtual environment is recommended.
Run dashboard locally with python3 app.py
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.