phf_team_box: loads the team boxscore and shot/score data for a game into one data frame through just one function
Examples
# \donttest{
try(phf_team_box(game_id = 420339))
#> ── PHF Team Boxscore Information from PremierHockeyFederation.com ──────────────
#> ℹ Data updated: 2023-03-08 07:48:35 UTC
#> # A tibble: 2 × 25
#> team game_id winner total_s…¹ succe…² power…³ power…⁴ penal…⁵ faceo…⁶ block…⁷
#> <chr> <dbl> <lgl> <int> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 bos 420339 TRUE 4 0 6 0 8 0.383 0
#> 2 ctw 420339 FALSE 3 1 4 0.25 12 0.617 12
#> # … with 15 more variables: takeaways <dbl>, giveaways <dbl>,
#> # period_1_shots <int>, period_2_shots <int>, period_3_shots <int>,
#> # overtime_shots <int>, shootout_made_shots <int>,
#> # shootout_missed_shots <int>, total_shots <int>, period_1_scoring <int>,
#> # period_2_scoring <int>, period_3_scoring <int>, overtime_scoring <int>,
#> # shootout_made_scoring <dbl>, shootout_missed_scoring <int>, and abbreviated
#> # variable names ¹total_scoring, ²successful_power_play, …
# }