Get ESPN QBR for NFL football

get_nfl_qbr(season = 2020, week = NA, season_type = "Regular")

Arguments

season

Either numeric or character

week

Either NA to return season or week 1 to 4 for playoffs or 1 to 17 for regular

season_type

Character - either "Regular" or "Playoffs"

Value

Returns a tibble

Examples

# Get ALL Playoff QBR from 2016 season get_nfl_qbr("2016", season_type = "Playoffs", week = NA)
#> Scraping QBR totals for 2016!
#> # A tibble: 16 × 23 #> season season_type game_week team_abb player_id name_short rank qbr_total #> <chr> <chr> <chr> <chr> <chr> <chr> <dbl> <dbl> #> 1 2016 Playoffs Season Total ATL 11237 M. Ryan 1 90.5 #> 2 2016 Playoffs Season Total GB 8439 A. Rodgers 2 83.2 #> 3 2016 Playoffs Season Total NE 2330 T. Brady 3 75.8 #> 4 2016 Playoffs Season Total DAL 2577417 D. Presco… 4 73.6 #> 5 2016 Playoffs Season Total SEA 14881 R. Wilson 5 60.3 #> 6 2016 Playoffs Season Total PIT 5536 B. Roethl… 6 58.7 #> 7 2016 Playoffs Season Total NYG 5526 E. Manning 7 46.9 #> 8 2016 Playoffs Season Total MIA 11128 M. Moore 8 44.9 #> 9 2016 Playoffs Season Total DET 12483 M. Staffo… 9 44.1 #> 10 2016 Playoffs Season Total HOU 14879 B. Osweil… 10 40.6 #> 11 2016 Playoffs Season Total KC 8416 A. Smith 11 31.4 #> 12 2016 Playoffs Season Total OAK 2576261 C. Cook 12 6.5 #> 13 2016 Playoffs Season Total GB 2577189 B. Hundley NA 99.9 #> 14 2016 Playoffs Season Total KC 16020 S. Ware NA 98.8 #> 15 2016 Playoffs Season Total ATL 14922 M. Sanu S… NA 84.3 #> 16 2016 Playoffs Season Total NE 12649 J. Edelman NA 0 #> # … with 15 more variables: pts_added <dbl>, qb_plays <dbl>, epa_total <dbl>, #> # pass <dbl>, run <dbl>, exp_sack <dbl>, penalty <dbl>, qbr_raw <dbl>, #> # sack <dbl>, name_first <chr>, name_last <chr>, name_display <chr>, #> # headshot_href <chr>, team <chr>, qualified <lgl>
# Get Regular season QBR for week 4 of 2019 get_nfl_qbr("2019", season_type = "Regular", week = 4)
#> Scraping weekly QBR for week 4 of 2019!
#> # A tibble: 31 × 30 #> season season_type game_id game_week week_text team_abb player_id name_short #> <chr> <chr> <chr> <int> <chr> <chr> <chr> <chr> #> 1 2019 Regular 401128069 4 Week 4 TB 2969939 J. Winston #> 2 2019 Regular 401127863 4 Week 4 PHI 2573079 C. Wentz #> 3 2019 Regular 401128109 4 Week 4 PIT 3116407 M. Rudolph #> 4 2019 Regular 401128055 4 Week 4 LAC 5529 P. Rivers #> 5 2019 Regular 401128093 4 Week 4 CHI 12471 C. Daniel #> 6 2019 Regular 401128102 4 Week 4 DAL 2577417 D. Presco… #> 7 2019 Regular 401128023 4 Week 4 DET 12483 M. Staffo… #> 8 2019 Regular 401128097 4 Week 4 DEN 11252 J. Flacco #> 9 2019 Regular 401127863 4 Week 4 GB 8439 A. Rodgers #> 10 2019 Regular 401128018 4 Week 4 CLE 3052587 B. Mayfie… #> # … with 21 more rows, and 22 more variables: rank <dbl>, 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>, name_first <chr>, #> # name_last <chr>, name_display <chr>, headshot_href <chr>, team <chr>, #> # opp_id <chr>, opp_abb <chr>, opp_team <chr>, opp_name <chr>, #> # week_num <int>, qualified <lgl>