Scrapes QBR tables for NFL QBs by specific week or at season level.

scrape_nfl_qbr(season = 2019, week = NA, season_type = "Regular")

Arguments

season

Either numeric or character. Must be between 2006 and current season.

week

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

season_type

Character - either "Regular" or "Playoffs"

Value

Returns a tibble

Details

This function supercedes `get_nfl_qbr` due to the ESPN API altering past data.

Examples

# Scrape ALL Playoff QBR from 2016 season
scrape_nfl_qbr("2016", season_type = "Playoffs", week = NA)
#> Error in scrape_nfl_qbr("2016", season_type = "Playoffs", week = NA): could not find function "scrape_nfl_qbr"

# Scrape Regular season QBR for week 4 of 2019
scrape_nfl_qbr("2019", season_type = "Regular", week = 4)
#> Error in scrape_nfl_qbr("2019", season_type = "Regular", week = 4): could not find function "scrape_nfl_qbr"