Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Stats for nerds #106

Open
Ultimatum22 opened this issue Jul 8, 2023 · 4 comments
Open

[FEATURE] Stats for nerds #106

Ultimatum22 opened this issue Jul 8, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@Ultimatum22
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Not the most useful feature but how about some (unneeded) stats. I sometimes look at www.statsf1.com and this is fine for some (more) scraping.

For example I like these stats to begin with:
https://www.statsf1.com/en/statistiques/pilote/victoire/grille.aspx
https://www.statsf1.com/en/statistiques/pilote/meilleurtour/nombre.aspx

How it looks I have no clue yet and how to extend and what stats to use. I am curious about what you opinion is about such a feature.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Ultimatum22 Ultimatum22 added the enhancement New feature or request label Jul 8, 2023
@BrightDV
Copy link
Owner

That could be a nice idea, depending on how it is added. It was already requested in #10 but I wasn't focused on that topic.
Now I think it is the right time to add it.
However, the biggest issue that I see is that the website isn't too big and I don't want to force them to pay more bandwidth (there isn't even ads).
That said, I've thinked about three places for the stats:

  • In the driver/team details, with a tab "Stats"
  • In the "Compare Screen" that I added some time ago (experimental features) wich does not work, but it could, using this website.
  • In the circuit details screen, with maybe another tab.

I'm not sure whether adding a full section about stats which would only reproduce statsf1's website would be a good way to go.

Also, I've searched a bit and it seems that there is a lot of F1 stats websites, so the requests could be separated between the websites...

@Ultimatum22
Copy link
Contributor Author

Ultimatum22 commented Jul 11, 2023

Yes fair point. I might combine it. I see that ergast has some useful stats, I'll see if I can make a small stats tab as poc.

I already used the caching manager, and was planning todo caching per url for about a week, the info hardly changes, so a week seems to be enough.

@BrightDV
Copy link
Owner

Yes fair point. I might combine it. I see that ergast has some useful stats, I'll see if I can make a small stats tab as poc.

For some f1 statistics-related websites, see: https://rothnic.github.io/formulapy/data_readme.html#data-sources
(Chicane F1 is very complete for drivers)

I already used the caching manager, and was planning todo caching per url for about a week, the info hardly changes, so a week seems to be enough.

That's a good point. Also, I could make a proxy (like the boxbox server) if needed, so the cache would be centralized and would reduce (massively) the number of requests.

@Ultimatum22
Copy link
Contributor Author

For some f1 statistics-related websites, see: https://rothnic.github.io/formulapy/data_readme.html#data-sources (Chicane F1 is very complete for drivers)

I'll take a look at it. I'll make a small POC on the driver page.

That's a good point. Also, I could make a proxy (like the boxbox server) if needed, so the cache would be centralized and would reduce (massively) the number of requests.

Yes that would be nice if you can do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants