R/get-competition-margins.R

Defines functions getCompetitionMargins

Documented in getCompetitionMargins

#' Get competition margins standings
#'
#' @keywords competitionStandings
#'
#' `r lifecycle::badge('experimental')`
#'
#' @inheritParams .inheritParams
#'
#' @return Returns a summary tibble of standing margins for chosen competition and round
#'
#' Reference webpage: [Margins standings](<https://www.euroleaguebasketball.net/euroleague/standings/?season=2023-24&type=Margins&phase=REGULAR%20SEASON>)
#'
#' @examples
#'
#' \dontrun{
#'
#' getCompetitionMargins(season_code = c("E2023", "E2022"), round = 1)
#'
#' }
#'
#' @name getCompetitionMargins
#' @rdname getCompetitionMargins
#' @export

getCompetitionMargins <- function(season_code, round){
  .iterate(.getCompetitionMargins, season_code, round)
}

Try the euroleaguer package in your browser

Any scripts or data that you put into this service are public.

euroleaguer documentation built on May 29, 2024, 10:22 a.m.