-
Hi guys, I am using the repo and the data to start my journey in sports analytics. I'm still new to this so I'm hoping for some help and guidance. I followed the README steps to setup the environment and dependencies on my local.
But I got the error:
So I ran just: However, when I tried to run the season 2022 again with this: I got the same error as above which I got for season 2023. I'm wondering what's going on and how to fix it so that I can run for season 2022 as well as 2021 up until 2013. I should also mention that I altered the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @rgb18, I'd takle this in two steps Step 1: Fixing the missing players file errorThe
The Step 2: Updating data for the new leaguesOnce you've fixed that error and you are sure that part is working for you can continue with modifying the configuration to include more leagues. For that, after you've added the new leagues to
|
Beta Was this translation helpful? Give feedback.
Hi @rgb18,
I'd takle this in two steps
Step 1: Fixing the missing players file error
The
transfermarkt-api
acquirer depends on some data from thetransfermarkt-scraper
acquirer. In particular, it depends on theplayers.json
file that is one of the outputs oftransfermarkt-scraper
. If you haven't eithertransfermarkt-scraper
for all seasons (make acquire_local ACQUIRER=transfermarkt-scraper ARGS="--seasons 2014-2023 --asset players"
) ordvc pull
)The
players.json
files will be missing in your local and therefore you will get that error. I suggest that you run either one of the commands above (note that 2 will be much faster) and try again.S…