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.44k stars 805 forks source link

Understat data confusion #48

Closed ThomasAllan closed 4 years ago

ThomasAllan commented 4 years ago

Hello,

Bit confused with the understat data. There seem to be duplicate files, see;

  1. Fantasy-Premier-League/data/2019-20/understat_Arsenal.csv
  2. Fantasy-Premier-League/data/2019-20/understat/understat_Arsenal.csv

They both seem to have the same headers but the files in the understat folder have header names in alphabetical order where those in the root season folder are in a random order.

Also, using the Arsenal file as an example, the file in the understat folder has less rows than that in the root season folder indicating missing game weeks.

To summarise the understat files in the 2019-20 folder look correct (apart from alphabetical headers) but I would expect them to be in the understat folder not in the root?

vaastav commented 4 years ago

You are correct. The data was just duplicated. As far as I can tell there was no difference between the 2 files. The issue is fixed now and the correct data is in the understat folder and not in the root folder.