Skip to content

Scraping, visualisation et analyse de résultats d'athlétisme depuis le site bases.athle de la FFA

License

Notifications You must be signed in to change notification settings

Kirscher/ResultAthle

Repository files navigation

ResultAthle

ci documentation

ResultAthle is a project aimed at making statistical tools more accessible at the amateur level in athletics. It addresses the challenges of data manipulation and the lack of accessible descriptive statistics at the club, race, or individual level.

Table of Contents

Installation

To install the necessary dependencies, run the following command:

pip install -r requirements.txt

Usage

Python package

To retrieve the '.csv' file containing the list of results from a running competition on the bases.athle results site, you can use the 'scraping.py' module:

from utils.scraping import get_results
header, data = get_results(url, nb_pages)

Where 'url' is the bases.athle URL of the competition to scrape and 'nb_pages' is the number of result pages you want to scrape.

HTML dashboard with Quarto

Quarto is to be downloaded here: Quarto URL.

To convert the main.ipynb to HTML, run:

quarto render .\main.ipynb --to html

To preview the HTML in localhost, run:

quarto preview .\main.ipynb

To host the HTML, run:

quarto preview main.ipynb --port 5000 --host 0.0.0.0 --execute

Features Under Development

We are continuously working to improve ResultAthle and add new features. Here are some of the features that are currently under development:

  • WebApp: we are developing a web application version of ResultAthle. This webapp will provide users with the flexibility to access and analyze race results from bases.athle.

  • Advanced Scraping Functions: We are in the process of enhancing our web scraping capabilities to provide a more robust and sophisticated data extraction process. This will allow us to gather more detailed and comprehensive data from athletics competitions.

  • Visualization: We are working on new visualization features that will allow users to better understand and interpret the running performance. This includes various types of charts and graphs.

  • Performance Analysis: We are developing new features for analyzing athletic performance. This will include statistical analysis and machine learning algorithms to identify patterns and trends in the data.

Stay tuned for these exciting new features!

License

ResultAthle is licensed under the MIT License. This means you are free to use, modify, and distribute the project, as long as you include the original copyright and license notice in any copy of the software/source.

For more information on the MIT License, see the LICENSE file in this repository or visit MIT License.