Skip to contents

Rounds (journees) of a phase with their dates (games via magnus_round_games()). round is the value magnus_round_games() and magnus_schedule() take.

Usage

magnus_rounds(phase_id, return_parsed = TRUE)

Arguments

phase_id

Phase id (phase_id of magnus_phases()), e.g. 714.

return_parsed

Parse the payload into a tibble (default TRUE). Pass FALSE for the raw JSON envelope as a list.

Value

A tibble (return_parsed = TRUE), else the raw envelope list:

col_nametypedescription
round_idintegerRound id (integer).
roundintegerRound (journée) number within the phase, the round argument of magnus_round_games and magnus_schedule.
round_labelcharacterRound label; null in every observed body.
phase_idintegerPhase id (integer).
phasecharacterPhase name in French.
competition_idintegerCompetition (season) id (integer).
seasonintegerSeason by its END year (2027 = 2026-27).
start_dateDateFirst date of the round.
end_dateDateLast date of the round.

Examples

# \donttest{
  try(magnus_rounds(phase_id = 714))
#> Error in .euro_check_status(resp) : 
#>   liguemagnus.com/wp-admin/admin-ajax.php answered HTTP 403:
#> <html><body><h1>403 Forbidden</h1> Request forbidden by administrative rules.
#> Interdiction d'acceder a cette ressource </body></html>
# }