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))
#> ── Ligue Magnus Rounds Information from liguemagnus.com ────────────────────────
#> ℹ Data updated: 2026-10-13 01:56:51 UTC
#> # A tibble: 44 × 9
#>    round_id round round_label phase_id phase    competition_id season start_date
#>       <int> <int> <chr>          <int> <chr>             <int>  <int> <date>    
#>  1     9695     1 NA               714 Saison …            240   2027 2026-09-15
#>  2     9696     2 NA               714 Saison …            240   2027 2026-09-18
#>  3     9697     3 NA               714 Saison …            240   2027 2026-09-22
#>  4     9698     4 NA               714 Saison …            240   2027 2026-09-25
#>  5     9699     5 NA               714 Saison …            240   2027 2026-09-27
#>  6     9700     6 NA               714 Saison …            240   2027 2026-09-29
#>  7     9701     7 NA               714 Saison …            240   2027 2026-10-02
#>  8     9702     8 NA               714 Saison …            240   2027 2026-10-04
#>  9     9703     9 NA               714 Saison …            240   2027 2026-10-09
#> 10     9704    10 NA               714 Saison …            240   2027 2026-10-16
#> # ℹ 34 more rows
#> # ℹ 1 more variable: end_date <date>
# }