Skip to content
/ wehoop Public

❗ This is a read-only mirror of the CRAN R package repository. wehoop — Access Women's Basketball Play by Play Data. Homepage: https://wehoop.sportsdataverse.orghttps://github.com/sportsdataverse/wehoop Report bugs for this package: https://github.com/sportsdataverse/wehoop/issues

License

Notifications You must be signed in to change notification settings

cran/wehoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wehoop

CRAN status CRAN downloads Version-Number R-CMD-check Lifecycle:maturing

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.

Installation

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')
}
pacman::p_load_current_gh("sportsdataverse/wehoop", dependencies = TRUE, update = TRUE)

Quick Start

WNBA full play-by-play seasons (2002-2023) ~ 1-2 minutes

tictoc::tic()
progressr::with_progress({
  wnba_pbp <- wehoop::load_wnba_pbp()
})
tictoc::toc()
## 1.39 sec elapsed

## 102191 rows of WNBA play-by-play data from 262 games.

Women’s college basketball full play-by-play seasons (2004-2024) ~ 2-3 minutes

tictoc::tic()
progressr::with_progress({
  wbb_pbp <- wehoop::load_wbb_pbp()
})
tictoc::toc()
## 1.7 sec elapsed

## 328507 rows of women's college basketball play-by-play data from 959 games.

Documentation

For more information on the package and function reference, please see the wehoop documentation website.

Breaking Changes

Full News on Releases

Follow the SportsDataverse (@SportsDataverse) on Twitter and star this repo

GitHub stars

Our Authors

  • Saiem Gilani (@saiemgilani)

@saiemgilani

  • Geoff Hutchinson (@HutchNGo)

@hutchngo

Citations

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}
}

About

❗ This is a read-only mirror of the CRAN R package repository. wehoop — Access Women's Basketball Play by Play Data. Homepage: https://wehoop.sportsdataverse.orghttps://github.com/sportsdataverse/wehoop Report bugs for this package: https://github.com/sportsdataverse/wehoop/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages