Skip to contents

Standings of a phase, one row per team in rank order. wins and losses are regulation results; overtime and shootout results are ot_wins and ot_losses.

Usage

magnus_standings(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
rankintegerRank in the standings table.
team_idintegerTeam id (integer join key).
teamcharacterShort team name as the table publishes it (e.g., "MARSEILLE").
team_abbreviationcharacterTeam abbreviation.
team_participant_idintegerTeam participant id in this phase (integer; joins home_team_participant_id / away_team_participant_id of the schedule).
games_playedintegerGames played in the table's scope.
winsintegerWins in regulation.
ot_winsintegerWins in overtime or a shootout.
ot_lossesintegerLosses in overtime or a shootout.
lossesintegerLosses in regulation.
tiesintegerNumber of tied games.
pointsintegerPoints in the standings table.
goals_forintegerGoals scored (total).
goals_againstintegerGoals allowed (goals against).
penalty_minutesintegerPenalty minutes.
last_resultscharacterForm guide: the last results as W (win), L (loss) or T (tie) letters, in the order the table lists them.
standings_idintegerStandings table id (integer).

Examples

# \donttest{
  try(magnus_standings(phase_id = 714))
#> ── Ligue Magnus Standings Information from liguemagnus.com ─────────────────────
#> ℹ Data updated: 2026-11-02 03:50:30 UTC
#> # A tibble: 12 × 17
#>     rank team_id team   team_abbreviation team_participant_id games_played  wins
#>    <int>   <int> <chr>  <chr>                           <int>        <int> <int>
#>  1     1     253 ROUEN  ROU                              9127           15     9
#>  2     2     327 GRENO… GRE                              9125           13    10
#>  3     3    3095 MARSE… MAR                              9129           15     7
#>  4     4     611 CHAMO… CHA                              9123           13     6
#>  5     5     472 NICE   NIC                              9126           14     6
#>  6     6     553 ANGERS ANG                              9130           14     6
#>  7     7    1671 BORDE… BOR                              9121           14     5
#>  8     8     103 AMIENS AMI                              9120           14     5
#>  9     9     345 CERGY… CER                              9122           14     5
#> 10    10     366 GAP    GAP                              9124           14     3
#> 11    11    3409 BRIAN… BRI                              9131           14     3
#> 12    12      75 ANGLET HOR                              9128           14     1
#> # ℹ 10 more variables: ot_wins <int>, ot_losses <int>, losses <int>,
#> #   ties <int>, points <int>, goals_for <int>, goals_against <int>,
#> #   penalty_minutes <int>, last_results <chr>, standings_id <int>
# }