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

{fpl}

CRAN status Dependencies CRAN downloads check_cran

Overview

{fpl} is an {R6} wrapper around the Barclays Fantasy Premier League API.

Installation

You can install:

# install.packages("remotes")
remotes::install_github("nathaneastwood/fpl")

Usage

library(fpl)

fpl <- FPL$new()
team <- fpl$get_team(11)
team_players <- team$get_players()

Related Work



nathaneastwood/fpl documentation built on Nov. 22, 2020, 9:27 p.m.