Learn R Programming

ffscrapr (version 1.4.8)

mfl_players: MFL players library

Description

A cached table of MFL players. Will store in memory for each session! (via memoise in zzz.R)

Usage

mfl_players(conn = NULL)

Value

a dataframe containing all ~2000+ players in the MFL database

Arguments

conn

optionally, pass in a conn object generated by ff_connect to receive league-specific custom players

Examples

Run this code
# \donttest{
try({ # try only shown here because sometimes CRAN checks are weird
  player_list <- mfl_players()
  dplyr::sample_n(player_list, 5)
}) # end try
# }

Run the code above in your browser using DataLab