The starting 9 man roster using standard roster slots. In the future this function may be adapted to take roster slots from roster_settings().

start_roster(roster)

Arguments

roster

A roster data frame from team_roster().

Value

A data frame of starters on a roster.

See also

Other roster functions: best_roster(), roster_score(), team_roster()

Examples

rost <- team_roster(leagueId = "42654852", leagueHistory = TRUE)[[1]][[1]]
start_roster(rost)
#> # A tibble: 8 × 16
#>   seasonId scoringPeriodId teamId abbrev lineupSlot playerId firstName  lastName
#>      <int>           <int>  <int> <fct>  <fct>         <int> <chr>      <chr>   
#> 1     2021              17      1 AUS    RB          4242335 Jonathan   Taylor  
#> 2     2021              17      1 AUS    RB          4259545 D'Andre    Swift   
#> 3     2021              17      1 AUS    WR            16800 Davante    Adams   
#> 4     2021              17      1 AUS    WR            16460 Adam       Thielen 
#> 5     2021              17      1 AUS    TE          3116365 Mark       Andrews 
#> 6     2021              17      1 AUS    FLEX        3932905 Diontae    Johnson 
#> 7     2021              17      1 AUS    D/ST         -16027 Buccaneers D/ST    
#> 8     2021              17      1 AUS    K           2473037 Jason      Myers   
#> # ℹ 8 more variables: proTeam <fct>, position <fct>, injuryStatus <chr>,
#> #   projectedScore <dbl>, actualScore <dbl>, percentStarted <dbl>,
#> #   percentOwned <dbl>, percentChange <dbl>