
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.39 score 433 stars 1 dependents 868 scripts 1.8k 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.72 score 120 stars 1 dependents 203 scripts 712 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.60 score 153 stars 1 dependents 633 scripts 1.9k 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.27 score 113 stars 2 dependents 305 scripts 965 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.19 score 51 stars 1 dependents 193 scripts 721 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.25 score 118 stars 15 scripts
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
5.69 score 25 stars 1 dependents 132 scripts 358 downloads
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.51 score 10 stars 1 dependents 24 scripts 508 downloads
cfbplotR - CFB Logo Plots in 'ggplot2'
A set of functions to visualize College Football analysis in 'ggplot2'.
Last updated
college-footballggplot2sportsdataverse
5.40 score 10 stars 188 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
5.12 score 35 stars 25 scripts 26 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.02 score 19 stars 11 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
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.74 score 11 stars 9 scriptsnwslR - Compiles dataset for the National Women's Soccer League (NWSL)
nwslR is an R package that allows users to access datasets for the National Women’s Soccer League (NWSL). Founded in 2013, the NWSL is the United States’ top professional women’s soccer league, featuring players from all over the world.
Last updated
3.73 score 38 stars 28 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

