
baseballr - Acquiring and Analyzing Baseball Data
Provides numerous utilities for acquiring and analyzing baseball data from online sources such as 'Baseball Reference' <https://www.baseball-reference.com/>, 'FanGraphs' <https://www.fangraphs.com/>, and the 'MLB Stats' API <https://www.mlb.com/>.
Last updated
baseballpitchfxsabermetricsstatcast
10.42 score 432 stars 1 dependents 838 scripts 1.7k downloads
sportyR - Plot Scaled 'ggplot' Representations of Sports Playing Surfaces
Create scaled 'ggplot' representations of playing surfaces. Playing surfaces are drawn pursuant to rule-book specifications. This package should be used as a baseline plot for displaying any type of tracking data.
Last updated
footballggplot2playing-surfacessportsports-analyticssports-datasports-tracking-datasportsdataversevisualization
9.81 score 120 stars 1 dependents 203 scripts 978 downloads
hoopR - Access Men's Basketball Play by Play Data
A utility to quickly obtain clean and tidy men's basketball play by play, box score, schedule and player data. More than 1,300 functions cover the API of the sports broadcaster 'ESPN' (originally the Entertainment and Sports Programming Network) for the National Basketball Association (NBA) and men's college basketball, with shot locations when available; the 'NBA Stats' API <https://www.nba.com/stats/>; the 'NBA G League'; Ken Pomeroy's men's college basketball statistics website <https://kenpom.com> (for users with an active subscription); the 'CollegeBasketballData' API; 'Bart Torvik'; 'RealGM'; 'Basketball-Reference'; 'Fox Sports'; the National Collegiate Athletic Association ('NCAA'); 'EuroLeague'; and about two dozen international leagues and competitions. Among them are the events of the International Basketball Federation ('FIBA'), Spain's 'Liga ACB' (run by the Association of Basketball Clubs, 'ACB'), Italy's 'Lega Basket', the 'VTB United League' (named after its sponsor, the bank 'VTB'), Japan's 'B.LEAGUE', Australia's National Basketball League ('NBL'), the Korean Basketball League ('KBL') and the Chinese Basketball Association ('CBA'). Loaders read the pre-built play by play, box score and schedule data sets published by the 'SportsDataverse'.
Last updated
basketballcollege-basketballespnkenpomnbanba-analyticsnba-apinba-datanba-statisticsnba-statsnba-stats-apincaancaa-basketballncaa-bracketncaa-playersncaa-ratingsncaamsportsdataverse
9.70 score 158 stars 1 dependents 645 scripts 2.1k downloads
cfbfastR - Access College Football Play by Play Data
A utility to quickly obtain clean and tidy college football data. Wraps the 'CollegeFootballData' API <https://collegefootballdata.com/>, the 'ESPN' college football API <https://www.espn.com>, and the 'Fox Sports' and 'Yahoo Sports' college football feeds; loads pre-built play-by-play, box score, roster and team datasets from the 'SportsDataverse' data releases; and supplements play-by-play with expected points added, win probability added, field goal, fourth down, two point conversion, expected pass, completion probability and quarterback rating models.
Last updated
cfb-datacollege-footballcollege-football-playerscollegefootballdata-apiespnfootballfootball-apifootball-datafootball-scoresfootballdatancaafsportssports-analyticssports-bettingsports-datasports-statssportsanalyticssportsdataverse
9.33 score 114 stars 2 dependents 299 scripts 1.1k downloads
wehoop - Access Women's Basketball Play by Play Data
A utility for working with women's basketball data. A scraping and aggregating interface for the 'WNBA Stats' API <https://stats.wnba.com/> of the Women's National Basketball Association ('WNBA'), the 'ESPN' women's college basketball and 'WNBA' statistics, National Collegiate Athletic Association ('NCAA') women's basketball statistics, 'Fox Sports', 'Basketball-Reference', 'Her Hoop Stats', 'Barttorvik' and the 'WNBA' referee assignments published by the National Basketball Association ('NBA') officiating site. It also reads international women's basketball: International Basketball Federation ('FIBA') competitions, the Spanish Basketball Federation ('FEB') leagues, Germany's women's Basketball Bundesliga ('DBBL'), Japan's 'W League', Australia's Women's National Basketball League ('WNBL'), the Turkish Basketball Federation leagues and leagues served by 'Genius Sports' and 'Sportradar Atrium'. Loaders read pre-scraped play-by-play, box score, schedule and model datasets from the 'SportsDataverse' data releases. It provides users with the capability to access the game play-by-plays, box scores, standings and results to analyze the data for themselves.
Last updated
college-basketballespnespn-statsncaancaa-basketballprofessional-basketball-datasportsdataversewnbawnba-playerswnba-statswomens-basketball
8.24 score 52 stars 1 dependents 191 scripts 752 downloads
ggshakeR - Analytics and Visualization Package for Soccer Data
ggshakeR is an analysis and visualization R package that works with publically available soccer data. The datasets (for now) include FBref, StatsBomb, and understat.
Last updated
analysisdata-analysisdata-visualizationfootball-analyticslibrarymachine-learningplottingsoccersoccer-analyticsvisualization
6.07 score 118 stars
oddsapiR - Access Live Sports Odds from the Odds API
A utility to quickly obtain clean and tidy sports odds from The Odds API <https://the-odds-api.com>. Provides wrappers for every version 4 endpoint -- featured-market and single-event odds (including player props and alternate lines), historical odds snapshots, scores, events, participants, and usage-quota reporting -- returning tidy tibbles ready for analysis.
Last updated
bettingbetting-oddssports-oddssportsdataverse
5.50 score 10 stars 1 dependents 19 scripts 701 downloads
cfbplotR - CFB Logo Plots in 'ggplot2'
A set of functions to visualize College Football analysis in 'ggplot2'.
Last updated
college-footballggplot2sportsdataverse
5.49 score 10 stars 186 scripts
chessR - Functions to Extract, Clean and Analyse Online Chess Game Data
A set of functions to enable users to extract chess game data from popular chess sites, including 'Lichess'<https://lichess.org/> and 'Chess.com' <https://www.chess.com/> and then perform analysis on that game data.
Last updated
4.72 score 35 stars 36 downloads
mlbplotR - Create 'ggplot2' and 'gt' Visuals with Major League Baseball Logos
Tools to help visualize Major League Baseball analysis in 'ggplot2' and 'gt'. You provide team/player information and 'mlbplotR' will transform that information into team colors, logos, or player headshots for graphics.
Last updated
baseballggplot2sportsdataverse
4.57 score 25 stars 1 dependents 505 downloadsrecruitR - A College Sports Recruiting Package
As a college sports recruiting package, recruitR provides users with the access to 247 Composite rankings and recruit information from the CollegeFootballData API.
Last updated
college-footballfootballsportssports-analyticssportsanalyticssportsdataverse
4.07 score 21 stars 16 scripts
sportsdataverse - Easily Install and Load the 'SportsDataverse'
Installs and loads, in a single step, the set of 'sportsdataverse' sports data packages, which work in harmony because they share common data representations and 'API' design. Also reports and updates the installed versions of those packages. Learn more about the 'sportsdataverse' at <https://sportsdataverse.org>.
Last updated
sportssports-analyticssports-datasportsdataverse
4.06 score 19 stars 11 scripts
cfb4th - Optimal Fourth Down Decisions in College Football
Estimate the outcomes of fourth down plays in National Collegiate Athletic Association (NCAA) football and compare the win probability of going for it, attempting a field goal and punting. Each option is scored with expected points, field goal, fourth down conversion and win probability models fitted on 'cfbfastR' play-by-play data, following the approach of 'nfl4th' for the National Football League. Fourth down plays from a single game can be pulled from 'ESPN' and prepared for scoring, and whole seasons of 'cfbfastR' play-by-play can be loaded with the decision columns added.
Last updated
cfbcfb-analyticscfbfastrsportsdataverse
3.78 score 10 stars 9 scripts
softballR - Easily Accessible College Softball Data
A tool for accessing the data hidden on ESPN<https://www.espn.com>, NCAA<https://www.ncaa.com>, and a few others. Scrapes player boxes, team boxes, play-by-play, rankings, team stats, individual stats, and whatever else I can find online.
Last updated
3.76 score 11 stars 15 scripts
usfootballR - Access MLS and NWSL Play-by-Play Data
A utility for working with American soccer data. A scraping and aggregating interface for ESPN's <https://www.espn.com> MLS and NWSL statistics.
Last updated
mlsnwslsoccersoccer-statssportsdataverse
3.62 score 14 stars 8 scripts

