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 12760 Worley, Da… CB 25.8 BUF NA 2016 CAR #> 2 13255 Wilson, Qu… CB 24.9 FA NA 2017 IND #> 3 14998 Patmon, De… WR 22.3 IND R 2020 IND #> 4 14272 Austin, Bl… CB 24.4 NYJ NA 2019 NYJ #> 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>, fleaflicker_id <chr>, cbs_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>
# }