meysubb / cfbscrapR-archived

CFB R Package
GNU General Public License v3.0
25 stars 9 forks source link

This repo has been archived. You can find the latet version of the package at:

cfbscrapR

cfbscrapR is an R package for working with CFB data. It is an R API wrapper around https://collegefootballdata.com/. It provides users the capability to get a plethora of endpoints, and supplement that data with additional information (Expected Points Added/Win Probability added). Documentation Page

Note: The API ingests data from ESPN as well as other sources. For details on those source, please go the website linked above. Sometimes there are inconsitences in the underlying data itself. Please report issues here or to https://collegefootballdata.com/.

Installation

You can install cfbscrapR from GitHub with:

# install.packages("devtools")
devtools::install_github("meysubb/cfbscrapR")

Functions

Scraping Data

EPA/WPA

Plots

EP/WP Model

You can find more detailed information and explanation on the EP/WP models in the cfbscrapR-misc repository.
Link: cfbscrapR-misc