espn_players {ffscrapr} | R Documentation |
ESPN players library
Description
A cached table of ESPN NFL players. Will store in memory for each session! (via memoise in zzz.R)
Usage
espn_players(conn = NULL, season = NULL)
Arguments
conn |
a connection object created by |
season |
a season to fetch |
Value
a dataframe containing all ~2000+ active players in the ESPN database
Examples
try({ # try only shown here because sometimes CRAN checks are weird
conn <- espn_connect(season = 2020, league_id = 1178049)
espn_players(conn, season = 2020)
}) # end try
[Package ffscrapr version 1.4.8 Index]