All Projects → saiemgilani → cfbscrapR

saiemgilani / cfbscrapR

Licence: other
A scraping and aggregating package using the CollegeFootballData API

Programming Languages

r
7636 projects
CSS
56736 projects

Projects that are alternatives of or similar to cfbscrapR

mysportsfeeds-api
Feature requests for the MySportsFeeds Sports Data API.
Stars: ✭ 44 (+76%)
Mutual labels:  sports, football-data, sports-stats, sportsanalytics, sports-data
football analytics
⚽📊 A collection of football analytics projects, data, and analysis by Edd Webster (@eddwebster), including a curated list of publicly available resources published by the football analytics community.
Stars: ✭ 405 (+1520%)
Mutual labels:  football-data, football, sports-stats, sports-analytics
openrowingmonitor
A free and open source performance monitor for rowing machines
Stars: ✭ 29 (+16%)
Mutual labels:  sports, sports-stats, sports-data, sports-analytics
sportyR
R package for drawing regulation playing surfaces for several sports
Stars: ✭ 84 (+236%)
Mutual labels:  football, sport, sports-data, sports-analytics
NBA-Machine-Learning-Sports-Betting
NBA sports betting using machine learning
Stars: ✭ 150 (+500%)
Mutual labels:  sports, sports-data, sports-betting, sports-analytics
boxball
Prebuilt Docker images with Retrosheet's complete baseball history data for many analytical frameworks. Includes Postgres, cstore_fdw, MySQL, SQLite, Clickhouse, Drill, Parquet, and CSV.
Stars: ✭ 79 (+216%)
Mutual labels:  sports, sports-stats, sports-data
flask-react-d3-celery
A full-stack dockerized web application to visualize Formula 1 race statistics from 2016 to present, with a Python Flask server and a React front-end with d3.js as data visualization tool.
Stars: ✭ 20 (-20%)
Mutual labels:  sports, sports-stats, sports-data
angular-footballdata-api-factory
AngularJS Factory for the football-data.org JSON REST API
Stars: ✭ 48 (+92%)
Mutual labels:  football-data, football, footballdata
worldfootballR
A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat and fotmob
Stars: ✭ 188 (+652%)
Mutual labels:  football-data, football, sports-data
mysportsfeeds-r
R wrapper functions for the MySportsFeeds Sports Data API
Stars: ✭ 27 (+8%)
Mutual labels:  sports-stats, sportsanalytics, sports-data
sport-stats
Sport stats UI components
Stars: ✭ 62 (+148%)
Mutual labels:  sports, sportsanalytics, sports-data
sports.py
A simple Python package to gather live sports scores
Stars: ✭ 51 (+104%)
Mutual labels:  sports, football, sports-stats
scrapeOP
A python package for scraping oddsportal.com
Stars: ✭ 99 (+296%)
Mutual labels:  sports, sports-data
ARGoal
Get more goals. | Virtual Goals & Goal Distance | App Doctor Hu
Stars: ✭ 14 (-44%)
Mutual labels:  sports, football
public sport science datasets
An ongoing compilation of publicly available datasets for sport science projects.
Stars: ✭ 24 (-4%)
Mutual labels:  sports-data, sports-analytics
transfermarkt-datasets
⚽️ Extract, prepare and publish Transfermarkt datasets.
Stars: ✭ 60 (+140%)
Mutual labels:  football-data, football
cfb-database
College football database - data store for all sorts of data and statistics pertaining to college football
Stars: ✭ 21 (-16%)
Mutual labels:  football-data, college-football
React-NBA-Logos
React components for NBA team logos 🏀
Stars: ✭ 50 (+100%)
Mutual labels:  sports, sport
shinyAMS-resources
A compilation of resources for sport scientist building Athlete Management Tools in Shiny
Stars: ✭ 19 (-24%)
Mutual labels:  sport, sports-analytics
Football-Analytics-With-Python
A repository for football analytics
Stars: ✭ 28 (+12%)
Mutual labels:  football-data, football

cfbscrapR [archived]

This Repository is Archived – Use cfbfastR

A scraping and aggregating package using the CollegeFootballData API

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 retrieve data from a plethora of endpoints and supplement that data with additional information (Expected Points Added/Win Probability added).

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 inconsistencies in the underlying data itself. Please report issues here or to https://collegefootballdata.com/.

Installation

You can install cfbscrapR from GitHub with:

# Then can install using the devtools package from either of the following:
devtools::install_github(repo = "saiemgilani/cfbscrapR")
# or the following (these are the exact same packages):
devtools::install_github(repo = "meysubb/cfbscrapR")

Documentation

For more information on the package and function reference, please see the cfbscrapR documentation website.

Expected Points and Win Probability models

If you would like to learn more about the Expected Points and Win Probability models, please refer to the cfbscrapR tutorials or for the code repository where the models are built, click here

Expected Points model calibration plots

(1.31% 1.15% 0.94% Calibration Error)

ep_fg_cv_loso_calibration_results.png

Win Probability model calibration plots

(0.89% 0.787% 0.669% Calibration Error)

wp_cv_loso_calibration_results.png

cfbscrapR 1.0.5

cfbscrapR 1.0.4

cfbscrapR 1.0.3

This was a big update!

  • Updated expected points models and win probability models
  • Add player and yardage columns to cfb_pbp_data() pull thanks to a great deal of help from @NickTice
  • Add spread values to the cfb_pbp_data() pull
  • Add drive detailed result with attempts at creating more accurate drive result labels
  • Added series and first down variables
  • Added argumentation to allow for San Jose State to be entered without accent into cfb_pbp_data() function team argument.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].