R/nba_games.R

#' Data on NBA games for regular season: 2009-2022
#'
#' @docType data
#'
#' @usage data(nba_games)
#'
#' @format A data frame with 15429 rows and 9 variables. Each row is one game
#'
#' Season_ID: 2009 stands for the season 2009-2010, etc
#'
#' GAME_DATE
#'
#' home.TEAM_ABBREVIATION
#'
#' home.TEAM_NAME
#'
#' home.PTS: Points scored by home team
#'
#' away.TEAM_ABBREVIATION
#'
#' away.TEAM_NAME
#'
#' away.PTS: Points scored by away team
#'
#' home.WL: The result of the game -W: home team won, L: home team lost
#'
#' @keywords nba
#'
"nba_games"
Habet/CSE270 documentation built on Sept. 24, 2023, 8:14 a.m.