sportsdataverse / wehoop

An R package to quickly obtain clean and tidy women's basketball play by play data.
https://wehoop.sportsdataverse.org/
Other
23 stars 2 forks source link

Which players on court missing from downloaded WNBA data #37

Open tommyanthony opened 3 months ago

tommyanthony commented 3 months ago

Is your feature request related to a problem? Please describe. I see there is logic here to determine which players are on the court for a given play. However, as far as I can tell, this information is not included in the data downloaded from e.g. https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_wnba_pbp/play_by_play_2023.rds

Am I missing something and this data is included? If not, is it possible to include this data in the download or in some other way?

Describe the solution you'd like A way to download the data without needing to scrape stats.wnba.com. Ideally not everyone interested in this data would need to run the scraping code against stats.wnba.com.

Describe alternatives you've considered N/A

Additional context N/A

BrandanW commented 5 days ago

This is referred to as "rotation" data, and exists for the NBA, but doesn't appear to for this dataset. I'm trying to impute it from substitution and activity data but it's not perfect.

BrandanW commented 5 days ago

Whoops... This exists here: https://github.com/sportsdataverse/wehoop/blob/4fc1ac8b55ec4e1b087b5059608263d631dea5e2/man/wnba_gamerotation.Rd