Skip to contents

phf_game_summary: pull in the raw data for a game_id from the PHF/NWHL API

Usage

phf_game_summary(game_id)

Arguments

game_id

The unique ID code for the game that you are interested in viewing the data for

Value

A named list of data frames: scoring_summary,shootout_summary, penalty_summary, officials, team_staff, timeouts

Examples

# \donttest{
  try(phf_game_summary(game_id = 612254))
#> $scoring_summary
#> ── PHF Game Scoring Summary Information from PremierHockeyFederation.com ───────
#>  Data updated: 2023-03-08 07:48:12 UTC
#> # A tibble: 4 × 6
#>   period time  strength team                  scorer_assists               total
#>   <chr>  <chr> <chr>    <chr>                 <chr>                        <chr>
#> 1 1st    11:31 ES       Metropolitan Riveters Amanda Pelkey                1 - …
#> 2 1st    12:17 PP       Toronto Six           Dominika Lásková (Lexi Temp… 1 - …
#> 3 2nd    11:40 ES       Metropolitan Riveters Reagan Rust (Kelly Babstock… 2 - …
#> 4 2nd    16:30 PP       Toronto Six           Brittany Howard (Michela Ca… 2 - …
#> 
#> $shootout_summary
#> ── PHF Game Shootout Summary Information from PremierHockeyFederation.com ──────
#>  Data updated: 2023-03-08 07:48:12 UTC
#> # A tibble: 3 × 6
#>   round metropolitan_riveters   scored toronto_six            scored_2 total
#>   <int> <chr>                   <chr>  <chr>                  <chr>    <chr>
#> 1     1 "Fanni Garát-Gasparics" "No"   Dominika Lásková       No       0 - 0
#> 2     2 "Minttu Tuominen"       "Yes"  Brittany Howard        No       1 - 0
#> 3     3 ""                      ""     Breanne Wilson-Bennett No       1 - 0
#> 
#> $penalty_summary
#> ── PHF Game Penalty Summary Information from PremierHockeyFederation.com ───────
#>  Data updated: 2023-03-08 07:48:12 UTC
#> # A tibble: 9 × 6
#>   period time  player                    team                  infraction length
#>   <chr>  <chr> <chr>                     <chr>                 <chr>      <chr> 
#> 1 1st    09:23 Amanda Pelkey             Metropolitan Riveters Tripping … 02:00 
#> 2 1st    12:05 Served by Kaycie Anderson Metropolitan Riveters Too Many … 02:00 
#> 3 1st    13:09 Alexis Woloschuk          Toronto Six           Tripping … 02:00 
#> 4 1st    19:55 Ebba Berglund             Metropolitan Riveters Tripping … 02:00 
#> 5 2nd    07:43 Brooke Boquist            Toronto Six           Hooking (… 02:00 
#> 6 2nd    14:51 Sarah Bujold              Metropolitan Riveters Boarding … 02:00 
#> 7 2nd    18:19 Courtney Gardiner         Toronto Six           Roughing … 02:00 
#> 8 3rd    14:05 Michela Cava              Toronto Six           Holding (… 02:00 
#> 9 OT1    04:27 Shiann Darkangelo         Toronto Six           Tripping … 02:00 
#> 
#> $officials
#> ── PHF Game Officials Information from PremierHockeyFederation.com ─────────────
#>  Data updated: 2023-03-08 07:48:12 UTC
#> # A tibble: 0 × 0
#> 
#> $team_staff
#> ── PHF Game Team Staff Information from PremierHockeyFederation.com ────────────
#>  Data updated: 2023-03-08 07:48:12 UTC
#> # A tibble: 0 × 0
#> 
#> $timeouts
#> ── PHF Game Timeouts Information from PremierHockeyFederation.com ──────────────
#>  Data updated: 2023-03-08 07:48:12 UTC
#> # A tibble: 1 × 3
#>   team                  period time 
#>   <chr>                 <chr>  <chr>
#> 1 Metropolitan Riveters OT1    00:33
#> 
# }