vaastav / Fantasy-Premier-League

Creates a .csv file of all players in the English Player League with their respective team and total fantasy points
Other
1.45k stars 808 forks source link

Player teams season 2018-19 and 2019-20 #185

Open matejdrienovsky opened 3 weeks ago

matejdrienovsky commented 3 weeks ago

Is it possible to update cleaned_merged_seasons.csv with data from seasons 2018-19 and 2019-20 with players and their teams ?

vaastav commented 3 weeks ago

I am sorry but I don't have the time at the moment to do that. But, pull requests are welcome :)

matejdrienovsky commented 3 weeks ago

Yes I understand, because I am using the dataset for my bachelor thesis and I encountered a problem that for these two seasons this data is null. Can you advise how to solve this? I will be very glad for the answer.

vaastav commented 3 weeks ago

For 2019-20, you can look at the teams.csv file to get the ids for each team and then compare it against the players_raw.csv file for each player to figure out which player played for which team.

Sadly for 2018-19, the teams.csv file was not stored so this information would require manually figuring out which team corresponds to which id for that season.