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

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 12780 Ridgeway, ~ DT 25.8 PHI NA 2016 IND #> 2 13279 Tankersley~ CB 26.8 FA NA 2017 MIA #> 3 15065 Edwards, E~ WR 22.4 LAR R 2020 FA #> 4 14322 Edwards, T~ LB 24 PHI NA 2019 FA #> 5 9816 Berry, Eric S 31.7 FA NA 2010 KCC #> # ... 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>, jersey <chr>, birthdate <date>