https://github.com/wiscostret/fplscrapR
This package enables those interested in Fantasy Premier League to perform detailed data analysis of the game, using the FPL's JSON API. The fplscrapR functions help R users collect and parse data from the Official Fantasy Premier League website.
https://github.com/wiscostret/fplscrapR
fantasy-football fantasy-premier-league football fpl fpl-json-api
Last synced: 5 months ago
JSON representation
This package enables those interested in Fantasy Premier League to perform detailed data analysis of the game, using the FPL's JSON API. The fplscrapR functions help R users collect and parse data from the Official Fantasy Premier League website.
- Host: GitHub
- URL: https://github.com/wiscostret/fplscrapR
- Owner: wiscostret
- License: cc0-1.0
- Archived: true
- Created: 2019-03-20T08:30:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-05T19:50:24.000Z (over 2 years ago)
- Last Synced: 2024-08-13T07:11:03.665Z (8 months ago)
- Topics: fantasy-football, fantasy-premier-league, football, fpl, fpl-json-api
- Language: R
- Size: 3.99 MB
- Stars: 76
- Watchers: 8
- Forks: 16
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - wiscostret/fplscrapR - This package enables those interested in Fantasy Premier League to perform detailed data analysis of the game, using the FPL's JSON API. The fplscrapR functions help R users collect and parse data fro (R)
README
# fplscrapR
This package enables those interested in [Fantasy Premier League](https://fantasy.premierleague.com) to perform detailed data analysis of the game, using the FPL's JSON API. The fplscrapR functions help R users collect and parse data from the Official Fantasy Premier League website.
## Installation
You can install the released version of fplscrapR from [GitHub](https://github.com/wiscostret/fplscrapR/) with:
``` r
remotes::install_github("wiscostret/fplscrapR")library(fplscrapR)
```
## ExamplesOn the [fplscrapR website](https://wiscostret.github.io/fplscrapR/), you can find examples for alle the functions available in fplscrapR, showing you how you can easily use the package to perform simple yet interesting FPL analysis.
## News
Key changes to fplscrapR v0.2.6:
* All functions updated to align with FPL’s updated API for the 21/22 season.
* Added new functions get_player_ids(), allowing you to easily pull all player ids for combining datasets, e.g. from get_player_info() and get_player_details().
* Added access to key FPL data from the 20/21 season. There is now full coverage going back to 16/17.
* Vignettes updated
* Various bug fixes
## Questions
If you have an questions or wish to collaborate, etc., find me on [GitHub](https://github.com/wiscostret) or [Twitter](https://www.twitter.com/fplscrapR)