Sportsdataverse HoopR Versions Save

An R package to quickly obtain clean and tidy men's basketball play by play data.

v2.1.0

5 months ago
  • load_nba_*() functions now use sportsdataverse-data releases url instead of hoopR-data repository URL
  • load_mbb_*() functions now use sportsdataverse-data releases url instead of hoopR-data repository URL
  • nba_pbp() and nba_pbps() functions add parameter on_court (default TRUE) to return on-court players for each play event, courtesy of @shufinskiy

hoopR 2.0.0

NBA Stats API Live Endpoints

  • nba_live_pbp() function added.
  • nba_live_boxscore() function added.
  • nba_todays_scoreboard() function added.

NBA Boxscore V3 (and V3-styled) Endpoints Added

  • nba_scoreboardv3() function added.
  • nba_boxscoretraditionalv3() function added.
  • nba_boxscoreadvancedv3() function added.
  • nba_boxscoremiscv3() function added.
  • nba_boxscorescoringv3() function added.
  • nba_boxscoreusagev3() function added.
  • nba_boxscorefourfactorsv3() function added.
  • nba_boxscoreplayertrackv3() function added.
  • nba_boxscorematchupsv3() function added.
  • nba_boxscorehustlev2() function added.
  • nba_boxscoredefensivev2() function added.

Other NBA Stats API functions added

  • nba_shotchartlineupdetail() function added.
  • nba_synergyplaytypes() function added.
  • nba_franchiseleaderswrank() function added.
  • nba_videodetailsasset() function added.
  • nba_infographicfanduelplayer() function added.
  • nba_teams() function added.

Other Functions Added

  • ncaa_mbb_teams() function added.

Proxy Capability Added and Other Notes

  • Add rlang dots option for passing httr::use_proxy() option to nba_*() functions
  • Returns documentation added for all working NBA Stats API endpoints and ESPN functions
  • Tests added for all working NBA Stats API endpoints and ESPN functions, over 1000 tests when run locally

hoopR 1.9.1

  • Updates under-the-hood urls to the ESPN site API v2 summary endpoints

hoopR 1.9.0

  • Takes care of tidyselect deprecation of data masking for certain tidyr and dplyr functions.
  • Regular minor maintenance on kp_* functions
  • espn_mbb_game_rosters() function added.
  • espn_nba_game_rosters() function added.

hoopR 1.8.1

  • espn_mbb_player_stats() function exported properly.
  • espn_nba_player_stats() function exported properly.
  • Fixing headers for kp_ functions.

v1.8.0

1 year ago
  • espn_mbb_player_stats() function added.
  • espn_mbb_team_stats() function added.
  • espn_nba_player_stats() function added.
  • espn_nba_team_stats() function added.
  • nba_pbps() function added, courtesy of @papagorgio23.
  • nbagl_players() function added, courtesy of @billyfryer.
  • nbagl_schedule() function added, courtesy of @billyfryer.
  • nbagl_pbp() function added, courtesy of @billyfryer.
  • nbagl_standings() function added, courtesy of @billyfryer.
  • nba_gamerotation() function added.
  • nba_playerindex() function added.
  • nba_playerheadshot() function added.
  • nba_drafthistory() function added.

v1.5.0

2 years ago
  • hoopR v1.5.0 on the CRAN, third package of the sportsdataverse to make it's way onto CRAN thus far
  • Major documentation update to include names of returned lists of data frames for all exported NBA Stats API, ESPN API, KenPom, NCAA and Data repository functions.

v1.4.5

2 years ago
  • Add kp_referee() function

v1.4.4

2 years ago
  • Remove referee ranks from kp_box() function

v1.4.3

2 years ago
  • Option configs changed to revert to user options

v1.4.2

2 years ago
  • Implement additional boxscore function parameters for nba_boxscore(.*) functions

v1.4.1

2 years ago
  • Update teams_links internal dataset for 2022 (need a better solve here)
  • Added nba_teams dataset for working with the NBA Stats API

v1.4.0

2 years ago

v1.3.1

2 years ago
  • Fix kp_winprob function, adding runs as third output