Skip to contents

phf_standings: pull in the standings data for a game_id from the PHF/NWHL API

Usage

phf_standings(season = most_recent_phf_season())

Arguments

season

Season (YYYY) to pull the standings from, the concluding year in XXXX-YY format

Value

A data frame of standings data

Examples

# \donttest{
  try(phf_standings(season = most_recent_phf_season()))
#> ── PHF Standings Information from PremierHockeyFederation.com ──────────────────
#>  Data updated: 2023-03-08 07:48:29 UTC
#> # A tibble: 7 × 15
#>   team      gp     w     l    ot   pts    rw   otw   sow    gf    ga  diff   pim
#>   <chr>  <int> <int> <int> <int> <int> <int> <int> <int> <int> <int> <int> <int>
#> 1 Metro…     2     2     0     0     6     2     0     0     7     1     6    24
#> 2 Montr…     0     0     0     0     0     0     0     0     0     0     0     0
#> 3 Bosto…     0     0     0     0     0     0     0     0     0     0     0     0
#> 4 Toron…     0     0     0     0     0     0     0     0     0     0     0     0
#> 5 Conne…     0     0     0     0     0     0     0     0     0     0     0     0
#> 6 Minne…     0     0     0     0     0     0     0     0     0     0     0     0
#> 7 Buffa…     2     0     2     0     0     0     0     0     1     7    -6    24
#> # … with 2 more variables: next_game <chr>, team_tricode <chr>
# }