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.4 DET NA 2017 NYJ #> 2 13639 Miller, Anthony WR 26.7 CHI NA 2018 CHI #> 3 15391 Williams, Milton DT 22.2 PHI R 2021 PHI #> 4 14877 Young, Chase DE 22.2 WAS NA 2020 WAS #> 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>
# }