Learn R Programming

nbastatR

Installation

devtools::install_github("abresler/nbastatR")

nbastatR

A package to help you master the NBA data universe in R.

Wrappers

  • NBA Stats API
  • Basketball-Reference
  • HoopsHype
  • nbadraft.net
  • realgm
  • Basketball Insiders

Copy Link

Version

Version

0.1.110202031

License

MIT + file LICENSE

Maintainer

Last Published

July 31st, 2021

Functions in nbastatR (0.1.110202031)

get_all_nba_teams_salaries

NBA team salaries
get_all_star_game_scores

NBA All Star Games
get_bref_player_dictionary

Basketball Reference player dictionary
get_bref_players_bios

Basketball Reference players bios
get_games_pbp_win_probablity

NBA games win probabilities
get_games_play_by_play

NBA games play-by play
get_seasons_players

Seasons players
get_seasons_playoff_picture

NBA seasons playoff picture
get_seasons_rosters

NBA teams seasons rosters
assign_bref_data

Assign nested BREF data to environment
assign_nba_players

Assign NBA player dictionary to environment
assign_nba_teams

Assign NBA teams to environment
dictionary_nba_names

Dictionary of NBA Headers and nbastatR names
get_bref_teams_seasons

Basketball Reference teams seasons data
get_coaching_staffs

NBA active coaching staffs
get_nba_pst_transaction

ProSports NBA Transcations
get_nba_stats_api_items

NBA stats API parameters, teams and items
get_players_bios

NBA.com bios
get_players_career_stats

Player career stats
get_bref_all_nba_teams

All NBA teams
get_bref_coach_dictionary

Basketball Reference coach dictionary
get_drafts

NBA drafts
get_game_logs

NBA game logs NBA game logs for specified parameters
gather_data

Gather a data frame
get_nba_team_salaries

NBA team salary
get_nba_teams

NBA team dictionary
get_teams_details

NBA teams details
get_teams_franchise_leaders

Franchise leaders
get_agents_players

Players Agents
get_bref_players_seasons

Basketball Reference Player Season Tables
get_bref_team_dictionary

Basketball Reference team dictionary
get_nba_franchise_history

Get NBA franchise history
get_nba_player_injuries

NBA Injuries
get_nba_transactions

NBA transactions since 2012
get_nbadraftnet_mock_drafts

NBADraft.net mock drafts
get_players_tables_data

NBA players table data
get_seasons_metrics_league_leaders

League leaders by season
get_seasons_standings

Get seasons standing data
get_seasons_teams_coaches

Seasons coaching staffs
get_team_coaches

Teams coaching staff
get_team_season_roster

Team roster
get_teams_tables_data

NBA Team table data by season
get_seasons_schedule

NBA seasons schedules
get_teams_roto_wire_news

Teams Rotowire news
get_teams_seasons_info

NBA teams seasons information
scale_per_minute

Summarise data per minute
spread_data

Spread gathered data frame
get_teams_hoopshype_salaries

Hoopshype teams players salaries
get_teams_players_seasons_summary_stats

NBA teams and player statisitcs
get_current_standings

Current standings
get_days_nba_scores

Get NBA Dates' NBA Scores
get_games_box_scores

NBA box scores
get_teams_year_by_year_stats

NBA teams yearly performance
get_games_fanduel_summary

Games fanduel summary
get_nba_teams_ids

NBA team ids
get_nba_teams_seasons

NBA teams seasons
get_players_agents

Get NBA Players Agents
get_players_awards

NBA players awards
get_seasons_teams_rosters

Teams seaosons rosters
get_synergy_categories_stats

Get Synergy data for specified season
get_teams_seasons_rankings

NBA teams rankings
get_teams_seasons_shots

Get teams seasons shot charts
summarise_per_minute

Summarize data per minute
widen_bref_data

Widens basketball reference table data
get_years_draft_combines

NBA draft combine data
nbastatR

nbastatR
get_beyond_the_numbers_articles

NBA.com Beyond The Numbers Articles
get_bref_active_injuries

Active injuries
get_hoops_hype_teams_salary_summary

HoopsHype NBA teams summary salaries
get_nba_current_season_schedule

NBA current season schedule
get_nba_players

NBA player dictionary
get_nba_players_ids

Players' NBA player ids
get_players_profiles

NBA.com player profiles
get_players_roto_wire_news

Players RotoWire news