| ig_game_shot_locations | R Documentation |
ig_game_shot_locations() saves an IG share-able shot location plot for a
given game.
ig_game_shot_locations(
game = 2023030417,
team = "home",
model = 1,
save = TRUE
)
ig_game_shot_locs(game = 2023030417, team = "home", model = 1)
game |
integer ID (e.g., 2025020275); see |
team |
character of 'h'/'home' or 'a'/'away' |
model |
integer in 1:3 indicating which expected goals model to use
(e.g., 1); see |
save |
logical only FALSE for tests |
NULL
# May take >5s, so skip.
ig_game_shot_locations(
game = 2023030417,
model = 1,
team = 'H',
save = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.