mfl_players {ffscrapr} | R Documentation |
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)
Arguments
conn |
optionally, pass in a conn object generated by ff_connect to receive league-specific custom players |
Value
a dataframe containing all ~2000+ players in the MFL database
Examples
try({ # try only shown here because sometimes CRAN checks are weird
player_list <- mfl_players()
dplyr::sample_n(player_list, 5)
}) # end try
[Package ffscrapr version 1.4.8 Index]