fitzRoy - An R Package to Encourage Reproducible Sports Analysis

The importance of reproducibility, and the related issue of open access to data, has received a lot of recent attention. Momentum on these issues is gathering in the sports analytics community. While Australian Rules football (AFL) is the leading commercial sport in Australia, unlike popular international sports, there has been no mechanism for the public to access comprehensive statistics on players and teams. Expert commentary currently relies heavily on data that isn’t made readily accessible and this produces an unnecessary barrier for the development of an inclusive sports analytics community. We present the R package fitzRoy to provide easy access to AFL statistics.

Robert Nguyen , James Day , David Warton , Oscar Lane
2021-01-14

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2021-005.zip

CRAN packages used

fitzRoy, Rvest, dplyr, purrr, XML

CRAN Task Views implied by cited packages

Databases, ModelDeployment, WebTechnologies

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Nguyen, et al., "The R Journal: fitzRoy - An R Package to Encourage Reproducible Sports Analysis", The R Journal, 2021

BibTeX citation

@article{RJ-2021-005,
  author = {Nguyen, Robert and Day, James and Warton, David and Lane, Oscar},
  title = {The R Journal: fitzRoy - An R Package to Encourage Reproducible Sports Analysis},
  journal = {The R Journal},
  year = {2021},
  note = {https://doi.org/10.32614/RJ-2021-005},
  doi = {10.32614/RJ-2021-005},
  volume = {12},
  issue = {2},
  issn = {2073-4859},
  pages = {82-106}
}