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-10-13 01:56:54 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    3095 MARSE… MAR                              9129            9     6
#>  2     2     327 GRENO… GRE                              9125            9     7
#>  3     3     253 ROUEN  ROU                              9127           10     6
#>  4     4     553 ANGERS ANG                              9130           10     6
#>  5     5     611 CHAMO… CHA                              9123            9     5
#>  6     6     472 NICE   NIC                              9126            9     4
#>  7     7    1671 BORDE… BOR                              9121            9     3
#>  8     8    3409 BRIAN… BRI                              9131            9     2
#>  9     9     345 CERGY… CER                              9122            9     2
#> 10    10     366 GAP    GAP                              9124            9     2
#> 11    11     103 AMIENS AMI                              9120            9     2
#> 12    12      75 ANGLET HOR                              9128            9     0
#> # ℹ 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>
# }