https://github.com/adamouization/formula1-crash-stats

:car: :collision: :car: Flask web application parsing F1 DNF stats from Wikipedia and visualising them in charts and tables.

https://github.com/adamouization/formula1-crash-stats

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary

Keywords

circleci f1 flask flask-application flyio formula1 heroku highcharts jquery jquery-datatables python web-scraping webapp
Last synced: 5 months ago · JSON representation

Repository

:car: :collision: :car: Flask web application parsing F1 DNF stats from Wikipedia and visualising them in charts and tables.

Basic Info
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 4
  • Releases: 1
Topics
circleci f1 flask flask-application flyio formula1 heroku highcharts jquery jquery-datatables python web-scraping webapp
Created over 7 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

Formula 1 DNF Stats CircleCI GitHub Repo stars GitHub issues GitHub license GitHub language count GitHub top language

Features

Formula1-DNF-Stats is a web application that parses the source of each Wikipedia page for every Formula 1 season since 1950 in order to gather data about the all DNFs that occurred in the history of F1 and visualise them in plots and tables.

Types of DNFs that are visualised: * Ret - Retirements * NC - Not Classified * DNQ - Did Not Qualify * DNPQ - Did Not Pre Qualify * DSQ - Disqualified * DNS - Did Not Start * DNP - Did Not Practice * Ex - Excluded * WD - Withdrawn

Stack: * Back-end is written in Flask using Python 3.9 * Front-end written in HTML/CSS/JS, charts powered by HighchartsJS and table powered by JQuery Datatables. * Hosted on Render using Gunicorn. * Continuous integration implemented with Travis CI and Render.

You can visit the website live here: f1-dnf-stats.fly.dev

Screenshot

todo

Local Usage

Clone the repository (or download the zipped project): $ git clone https://github.com/Adamouization/Formula1-Crash-Stats

Create a virtual environment for the project and activate it:

python3 -m venv ~/Environments/F1_DNF_Stats source ~/Environments/F1_DNF_Stats/bin/activate

Once you have the virtualenv activated and set up, cd into the project directory and install the requirements needed to run the app:

pip3 install -r requirements.txt

You can now run the app: python3 run.py

The app will be running (Ctrl + C to stop it) and you can visit it at: 127.0.0.1:4000

To run tests: nosetests -v

Releases

  • v1.0: coming soon
  • v0.1: 06/09/2019

Features to Implement

License

Contact

Support

Owner

  • Name: Adam Jaamour
  • Login: Adamouization
  • Kind: user
  • Location: United Kingdom
  • Company: @NewDayTechnology

💻 Data Scientist @NewDayTechnology 🧠 MSc AI @ Uni of St Andrews 📓 BSc Computer Science @ Uni of Bath 💼 Former SWE @ Scuderia Alpha Tauri F1 Team

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 11 months
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.25
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 4
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Adamouization (1)
Pull Request Authors
  • dependabot[bot] (4)
Top Labels
Issue Labels
bug (1) enhancement (1)
Pull Request Labels
dependencies (4)

Dependencies

package-lock.json npm
  • datatables.net 1.12.1
  • datatables.net-dt 1.12.1
  • highcharts 10.2.1
  • jquery 3.6.1
package.json npm
  • datatables.net-dt ^1.12.1
  • highcharts ^10.2.1
  • jquery ^3.6.1
requirements.txt pypi
  • Babel ==2.10.3
  • Flask ==2.2.2
  • Flask-Babel ==2.0.0
  • Flask-Login ==0.6.2
  • Flask-Mail ==0.9.1
  • Flask-OpenID ==1.3.0
  • Flask-SQLAlchemy ==2.5.1
  • Flask-WTF ==1.0.1
  • Flask-WhooshAlchemy ==0.56
  • Jinja2 ==3.1.2
  • MarkupSafe ==2.1.1
  • SQLAlchemy ==1.4.41
  • Tempita ==0.5.2
  • WTForms ==3.0.1
  • Werkzeug ==2.2.2
  • Whoosh ==2.7.4
  • blinker ==1.5
  • click ==8.1.3
  • coverage ==6.4.4
  • decorator ==5.1.1
  • defusedxml ==0.7.1
  • flipflop ==1.0
  • greenlet ==1.1.3
  • guess-language ==0.2
  • gunicorn ==20.1.0
  • importlib-metadata ==4.12.0
  • itsdangerous ==2.1.2
  • nose ==1.3.7
  • pbr ==5.10.0
  • python3-openid ==3.2.0
  • pytz ==2022.2.1
  • six ==1.16.0
  • sqlalchemy-migrate ==0.13.0
  • sqlparse ==0.4.2
  • zipp ==3.8.1