getCompetitionHistory {euroleaguer}R Documentation

Competition metadata

Description

[Experimental]

Retrieve values of arguments for specific data collection functions across all package.

Usage

getCompetitionHistory(competition_code)

getCompetitionRounds(season_code)

getCompetitionPhases(season_code)

getCompetitionTeams(season_code)

getCompetitionGames(season_code, round, phase_type = "All")

Arguments

competition_code

One or more competition codes.
Admitted values are E for Euroleague and U for Eurocup.

season_code

One or more season codes as obtained from getCompetitionHistory().
Examples are E2023 for Euroleague or U2023 for Eurocup 2023.

round

One or more round codes as obtained from getCompetitionRounds().

phase_type

One or more phase type codes as obtained from getCompetitionPhases().
Admitted values are RS for regular season, PO for playoffs and FF for final four. Default is All for all.

Value

For each function, returns a tibble with information about history, rounds, phases, teams or games of chosen season and competition code.

Examples


## Not run: 

getCompetitionHistory(competition_code = c("E", "U")) |> head(5)

getCompetitionRounds(season_code = c("E2023", "E2022")) |> head(5)

getCompetitionPhases(season_code = c("E2023", "U2023")) |> head(5)

getCompetitionTeams(season_code = c("E2023", "U2023")) |> head(5)

getCompetitionGames(season_code = "E2023", round = 1:5) |> head(5)


## End(Not run)

[Package euroleaguer version 0.2.0 Index]