R/mlb_standings.R

#' MLB final standings, 1999-2017, Regular season
#'
#' @docType data
#'
#' @usage data(mlb_standings)
#'
#' @format A data frame with 690 rows and 10 variables
#'
#' season: The season, 2017 stands for the season 2017-2018
#'
#' Team: team name
#'
#' Lig: The conference/League - AL: American League, NL: National League
#'
#' Div: Division: E-Eastern Division, W: Western Division, C: Central Division
#'
#' W: Number of wins
#'
#' L: number of lost games
#'
#' G: Number of games played
#'
#'  R: Runs scored
#'
#'  RA: Runs allowed
#'
#'  Rank: Rank within the division

#'
#' @keywords mlb, competitive balance, skill and luck
#'
#' @source \href{https://www.baseball-reference.com}{www.baseball-reference.com}
"mlb_standings"
Habet/CSE270 documentation built on Sept. 24, 2023, 8:14 a.m.