phf_player_box: loads the player boxscore
Examples
# \donttest{
try(phf_player_box(game_id = 420339))
#> $skaters
#> ── PHF Skaters Boxscore Information from PremierHockeyFederation.com ───────────
#> ℹ Data updated: 2023-03-08 07:48:26 UTC
#> # A tibble: 33 × 23
#> player_…¹ playe…² posit…³ goals assists points penal…⁴ shots…⁵ blocks givea…⁶
#> <int> <chr> <chr> <int> <int> <int> <int> <int> <int> <int>
#> 1 22 Kenned… F 2 1 3 2 7 1 4
#> 2 15 Emma V… F 0 2 2 2 3 2 0
#> 3 88 Amanda… F 0 2 2 0 3 0 1
#> 4 5 Tori H… D 0 1 1 2 0 1 2
#> 5 11 Emily … F 1 0 1 0 1 1 2
#> 6 6 Shanno… D 0 0 0 2 1 3 1
#> 7 7 Emma P… F 0 0 0 0 0 0 1
#> 8 8 Alyssa… F 0 0 0 0 0 0 2
#> 9 9 Kaycie… F 0 0 0 0 1 0 1
#> 10 12 Allie … D 0 0 0 4 3 0 1
#> # … with 23 more rows, 13 more variables: takeaways <int>,
#> # faceoffs_won_lost <chr>, faceoffs_win_pct <dbl>, powerplay_goals <int>,
#> # shorthanded_goals <int>, shots <int>, shots_blocked <int>,
#> # faceoffs_won <int>, faceoffs_lost <int>, team <chr>, skaters_href <chr>,
#> # player_id <chr>, game_id <dbl>, and abbreviated variable names
#> # ¹player_jersey, ²player_name, ³position, ⁴penalty_minutes, ⁵shots_on_goal,
#> # ⁶giveaways
#>
#> $goalies
#> ── PHF Goalies Boxscore Information from PremierHockeyFederation.com ───────────
#> ℹ Data updated: 2023-03-08 07:48:26 UTC
#> # A tibble: 5 × 14
#> player_j…¹ playe…² shots…³ goals…⁴ saves save_…⁵ minut…⁶ penal…⁷ goals assists
#> <int> <chr> <int> <int> <int> <dbl> <chr> <int> <int> <int>
#> 1 35 Abbie … 34 4 30 0.882 63:30 0 0 0
#> 2 55 Mariah… 0 0 0 0 00:00 0 0 0
#> 3 33 Victor… 0 0 0 0 00:00 0 0 0
#> 4 35 Lovisa… 0 0 0 0 00:00 0 0 0
#> 5 88 Katie … 34 3 31 0.912 63:30 0 0 0
#> # … with 4 more variables: team <chr>, goalies_href <chr>, player_id <chr>,
#> # game_id <dbl>, and abbreviated variable names ¹player_jersey, ²player_name,
#> # ³shots_against, ⁴goals_against, ⁵save_percent, ⁶minutes_played,
#> # ⁷penalty_minutes
#>
# }