R/get-competition-aheadbehind.R

Defines functions getCompetitionAheadBehind

Documented in getCompetitionAheadBehind

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

getCompetitionAheadBehind <- function(season_code, round){
  .iterate(.getCompetitionAheadBehind, 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.