View source: R/game_functions.R
get_game_stats | R Documentation |
This function fetches detailed statistics for a game given the game ID. It fetches ten variables that are accessed as lists with home (h) and away (a) players: goals_scored, assists, own_goals, penalties_saved, yellow_cards, red_cards, saves, bonus, and bps.
get_game_stats(gameid = NULL)
gameid |
The game ID. Can be found with get_game_list(). |
get_game_stats(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.