Get ESPN QBR for College football

get_college_qbr(season = 2020, type = "season")

Arguments

season

Numeric or character - greater than 2004

type

character - "season" or "weekly"

Value

tibble

Examples


# Get college QBR from 2014 for players at season level
get_college_qbr(season = 2014, type = "season")
#> Scraping QBR totals for 2014!
#> # A tibble: 129 × 27
#>    season week  week_t…¹ playe…² playe…³ playe…⁴ name_…⁵ name_…⁶ name_…⁷ name_…⁸
#>     <int> <lgl> <chr>    <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr>  
#>  1   2014 NA    Season … 511459  s:20~l… 33be1f… Marcus  Mariota Marcus… M. Mar…
#>  2   2014 NA    Season … 545624  s:20~l… 9c705b… J.T.    Barrett J.T. B… J.T. B…
#>  3   2014 NA    Season … 550021  s:20~l… 3dd077… Nick    Marsha… Nick M… N. Mar…
#>  4   2014 NA    Season … 504052  s:20~l… 2c42ed… Blake   Sims    Blake … B. Sims
#>  5   2014 NA    Season … 531104  s:20~l… 53bc77… Justin  Thomas  Justin… J. Tho…
#>  6   2014 NA    Season … 512705  s:20~l… 0acf47… Connor  Cook    Connor… C. Cook
#>  7   2014 NA    Season … 504004  s:20~l… bbb3c8… Hutson  Mason   Hutson… H. Mas…
#>  8   2014 NA    Season … 549865  s:20~l… b742dd… Kenny   Hill    Kenny … K. Hill
#>  9   2014 NA    Season … 503970  s:20~l… d1cb58… Tyler   Murphy  Tyler … T. Mur…
#> 10   2014 NA    Season … 513329  s:20~l… 3c7588… Cody    Kessler Cody K… C. Kes…
#> # … with 119 more rows, 17 more variables: age <int>, team_name <chr>,
#> #   team_short_name <chr>, slug <chr>, team_id <chr>, team_uid <chr>,
#> #   headshot_href <chr>, qbr_total <dbl>, pts_added <dbl>, qb_plays <dbl>,
#> #   epa_total <dbl>, pass <dbl>, run <dbl>, exp_sack <dbl>, penalty <dbl>,
#> #   qbr_raw <dbl>, sack <dbl>, and abbreviated variable names ¹​week_text,
#> #   ²​player_id, ³​player_uid, ⁴​player_guid, ⁵​name_first, ⁶​name_last,
#> #   ⁷​name_display, ⁸​name_short

# Get weekly college QBR from 2019
# Note the mix of playoffs/bowls and regular season
get_college_qbr(2019, type = "weekly")
#> Scraping QBR for all weeks of 2019!
#> # A tibble: 1,633 × 35
#>    season  week week_t…¹ week_…² playe…³ playe…⁴ playe…⁵ name_…⁶ name_…⁷ name_…⁸
#>     <int> <int> <chr>    <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr>  
#>  1   2019     1 Week 1   Regular 4040715 s:20~l… caceb8… Jalen   Hurts   Jalen …
#>  2   2019     1 Week 1   Regular 4055171 s:20~l… 972702… Anthony Gordon  Anthon…
#>  3   2019     1 Week 1   Regular 4362887 s:20~l… 7e9fbd… Justin  Fields  Justin…
#>  4   2019     1 Week 1   Regular 3915511 s:20~l… e6957d… Joe     Burrow  Joe Bu…
#>  5   2019     1 Week 1   Regular 4036419 s:20~l… e55adf… Skylar  Thomps… Skylar…
#>  6   2019     1 Week 1   Regular 4241479 s:20~l… 3858bb… Tua     Tagova… Tua Ta…
#>  7   2019     1 Week 1   Regular 4361825 s:20~l… f9419f… Spencer Sanders Spence…
#>  8   2019     1 Week 1   Regular 3916726 s:20~l… 4ae2ce… Jon     Wassink Jon Wa…
#>  9   2019     1 Week 1   Regular 3915436 s:20~l… a6b089… Steven  Montez  Steven…
#> 10   2019     1 Week 1   Regular 4259127 s:20~l… 6193ac… Mike    Glass … Mike G…
#> # … with 1,623 more rows, 25 more variables: name_short <chr>,
#> #   headshot_href <chr>, age <int>, team_name <chr>, team_short_name <chr>,
#> #   slug <chr>, team_id <chr>, team_uid <chr>, game_id <chr>, game_date <chr>,
#> #   player_home_away <chr>, score <chr>, opp_team_id <chr>,
#> #   opp_team_name <chr>, opp_team_short_name <chr>, qbr_total <dbl>,
#> #   pts_added <dbl>, qb_plays <dbl>, epa_total <dbl>, pass <dbl>, run <dbl>,
#> #   exp_sack <dbl>, penalty <dbl>, qbr_raw <dbl>, sack <dbl>, and abbreviated …