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

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

# \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 13179 Dieter, Gehrig WR 28.5 FA NA 2017 FA #> 2 13635 Moore, D.J. WR 24.4 CAR NA 2018 CAR #> 3 15367 Nasirildeen, Hamsah LB 22.6 NYJ R 2021 NYJ #> 4 14861 Johnson, Juwan TE 25 NOS NA 2020 FA #> 5 9940 Woods, Al DT 34.5 SEA NA 2010 NOS #> # … with 17 more variables: draft_round <chr>, draft_pick <chr>, #> # stats_global_id <chr>, stats_id <chr>, cbs_id <chr>, fleaflicker_id <chr>, #> # sportsdata_id <chr>, rotoworld_id <chr>, rotowire_id <chr>, nfl_id <chr>, #> # espn_id <chr>, twitter_username <chr>, college <chr>, height <chr>, #> # weight <chr>, birthdate <date>, jersey <chr>
# }