ChrisMusson / FPL-ID-Map

A map relating footballers' Fantasy Premier League IDs with IDs from some popular football statistics websites
11 stars 0 forks source link

Updated maps for 2023/24? #1

Closed JPhusion closed 5 months ago

JPhusion commented 11 months ago

Hey Chris,

Are you working on a new map for the upcoming season?

Thanks.

(It josh btw you might remember me from the last 2 years when i asked)

ChrisMusson commented 11 months ago

Hey Josh,

I will be updating it for the upcoming season, but probably not for a couple of weeks

JPhusion commented 11 months ago

Alright thank you very much!

JPhusion commented 11 months ago

Hey Chris, any updates?

ChrisMusson commented 11 months ago

Hey, afraid not for a while still. Suffered some water damage to my laptop so have lost all of my scripts, which will take time to rewrite.

Sorry about that

ChrisMusson commented 5 months ago

Hello again. I'm sorry it took so long, but everything is updated now. I have also included the main scripts in case you want to update things yourself rather than wait for me in the future. The workflow is

  1. Run python add_new_players.py - this will update the FPL 23-24 CSV and also add any players that aren't currently in Master.csv to the bottom of the FBRef, TransferMarkt, and Understat CSVs.
  2. Find the IDs of these newly added players and update the FBRef, TransferMarkt, and Understat CSVs.
  3. Run python generate_master.py. This will rebuild the master CSV from scratch, including the new players that were just found.