A cached table of MFL players. Will store in memory for each session! (via memoise in zzz.R)
Arguments
- conn
optionally, pass in a conn object generated by ff_connect to receive league-specific custom players
Examples
# \donttest{
try({ # try only shown here because sometimes CRAN checks are weird
player_list <- mfl_players()
dplyr::sample_n(player_list, 5)
}) # end try
#> # A tibble: 5 × 25
#> player_id player_name pos age team status draft_year draft_team
#> <chr> <chr> <chr> <dbl> <chr> <chr> <chr> <chr>
#> 1 15404 Jones, Ernest LB 22.6 LAR NA 2021 LAR
#> 2 13502 Hamilton, Justin DT 28.9 WAS NA 2016 FA
#> 3 12955 Manhertz, Chris TE 30.2 JAC NA 2016 FA
#> 4 0706 Bengals, Cincinnati TMPK NA CIN NA 1970 CIN
#> 5 11261 Moore, Damontre DE 29.8 FA NA 2013 NYG
#> # … with 17 more variables: draft_round <chr>, draft_pick <chr>,
#> # stats_global_id <chr>, stats_id <chr>, fleaflicker_id <chr>, cbs_id <chr>,
#> # sportsdata_id <chr>, rotoworld_id <chr>, rotowire_id <chr>, espn_id <chr>,
#> # nfl_id <chr>, twitter_username <chr>, college <chr>, height <chr>,
#> # weight <chr>, birthdate <date>, jersey <chr>
# }