Skip to main content

hoopR 1.3.0

Add Full Coverage for NBA Stats API#

Adding roughly 127 functions

FunctionFile Location
nba_alltimeleadersgridsR/nba_stats_leaders.R
nba_assistleadersR/nba_stats_leaders.R
nba_assisttrackerR/nba_stats_leaders.R
nba_boxscoreadvancedv2R/nba_stats_boxscore.R
nba_boxscoredefensiveR/nba_stats_boxscore.R
nba_boxscorefourfactorsv2R/nba_stats_boxscore.R
nba_boxscorematchupsR/nba_stats_boxscore.R
nba_boxscoremiscv2R/nba_stats_boxscore.R
nba_boxscoreplayertrackv2R/nba_stats_boxscore.R
nba_boxscorescoringv2R/nba_stats_boxscore.R
nba_boxscoresimilarityscoreR/nba_stats_boxscore.R
nba_boxscoresummaryv2R/nba_stats_boxscore.R
nba_boxscoretraditionalv2R/nba_stats_boxscore.R
nba_boxscoreusagev2R/nba_stats_boxscore.R
nba_commonallplayersR/nba_stats_roster.R
nba_commonplayerinfoR/nba_stats_roster.R
nba_commonplayoffseriesR/nba_stats_roster.R
nba_commonteamrosterR/nba_stats_roster.R
nba_commonteamyearsR/nba_stats_roster.R
nba_cumestatsplayerR/nba_stats_cume.R
nba_cumestatsplayergamesR/nba_stats_cume.R
nba_cumestatsteamR/nba_stats_cume.R
nba_cumestatsteamgamesR/nba_stats_cume.R
nba_defensehubR/nba_stats_leaders.R
nba_draftboardR/nba_stats_draft.R
nba_draftcombinedrillresultsR/nba_stats_draft.R
nba_draftcombinenonstationaryshootingR/nba_stats_draft.R
nba_draftcombineplayeranthroR/nba_stats_draft.R
nba_draftcombinespotshootingR/nba_stats_draft.R
nba_draftcombinestatsR/nba_stats_draft.R
nba_fantasywidgetR/nba_stats_lineups.R
nba_franchisehistoryR/nba_stats_franchise.R
nba_franchiseleadersR/nba_stats_franchise.R
nba_franchiseplayersR/nba_stats_franchise.R
nba_glalumboxscoresimilarityscoreR/nba_stats_boxscore.R
nba_homepageleadersR/nba_stats_leaders.R
nba_homepagev2R/nba_stats_leaders.R
nba_hustlestatsboxscoreR/nba_stats_boxscore.R
nba_leaderstilesR/nba_stats_leaders.R
nba_leaguedashlineupsR/nba_stats_lineups.R
nba_leaguedashoppptshotR/nba_stats_league_dash.R
nba_leaguedashplayerbiostatsR/nba_stats_league_dash.R
nba_leaguedashplayerclutchR/nba_stats_league_dash.R
nba_leaguedashplayerptshotR/nba_stats_league_dash.R
nba_leaguedashplayershotlocationsR/nba_stats_league_dash.R
nba_leaguedashplayerstatsR/nba_stats_league_dash.R
nba_leaguedashptdefendR/nba_stats_league_dash.R
nba_leaguedashptstatsR/nba_stats_league_dash.R
nba_leaguedashptteamdefendR/nba_stats_league_dash.R
nba_leaguedashteamclutchR/nba_stats_league_dash.R
nba_leaguedashteamptshotR/nba_stats_league_dash.R
nba_leaguedashteamshotlocationsR/nba_stats_league_dash.R
nba_leaguedashteamstatsR/nba_stats_league_dash.R
nba_leaguegamefinderR/nba_stats_league.R
nba_leaguegamelogR/nba_stats_league.R
nba_leaguehustlestatsplayerR/nba_stats_hustle.R
nba_leaguehustlestatsplayerleadersR/nba_stats_hustle.R
nba_leaguehustlestatsteamR/nba_stats_hustle.R
nba_leaguehustlestatsteamleadersR/nba_stats_hustle.R
nba_leagueleadersR/nba_stats_leaders.R
nba_leaguelineupvizR/nba_stats_lineups.R
nba_leagueplayerondetailsR/nba_stats_lineups.R
nba_leagueseasonmatchupsR/nba_stats_lineups.R
nba_leaguestandingsR/nba_stats_league.R
nba_leaguestandingsv3R/nba_stats_league.R
nba_matchupsrollupR/nba_stats_lineups.R
nba_pbpR/nba_stats_pbp.R
nba_playerawardsR/nba_stats_player.R
nba_playercareerbycollegeR/nba_stats_player.R
nba_playercareerbycollegerollupR/nba_stats_player.R
nba_playercareerstatsR/nba_stats_player.R
nba_playercompareR/nba_stats_player.R
nba_playerdashboardbyclutchR/nba_stats_player_dash.R
nba_playerdashboardbygamesplitsR/nba_stats_player_dash.R
nba_playerdashboardbygeneralsplitsR/nba_stats_player_dash.R
nba_playerdashboardbylastngamesR/nba_stats_player_dash.R
nba_playerdashboardbyopponentR/nba_stats_player_dash.R
nba_playerdashboardbyshootingsplitsR/nba_stats_player_dash.R
nba_playerdashboardbyteamperformanceR/nba_stats_player_dash.R
nba_playerdashboardbyyearoveryearR/nba_stats_player_dash.R
nba_playerdashptpassR/nba_stats_player_dash.R
nba_playerdashptrebR/nba_stats_player_dash.R
nba_playerdashptshotdefendR/nba_stats_player_dash.R
nba_playerdashptshotsR/nba_stats_player_dash.R
nba_playerestimatedmetricsR/nba_stats_player.R
nba_playerfantasyprofileR/nba_stats_player.R
nba_playerfantasyprofilebargraphR/nba_stats_player.R
nba_playergamelogR/nba_stats_player.R
nba_playergamelogsR/nba_stats_player.R
nba_playergamestreakfinderR/nba_stats_player.R
nba_playernextngamesR/nba_stats_player.R
nba_playerprofilev2R/nba_stats_player.R
nba_playervsplayerR/nba_stats_player.R
nba_playoffpictureR/nba_stats_league.R
nba_scheduleR/nba_stats_pbp.R
nba_scoreboardR/nba_stats_scoreboard.R
nba_scoreboardv2R/nba_stats_scoreboard.R
nba_shotchartdetailR/nba_stats_shotchart.R
nba_shotchartleaguewideR/nba_stats_shotchart.R
nba_teamdashboardbyclutchR/nba_stats_team_dash.R
nba_teamdashboardbygamesplitsR/nba_stats_team_dash.R
nba_teamdashboardbygeneralsplitsR/nba_stats_team_dash.R
nba_teamdashboardbylastngamesR/nba_stats_team_dash.R
nba_teamdashboardbyopponentR/nba_stats_team_dash.R
nba_teamdashboardbyshootingsplitsR/nba_stats_team_dash.R
nba_teamdashboardbyteamperformanceR/nba_stats_team_dash.R
nba_teamdashboardbyyearoveryearR/nba_stats_team_dash.R
nba_teamdashlineupsR/nba_stats_team_dash.R
nba_teamdashptpassR/nba_stats_team_dash.R
nba_teamdashptrebR/nba_stats_team_dash.R
nba_teamdashptshotsR/nba_stats_team_dash.R
nba_teamdetailsR/nba_stats_team.R
nba_teamestimatedmetricsR/nba_stats_team.R
nba_teamgamelogR/nba_stats_team.R
nba_teamgamelogsR/nba_stats_team.R
nba_teamgamestreakfinderR/nba_stats_team.R
nba_teamhistoricalleadersR/nba_stats_team.R
nba_teaminfocommonR/nba_stats_team.R
nba_teamplayerdashboardR/nba_stats_team.R
nba_teamplayeronoffdetailsR/nba_stats_team.R
nba_teamplayeronoffsummaryR/nba_stats_team.R
nba_teamvsplayerR/nba_stats_team.R
nba_teamyearbyyearstatsR/nba_stats_team.R
nba_videodetailsR/nba_stats_video.R
nba_videoeventsR/nba_stats_video.R
nba_videostatusR/nba_stats_video.R
nba_winprobabilitypbpR/nba_stats_scoreboard.R

