Learn R Programming

ffscrapr (version 1.4.0)

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)

Arguments

conn

a connection object created by espn_connect or ff_connect()

season

a season to fetch

Value

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

Examples

Run this code
# NOT RUN {
conn <- espn_connect(season = 2020, league_id = 1178049)

player_list <- espn_players(conn, season = 2020)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab