BasketballAnalyzeR

BasketballAnalyzeR is an R package that accompanies the book:

P. Zuccolotto and M. Manisera (2020) Basketball Data Science – With Applications in R, Chapman and Hall/CRC. ISBN 9781138600799.

It has been developed by Marco Sandri, Paola Zuccolotto, Marica Manisera (Big&Open Data Innovation Laboratory BODaI-Lab, University of Brescia) and provides functions for analysis and visualization of Basketball Data.

This web page gives details and information about the package.


Supplementary material for the book

Codes for reproducing the case studies presented throughout the book with BasketballAnalyzeR – R code checked under R-3.5.3 for Windows (64 bit) and for Mac OS X 10.11

pdf format

R format

Overview of the book (Chapter Abstracts)


Authors have invested a lot of time and effort in creating this package. Please give credit and cite BasketballAnalyzeR when you use it for data analysis.

Suggested citations:

Download BibTeX citations for the book and the R package BasketballAnalyzeR


How to install BasketballAnalyzeR

BasketballAnalyzeR is on CRAN and github.

Step 1 – Installing R
Step 2 – Installing BasketballAnalyzeR

There are three alternative procedures, that can be optionally chosen by the user.

PROCEDURE 1 – STANDARD INSTALLATION FROM CRAN
PROCEDURE 2 – INSTALLATION FROM LOCAL ZIP FILE
PROCEDURE 3 – INSTALLATION OF THE DEVELOPMENT VERSION

With this procedure the user can install the latest version of the package, with the most recent updates in development version, not yet implemented in the CRAN version of the package.

 

With BasketballAnalyzeR the following packages are automatically installed: ggplot2, hexbin, plyr, dplyr, tidyr, rlang, magrittr, ggrepel, gridExtra, scales, MASS, directlabels, corrplot, ggplotify, network, sna, dendextend, circlize, PBSmapping, sp, operators, stringr, GGally, statnet, common, ggnetwork, readr.


Data for exercises

All the data are in .Rdata format and can be used to reproduce the analyses presented in the book on other datasets


Testimonials


Related work

Fox, A., Manisera, M., Sandri, M., & Zuccolotto, P. (2022). Analyzing Basketball Data with BasketballAnalyzeR. CHANCE, 35(3), 42-56.

Blanco, A. T. (2022). Implementación del paquete de R BasketballAnalyzeR, Máster en Estadística Aplicada, Escuela Internacional de Posgrado, Granada, Spain.

Zuccolotto, P., Manisera, M., & Sandri, M. (2021). Alley‐oop! Basketball analytics in R. Significance, 18(2), 26-31.


FAQ

See the most frequently asked questions


ERRATA CORRIGE of the book “Basketball Data Science”

See the errata corrige


Send your questions to basketballanalyzer.help@unibs.it