Get ESPN NFL depth chart by year and team

get_depth_chart(season = 2020, team = 23)

Arguments

season

Either numeric or character

team

team_id, can be retrieved via get_nfl_teams

Value

Returns a tibble

Examples

# Get ALL Playoff QBR from 2016 season get_depth_chart("2016", team = 23)
#> # A tibble: 68 × 10 #> season team_id athlete_id pos_grp_id pos_grp pos_id pos_name pos_abb pos_slot #> <chr> <dbl> <chr> <chr> <chr> <chr> <chr> <chr> <int> #> 1 2016 23 2977615 15 Base 3… 11 "Left D… LDE 1 #> 2 2016 23 3699462 15 Base 3… 11 "Left D… LDE 1 #> 3 2016 23 16798 15 Base 3… 11 "Left D… LDE 1 #> 4 2016 23 13233 15 Base 3… 12 "Nose T… NT 2 #> 5 2016 23 4241451 15 Base 3… 12 "Nose T… NT 2 #> 6 2016 23 13977 15 Base 3… 13 "Right … RDE 3 #> 7 2016 23 4035798 15 Base 3… 13 "Right … RDE 3 #> 8 2016 23 3045282 15 Base 3… 26 "Weaksi… WLB 4 #> 9 2016 23 14926 15 Base 3… 26 "Weaksi… WLB 4 #> 10 2016 23 4046688 15 Base 3… 26 "Weaksi… WLB 4 #> # … with 58 more rows, and 1 more variable: pos_rank <int>