View source: R/scrape_nfl_qbr.R
scrape_nfl_qbr | R Documentation |
Scrapes QBR tables for NFL QBs by specific week or at season level.
scrape_nfl_qbr(season = 2019, week = NA, season_type = "Regular")
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" |
This function supercedes 'get_nfl_qbr' due to the ESPN API altering past data.
Returns a tibble
# Scrape ALL Playoff QBR from 2016 season
scrape_nfl_qbr("2016", season_type = "Playoffs", week = NA)
# Scrape Regular season QBR for week 4 of 2019
scrape_nfl_qbr("2019", season_type = "Regular", week = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.