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{ player_list <- mfl_players() dplyr::sample_n(player_list, 5)
#> # A tibble: 5 x 25 #> player_id player_name pos age team status draft_year draft_team #> <chr> <chr> <chr> <dbl> <chr> <chr> <chr> <chr> #> 1 13183 Hansen, Chad WR 26.5 DET NA 2017 NYJ #> 2 13639 Miller, Anthony WR 26.8 CHI NA 2018 CHI #> 3 15388 Ossai, Joseph DE 21.3 CIN R 2021 CIN #> 4 14876 Deguara, Josiah TE 24.4 GBP NA 2020 GBP #> 5 9940 Woods, Al DT 34.3 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>
# }