| x_game_shot_locations | R Documentation |
x_game_shot_locations() is the X/Twitter-sized companion to
ig_game_shot_locations(). It uses the same xG-scored shot map and legend
logic on a 1200-by-675-style canvas.
x_game_shot_locations(
game = 2023030417,
team = "home",
model = NULL,
save = TRUE
)
x_game_shot_locs(game = 2023030417, team = "home", model = NULL)
game |
integer ID (e.g., 2025020275); see |
team |
character of 'h'/'home' or 'a'/'away' |
model |
deprecated legacy model selector; ignored |
save |
logical; use |
NULL, invisibly
# May take >5s, so skip.
x_game_shot_locations(
game = 2023030417,
team = 'H',
save = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.