Skip to content

Grabs data from the FPL API and creates a dataframe of all players in the English Premier League with their corresponding data, e.g. total points, goals, average points. Also creates .CSV files for data from each game week

License

Notifications You must be signed in to change notification settings

htdavidcharles/Fantasy-Premier-League-in-R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Follow me on twitter at @htdavidcharles

Fantasy Premier League in R

Grabs data from the FPL API and creates a dataframe of all players in the English Premier League with their corresponding data, e.g. total points, goals, average points. Also creates .CSV files for data from each game week

Acknowledgement:

  • Vastaav & SaintJuniper for the player ID's for 2022/23 season

Usage: If you wish to use data from this repository, then please provide a link to this repository as your source.

Updates: I will keep the /gameweek_data/gw_csv folder updated by once every game week has concluded, including an updated clean merged .CSV file found in the /all_player_data folder.

Contributing: If you believe there is any data missing or have any issues, don't hesitate to create an issue and I will get back to you as soon as possible.

Future: I will look to be adding in extra stats for players in the merged files, e.g. xG, xA, Goal-Creating Actions. From fbref or understat.

About

Grabs data from the FPL API and creates a dataframe of all players in the English Premier League with their corresponding data, e.g. total points, goals, average points. Also creates .CSV files for data from each game week

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages