Skip to contents

PHF Player Leaderboards

Usage

phf_leaders(
  player_type,
  season = most_recent_phf_season(),
  season_type = "Regular Season"
)

Arguments

player_type

Player type: skaters, goalies

season

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

season_type

Season type: Regular Season or Playoffs

Value

A data frame of stat leaders

Examples

# \donttest{
 try(phf_leaders(player_type = "skaters", season = 2022, season_type="Regular Season"))
#> ── PHF Leaderboard Information from PremierHockeyFederation.com ────────────────
#>  Data updated: 2023-03-08 07:48:13 UTC
#> # A tibble: 100 × 29
#>    player…¹ playe…² team_…³ posit…⁴ games…⁵ goals assists points shots…⁶ faceo…⁷
#>       <int> <chr>   <chr>   <chr>     <int> <int>   <int>  <int>   <int> <chr>  
#>  1       22 Kenned… Connec… F            20    13      20     33      85 151 - …
#>  2       13 Mikyla… Toront… F            19    13      17     30      96 164 - …
#>  3        3 Jonna … Minnes… F            20     9      15     24      80 34 - 49
#>  4       17 Taylor… Connec… F            20    11      13     24      83 1 - 2  
#>  5       14 Madiso… Metrop… F            20    12      11     23      80 1 - 5  
#>  6        9 Allie … Minnes… F            20    18       3     21      93 5 - 4  
#>  7       88 Amanda… Connec… F            18    12       9     21      52 1 - 1  
#>  8       27 Shiann… Toront… F            20     8      12     20      88 217 - …
#>  9       67 Emma W… Toront… F            20     9       9     18      55 9 - 10 
#> 10       18 Rebecc… Metrop… F            20     9       8     17      72 1 - 0  
#> # … with 90 more rows, 19 more variables: faceoffs_won <int>,
#> #   faceoffs_lost <int>, blocks <int>, penalty_minutes <int>, takeaways <int>,
#> #   giveaways <int>, scoring_pct <dbl>, powerplay_goals <int>,
#> #   shorthanded_goals <int>, game_winning_goals <int>,
#> #   points_per_game_average <dbl>, faceoffs_win_pct <dbl>, shots_blocked <int>,
#> #   shots <int>, season_type <chr>, player_href <chr>, team_href <chr>,
#> #   player_id <int>, team_id <int>, and abbreviated variable names …
 try(phf_leaders(player_type = "goalies", season = 2022, season_type="Regular Season"))
#> ── PHF Leaderboard Information from PremierHockeyFederation.com ────────────────
#>  Data updated: 2023-03-08 07:48:14 UTC
#> # A tibble: 7 × 24
#>   player_je…¹ playe…² team_…³ games…⁴  wins losses  ties overt…⁵ minut…⁶ shots…⁷
#>         <int> <chr>   <chr>     <int> <int>  <int> <int>   <int> <chr>     <int>
#> 1          88 Katie … Boston…      12     7      2     0       2 679:35      377
#> 2          29 Elaine… Toront…      17    16      1     0       0 988:45      434
#> 3          29 Amanda… Minnes…      11     4      6     0       1 630:11      395
#> 4          35 Abbie … Connec…      15    10      3     0       2 885:23      340
#> 5           1 Brooke… Metrop…      14     4      9     0       0 789:08      457
#> 6          70 Carly … Buffal…      18     6     11     0       0 936:34      521
#> 7          29 Sonjia… Metrop…       7     3      3     0       1 410:53      230
#> # … with 14 more variables: goals_against <int>, save_percent <dbl>,
#> #   goals_against_average <dbl>, shutouts <int>, saves <int>,
#> #   penalty_minutes <int>, goals <int>, assists <int>, GS <int>,
#> #   season_type <chr>, player_href <chr>, team_href <chr>, player_id <int>,
#> #   team_id <int>, and abbreviated variable names ¹​player_jersey, ²​player_name,
#> #   ³​team_name, ⁴​games_played, ⁵​overtime_losses, ⁶​minutes_played,
#> #   ⁷​shots_against
# }