get_player_info: get_player_info

View source: R/player_functions.R

get_player_infoR Documentation

get_player_info

Description

This function fetches selected summary information on selected players given full player name(s).

Usage

get_player_info(name = NULL, season = NULL)

Arguments

name

The player's full name, as listed on the official Fantasy Premier League site (for instance: "Richarlison de Andrade", not "Richarlison"). If blank, the function fetches all players.

season

To retrieve prior season data, enter a 2-digit year corresponding to the start of the historical FPL season of interest (e.g. '17' for the 2017/2018 season).

Examples

get_player_info(name=c("Jesse Lingard","Virgil van Dijk"))

wiscostret/fplscrapR documentation built on June 12, 2022, 8:03 a.m.