knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

espnscrapeR

The goal of espnscrapeR is to collect or scrape QBR, NFL standings, and stats from ESPN.

Installation

The development version from GitHub with:

# install.packages("remotes")
remotes::install_github("jthomasmock/espnscrapeR")

Example

library(espnscrapeR)
# Get NFL QBR for the 2019 regular season week 4
get_nfl_qbr("2019", season_type = "Regular", week = 4)
# Get NFL standings for 2010
get_nfl_standings(2010)
# Get NFL 
scrape_espn_stats(2019, stat = "rushing")
# Get college QBR for 2014 week 5
get_college_qbr(season = 2014, type = "weekly")
# Get NFL teams with logos, colors, alternatives, etc
get_nfl_teams()


jthomasmock/espnscrapeR documentation built on Feb. 11, 2024, 4:07 p.m.