knitr::opts_chunk$set(collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "75%")

fplr

Build Status lifecycle

Overview

fplr makes it quick 'n' easy to retrieve Fantasy Premier League (FPL) data programmatically, then work with it, all from R.

Installation

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.

Usage

Refer to the quickstart guide to get started. Still, here are some very basic examples of the functionality and practical applications of fplr.

Get data

...on all players in the current FPL season.

library(fplr)

players <- fpl_get_player_all()

players

In-the-wild

...xPoints?

knitr::include_graphics("https://github.com/rbind/ewenme/raw/master/static/blog/2019-03-08-xPoints_files/figure-html/value-calc-1.png")

Collaborators

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.



ewenme/fplr documentation built on April 21, 2020, 4:16 a.m.