hoopR 1.2.0

Add schedule loaders#

hoopR 1.1.0

Add team box score loaders#

Add player box score loaders#

hoopR 1.0.5

Standings functions#

hoopR 1.0.4

Add retry#

  • Adding httr::retry() to all function calls to more naturally navigate rejected/failed requests from the API.

hoopR 1.0.2-3

Quick fix for update db functions#

hoopR 1.0.1-4

Dependency pruning#

This update is a non-user facing change to package dependencies to shrink the list of dependencies.

hoopR 1.0.0

Package renamed to hoopR#

To reflect that the package is no longer just a men's college basketball and KenPom package, but also an NBA package.

Clean names and team returns#

Loading capabilities added to the package#

hoopR 0.4

  • Added support for ESPN's NBA play-by-play endpoints with the addition of the following functions:
  • hoopR::espn_nba_game_all() - a convenience wrapper function around the following three functions (returns the results as a list of three data frames)
  • hoopR::espn_nba_team_box()
  • hoopR::espn_nba_player_box()
  • hoopR::espn_nba_pbp()
  • hoopR::espn_nba_teams()
  • hoopR::espn_nba_scoreboard()

hoopR 0.3.0

Dependencies#

  • R version 3.5.0 or greater dependency added
  • purrr version 0.3.0 or greater dependency added
  • rvest version 1.0.0 or greater dependency added
  • progressr version 0.6.0 or greater dependency added
  • usethis version 1.6.0 or greater dependency added
  • xgboost version 1.1.0 or greater dependency added
  • tidyr version 1.0.0 or greater dependency added
  • stringr version 1.3.0 or greater dependency added
  • tibble version 3.0.0 or greater dependency added
  • furrr dependency added
  • future dependency added

