espn_players | R Documentation |
A cached table of ESPN NFL players. Will store in memory for each session! (via memoise in zzz.R)
espn_players(conn = NULL, season = NULL)
conn |
a connection object created by |
season |
a season to fetch |
a dataframe containing all ~2000+ active players in the ESPN database
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.