This function returns a tibble of team rosters

ff_rosters(conn, ...)

# S3 method for mfl_conn
ff_rosters(conn, custom_players = FALSE, ...)

Arguments

conn

a conn object created by ff_connect()

...

arguments passed to other methods (currently none)

custom_players

TRUE or FALSE - include custom players? defaults to FALSE

Value

A tibble of rosters, joined to basic player information and basic franchise information

Examples

ssb_conn <- ff_connect(platform = "mfl", league_id = 54040, season = 2020) ff_rosters(ssb_conn)
#> # A tibble: 455 x 11 #> franchise_id franchise_name player_id player_name pos team age #> <chr> <chr> <chr> <chr> <chr> <chr> <dbl> #> 1 0001 Team Pikachu 13129 Fournette,~ RB JAC 25.6 #> 2 0001 Team Pikachu 13189 Engram, Ev~ TE NYG 26 #> 3 0001 Team Pikachu 11680 Landry, Ja~ WR CLE 27.7 #> 4 0001 Team Pikachu 13290 Cohen, Tar~ RB CHI 25.1 #> 5 0001 Team Pikachu 13158 Westbrook,~ WR JAC 26.8 #> 6 0001 Team Pikachu 10273 Newton, Cam QB NEP 31.3 #> 7 0001 Team Pikachu 14085 Pollard, T~ RB DAL 23.3 #> 8 0001 Team Pikachu 13139 Williams, ~ RB GBP 25.4 #> 9 0001 Team Pikachu 13649 Hamilton, ~ WR DEN 25.5 #> 10 0001 Team Pikachu 9918 Sanders, E~ WR NOS 33.4 #> # ... with 445 more rows, and 4 more variables: roster_status <chr>, #> # drafted <chr>, draft_year <chr>, draft_round <chr>