- Notifications
You must be signed in to change notification settings - Fork3
An R package to quickly obtain clean and tidy women's basketball play by play data.
License
Unknown, MIT licenses found
Licenses found
sportsdataverse/wehoop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
wehoop
is an R package for working with women’s college andprofessional basketball data. The package has functions to accessliveplay by play and box score data from ESPN with shot locations whenavailable.
A scraping and aggregating interface for ESPN’s women’s collegebasketball and WNBA statistics. It provides users with the capability toaccess the API’s game play-by-plays, box scores, standings and resultsto analyze the data for themselves.
You can install the CRAN version ofwehoop
with:
install.packages("wehoop")
You can install the released version ofwehoop
fromGitHub with:
# You can install using the pacman package using the following code:if (!requireNamespace('pacman',quietly=TRUE)){ install.packages('pacman')}pacman::p_load_current_gh("sportsdataverse/wehoop",dependencies=TRUE,update=TRUE)
tictoc::tic()progressr::with_progress({wnba_pbp<-wehoop::load_wnba_pbp()})tictoc::toc()
## 1.08 sec elapsed## 58334 rows of WNBA play-by-play data from 150 games.
tictoc::tic()progressr::with_progress({wbb_pbp<-wehoop::load_wbb_pbp()})tictoc::toc()
## 6.55 sec elapsed## 1908679 rows of women's college basketball play-by-play data from 5779 games.
For more information on the package and function reference, please seethewehoop
documentationwebsite.
- Saiem Gilani (@saiemgilani)
- Geoff Hutchinson (@HutchNGo)
To cite thewehoop
R packagein publications, use:
BibTex Citation
@misc{hutchinson_gilani_2021_wehoop,title ={wehoop: Access Women’s Basketball Play by Play Data},url ={http://doi.org/10.32614/CRAN.package.wehoop},DOI ={10.32614/cran.package.wehoop},journal ={CRAN: Contributed Packages},publisher ={The R Foundation},author ={Gilani, Saiem and Hutchinson, Geoffery},year ={2021},month = nov }
About
An R package to quickly obtain clean and tidy women's basketball play by play data.