Skip to content

A web scraping program created to get race and driver information from the Formula 1 Official website and store it in a database file.

Notifications You must be signed in to change notification settings

Jorgeguti2/F1-Race-Stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

39 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ๏ธ F1 Race Stats

A web scraping program created to get race and driver information from the Formula 1 Official website and store it in a database file.

๐Ÿ† Build: Run Instructions to Get Each Race's Winner Statistics

Install the needed libraries with the following commands if you are on Windows:

pip install beautifulsoup4
pip install requests

If you are on MacOS or Linux use the commands below:

sudo pip3 install beautifulsoup4
pip3 install requests

cd into the project folder and run the following command in cmd prompt or terminal:

python F1_Race_Winner_Stats.py

or

python3 F1_Race_Winner_Stats.py

๐Ÿ Build: Run Instructions to Get Each Racer's All-Time Career Statistics

Install the needed libraries with the following commands if you are on Windows:

pip install beautifulsoup4
pip install requests

If you are on MacOS or Linux use the commands below:

sudo pip3 install beautifulsoup4
pip3 install requests

cd into the project folder and run the following command in cmd prompt or terminal:

python F1_Driver_Stats.py

or

python3 F1_Driver_Stats.py

SQL Database

The database is a sql database created with sqlite3, and can be viewed/queried within the python code or externally with another program such as DB Browser for SQLite or SQL Server Management Studio.

About

A web scraping program created to get race and driver information from the Formula 1 Official website and store it in a database file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published