Collection of tools to work with European basketball data. Functions available are related to friendly web scraping, data management and visualization. Data were obtained from <https://www.euroleaguebasketball.net/euroleague/>, <https://www.euroleaguebasketball.net/eurocup/> and <https://www.acb.com/>, following the instructions of their respectives robots.txt files, when available. Box score data are available for the three leagues. Play-by-play and spatial shooting data are also available for the Spanish league. Methods for analysis include a population pyramid, 2D plots, circular plots of players' percentiles, plots of players' monthly/yearly stats, team heatmaps, team shooting plots, team four factors plots, cross-tables with the results of regular season games, maps of nationalities, combinations of lineups, possessions-related variables, timeouts, performance by periods, personal fouls, offensive rebounds and different types of shooting charts. Please see Vinue (2020) <doi:10.1089/big.2018.0124> and Vinue (2024) <doi:10.1089/big.2023.0177>.
Version: | 1.4 |
Depends: | R (≥ 3.5.0) |
Imports: | plyr, dplyr, ggplot2, ggpubr, grid, httr, janitor, jsonlite, lubridate, magrittr, polite, purrr, reshape2, robotstxt, rvest, stringi, stringr, tibble, tidyr, xml2 |
Suggests: | Anthropometry, ggupset, knitr, markdown, packageRank, png, qdapRegex, readr, rmarkdown, rworldmap, scales |
Published: | 2025-10-22 |
DOI: | 10.32614/CRAN.package.BAwiR |
Author: | Guillermo Vinue [aut, cre] |
Maintainer: | Guillermo Vinue <guillermo.vinue at uv.es> |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
URL: | https://www.uv.es/vivigui/basketball_platform.html, https://www.uv.es/vivigui/, https://www.R-project.org |
NeedsCompilation: | no |
Materials: | NEWS |
In views: | SportsAnalytics |
CRAN checks: | BAwiR results |
Reference manual: | BAwiR.html , BAwiR.pdf |
Vignettes: |
Visualization of European basketball data (source, R code) Analysis of Spanish play-by-play data (source, R code) Analysis of Spanish spatial shooting data (source, R code) |
Package source: | BAwiR_1.4.tar.gz |
Windows binaries: | r-devel: BAwiR_1.3.4.zip, r-release: BAwiR_1.3.4.zip, r-oldrel: BAwiR_1.3.4.zip |
macOS binaries: | r-release (arm64): BAwiR_1.3.4.tgz, r-oldrel (arm64): BAwiR_1.3.4.tgz, r-release (x86_64): BAwiR_1.4.tgz, r-oldrel (x86_64): BAwiR_1.4.tgz |
Old sources: | BAwiR archive |
Please use the canonical form https://CRAN.R-project.org/package=BAwiR to link to this page.