| team_game_report | R Documentation |
team_game_report() scrapes various reports for a given set of season,
game_type, and category for all the teams by game.
team_game_report(
season = season_now(),
game_type = game_type_now(),
category = "summary"
)
season |
integer in YYYYYYYY (e.g., 20242025); see |
game_type |
integer in 1:3 (where 1 = pre-season, 2 = regular season, 3
= playoff/post-season) OR character of 'pre', 'regular', or
playoff'/'post'; see |
category |
character (e.g., 'leadingtrailing'); see
|
data.frame with one row per game per team
situational_team_game_report_playoffs_20212022 <- team_game_report(
season = 20212022,
game_type = 3,
category = 'leadingtrailing'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.