Learn R Programming

ffscrapr (version 1.4.8)

espn_players: 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)

Value

a dataframe containing all ~2000+ active players in the ESPN database

Arguments

conn

a connection object created by espn_connect or ff_connect()

season

a season to fetch

Examples

Run this code
# \donttest{
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
# }

Run the code above in your browser using DataLab