nbastatR icon indicating copy to clipboard operation
nbastatR copied to clipboard

NBA Stats API Wrapper and more for R

Results 37 nbastatR issues
Sort by recently updated
recently updated
newest added

When using the function to get player salary this error keeps popping up. If anyone knows how to fix this, it would be appreciated! > nba_insider_salaries(assume_player_opt_out = T, assume_team_doesnt_exercise =...

When using the following code: bref_players_stats(seasons = 2022, tables = "advanced", nest_data = FALSE, only_totals = FALSE, assign_to_environment = FALSE) some STL% are not divided by 100 (Anfernee Simons), while...

Hi, thanks for the great library ! How can i get endpoint of `current_schedule()` function? Thanks for the response.

When running get_logs using the recommendations on README, below, I get a warning. ### README Recommendations ``` library(future) plan(multiprocess) ``` ### Warning Message > Warning: Strategy 'multiprocess' is deprecated in...

Fix bref_players_stats for per_poss (issue #95)

`bref_players_stats(seasons = 2022, tables = c("per_poss"))` returns the error ``` Error: Problem with mutate() column yearSeason. i yearSeason = slugSeason %>% substr(1, 4) %>% as.numeric() + 1. x object 'slugSeason'...

Does anyone know of a public source with sportradar NBA player ids. I'd love to join it with the ids in this package.

I'm having the following issue when running the teams_players_stats function: > teams_players_stats(seasons = 2018, types = c("player", "team"),tables = c("general", "defense", "clutch", "hustle", "shots", "shot locations")) A tibble: 0 x...

The play-in games have a new season type... "PlayIn" This works well with the seasons_schedule() and game_logs() calls. game_logs(seasons = 2021, season_types = "PlayIn") It would be nice to get...

The starters_bench parameter for teams_players_stats, when set to anything, ends up returning an empty df. The parameter works fine on the NBA website, so maybe something is happening during the...