wehoop
is an R package for working with women’s college
and professional basketball data. The package has functions to access
live play by play and box score data from ESPN with
shot locations when available.
A scraping and aggregating interface for ESPN’s women’s college basketball and WNBA statistics. It provides users with the capability to access the API’s game play-by-plays, box scores, standings and results to analyze the data for themselves.
You can install the CRAN version of wehoop
with:
install.packages("wehoop")
You can install the released version of wehoop
from GitHub
with:
# You can install using the pacman package using the following code:
if (!requireNamespace('pacman', quietly = TRUE)){
install.packages('pacman')
}::p_load_current_gh("sportsdataverse/wehoop", dependencies = TRUE, update = TRUE) pacman
::tic()
tictoc::with_progress({
progressr<- wehoop::load_wnba_pbp()
wnba_pbp
})::toc() tictoc
## 0.42 sec elapsed
## 13846 rows of WNBA play-by-play data from 35 games.
::tic()
tictoc::with_progress({
progressr<- wehoop::load_wbb_pbp()
wbb_pbp
})::toc() tictoc
## 13.67 sec elapsed
## 1760447 rows of women's college basketball play-by-play data from 5347 games.
For more information on the package and function reference, please
see the wehoop
documentation website.
To cite the wehoop
R package in publications, use:
BibTex Citation
@misc{hutchinson_gilani_2021_wehoop,
author = {Saiem Gilani and Geoff Hutchinson},
title = {wehoop: The SportsDataverse's R Package for Women's Basketball Data.},
url = {https://wehoop.sportsdataverse.org},
year = {2021}
}