knitr::opts_chunk$set(collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "75%")
fplr makes it quick 'n' easy to retrieve Fantasy Premier League (FPL) data programmatically, then work with it, all from R.
Get the latest development version of fplr
from GitHub.
# install.packages("remotes") remotes::install_github("ewenme/fplr")
Because of the lack of dev support from FPL and possible API changes, the package is unlikely to be submitted to CRAN and will remain in an experimental lifecycle for the foreseeable future.
Refer to the quickstart guide to get started.
Still, here are some very basic examples of the functionality and practical applications of fplr
.
...on all players in the current FPL season.
library(fplr) players <- fpl_get_player_all() players
knitr::include_graphics("https://github.com/rbind/ewenme/raw/master/static/blog/2019-03-08-xPoints_files/figure-html/value-calc-1.png")
If you want to contribute to the package, try and follow:
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.