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 12758 Bullard, J… DE 27.2 SEA NA 2016 CHI #> 2 13251 Baker, Bud… S 25 ARI NA 2017 ARI #> 3 14975 Murchison,… DE 23.7 TEN R 2020 TEN #> 4 14261 Smith, Sut… LB 24.8 FA NA 2019 PIT #> 5 9763 Fewell, Pe… Coach NA FA NA 0 FA #> # … 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>
# }