Test coverage#

  • Added tests for all KP and ESPN functions

Function Naming Convention Change#

  • All functions sourced from kenpom.com will start with kp_ as opposed to get_
  • Similarly, data and metrics sourced from ESPN will begin with espn_ as opposed to cbb_. Moreover, all references to cbb_ have been changed to mbb_ as appropriate.
  • Data sourced directly from the NCAA website will start the function with ncaa_

hoopR 0.2.0-3

  • Added support for ESPN's men's college basketball play-by-play endpoints with the addition of the following functions:
  • hoopR::espn_mbb_game_all() - a convenience wrapper function around the following three functions (returns the results as a list of three data frames)
  • hoopR::espn_mbb_team_box()
  • hoopR::espn_mbb_player_box()
  • hoopR::espn_mbb_pbp()
  • hoopR::espn_mbb_teams() (bumps to v0.2.1)
  • hoopR::espn_mbb_conferences() (bumps to v0.2.1)
  • hoopR::espn_mbb_scoreboard() (bumps to v0.2.2)
  • hoopR::ncaa_mbb_NET_rankings() (bumps to v0.2.3)
  • hoopR::espn_mbb_rankings() (bumps to v0.2.3)

hoopR 0.1.0

  • Minor fixes

hoopR 0.0.0.9

Initial Commits, remaining tasks:

  • Game Prep Tables
  • Player Career Tables
  • Game Box Scores
  • Argument assertions