Skip to contents

Returns season-by-season goalie statistics from the NHL Records API (https://records.nhl.com/site/api/goalie-season-stats).

Usage

nhl_records_goalie_season_stats(cayenne_exp = NULL, limit = NULL, start = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

limit

Optional integer page size.

start

Optional integer pagination offset.

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
idintegerUnique record identifier.
active_playerlogicalIndicator of whether the player is active.
first_namecharacterPlayer first name.
franchise_idintegerUnique franchise identifier.
game_seven_games_playedlogicalGame seven games played.
game_seven_losseslogicalGame seven losses.
game_seven_winslogicalGame seven wins.
game_typeintegerGame type the totals belong to.
games_playedintegerTotal games played.
games_startedintegerGames started.
goals_againstintegerGoals against.
goals_against_averagenumericGoals against average.
last_namecharacterPlayer last name.
lossesintegerTotal losses.
number_of_games_in_seasonintegerNumber of games in the season.
overtime_games_playedintegerOvertime games played.
overtime_goals_againstintegerOvertime goals against.
overtime_losseslogicalOvertime losses.
overtime_tiesintegerOvertime ties.
overtime_winsintegerOvertime wins.
player_idintegerUnique player identifier.
position_codecharacterPlayer position code.
rookie_flaglogicalIndicator of whether the player was a rookie.
save_pctgnumericSave percentage.
savesintegerSaves made.
season_idintegerSeason identifier.
shots_againstintegerShots faced.
shutoutsintegerShutouts recorded.
team_abbrevscharacterTeam abbreviations.
team_namescharacterTeam names.
tiesintegerTotal ties.
time_on_iceintegerTotal time on ice (seconds).
time_on_ice_min_seccharacterTotal time on ice (MM:SS).
winsintegerTotal wins.

Examples

# \donttest{
  try(nhl_records_goalie_season_stats(limit = 5))
#> ── NHL Records Goalie Season Stats ──────────────────────── fastRhockey 1.0.0 ──
#>  Data updated: 2026-06-13 04:21:45 UTC
#> # A tibble: 5 × 34
#>      id active_player first_name franchise_id game_seven_games_played
#>   <int> <lgl>         <chr>             <int> <lgl>                  
#> 1  1485 FALSE         Hardy                NA NA                     
#> 2  7213 FALSE         Hardy                10 NA                     
#> 3  1884 FALSE         Hardy                NA NA                     
#> 4 10187 FALSE         Hardy                23 NA                     
#> 5  1816 FALSE         Hardy                NA NA                     
#> # ℹ 29 more variables: game_seven_losses <lgl>, game_seven_wins <lgl>,
#> #   game_type <int>, games_played <int>, games_started <int>,
#> #   goals_against <int>, goals_against_average <dbl>, last_name <chr>,
#> #   losses <int>, number_of_games_in_season <int>, overtime_games_played <int>,
#> #   overtime_goals_against <int>, overtime_losses <lgl>, overtime_ties <int>,
#> #   overtime_wins <int>, player_id <int>, position_code <chr>,
#> #   rookie_flag <lgl>, save_pctg <dbl>, saves <int>, season_id <int>, …
# }