Movatterモバイル変換


[0]ホーム

URL:


CRAN Task View: Sports Analytics

Maintainer:Benjamin S. Baumer, Quang Nguyen, Gregory J. Matthews
Contact:ben.baumer at gmail.com
Version:2025-09-09
URL:https://CRAN.R-project.org/view=SportsAnalytics
Source:https://github.com/cran-task-views/SportsAnalytics/
Contributions:Suggestions and improvements for this task view are very welcome and can be made through issues or pull requests on GitHub or via e-mail to the maintainer address. For further details see theContributing guide.
Citation:Benjamin S. Baumer, Quang Nguyen, Gregory J. Matthews (2025). CRAN Task View: Sports Analytics. Version 2025-09-09. URL https://CRAN.R-project.org/view=SportsAnalytics.
Installation:The packages from this task view can be installed automatically using thectv package. For example,ctv::install.views("SportsAnalytics", coreOnly = TRUE) installs all the core packages orctv::update.views("SportsAnalytics") installs all packages that are not yet installed and up-to-date. See theCRAN Task View Initiative for more details.

This CRAN Task View contains a list of packages useful for sports analytics. Most of the packages are sport-specific and are grouped as such. However, we also include aGeneral section for packages that provide ancillary functionality relevant to sports analytics (e.g., team-themed color palettes), and aModeling section for packages useful for statistical modeling. Throughout the task view, and collected in theRelated links section at the end, we have included a list of selected books and articles that use some of these packages in substantive ways. Our goal in compiling this list is to help researchers find the tools they need to complete their work in R.

To be considered for inclusion, the package must be useful for conducting sports analytics. Most packages provide functionality for some combination of:

  1. acquiring data for a specific sport or league
  2. performing common computations on sport-specific data

The list of packages is aspirationally comprehensive. If there is a sports analytics package on CRAN that we have missed, please let us know. Contributions are always welcome, and encouraged – please see the linked GitHub repository for details.

Sport-Specific Packages

American Football 🏈

Association Football (Soccer) ⚽

Australian Rules Football 🏉

Baseball ⚾

Basketball 🏀

Chess ♟

Cricket 🏏

Esports 🎮

Formula 1 🏎️

GPS Tracking 📍

Hockey 🏒

Rugby 🏉

Softball 🥎

Swimming 🏊

Track and Field 🏃

Volleyball 🏐

General

Modeling

A wide array of functions for modeling in sports analytics are available in the R base package (e.g. lm() andglm()). In addition, other CRAN Task Views such asBayesian,FunctionalData,MachineLearning,MixedModels,Spatial,SpatioTemporal, andTimeSeries may contain appropriate packages for applying statistical methods to sports.

Betting

Ratings

CRAN packages

Core:baseballr,BAwiR,BradleyTerry2,Lahman,nflverse.
Regular:AdvancedBasketballStats,Athlytics,BasketballAnalyzeR,bundesligR,ceblR,cfbfastR,chess,ChessGmooG,colorr,combinedevents,cricketdata,cricketr,elo,EloChoice,EloOptimized,EloRating,EUfootball,euroleaguer,f1dataR,fastRhockey,fastrmodels,ffscrapr,fitzRoy,footballpenaltiesBL,footBayes,FPLdata,gameR,ggfootball,ggsoccer,gsisdecoder,hoopR,howzatR,implied,injurytools,ISAR,itscalledsoccer,mlbplotR,mlbstats,mvglmmRank,NBAloveR,nbapalettes,nblR,ncaavolleyballr,nfl4th,nflfastR,nflplotR,nflreadr,nflseedR,NFLSimulatoR,nhlapi,NHLData,nhlscraper,nrlR,odds.converter,oddsapiR,opendotaR,pinnacle.data,piratings,PlayerRatings,ProSportsDraftData,rbedrock,RDota2,retrosheet,RKelly,ROpenDota,rStrava,runexp,socceR,SportsTour,sportyR,SwimmeR,teamcolors,trackeR,trackeRapp,uncmbb,wehoop,welo,worldfootballR,yorkr.
Archived:bigchess,CSGo.

Related links

Other resources


[8]ページ先頭

©2009-2025 Movatter.jp