View source: R/api-interface.R
get_xg | R Documentation |
Get xG for one or many gameIds
get_xg(gameIds)
gameIds |
one or many game Ids |
a list with Game ID, HomexG and AwayxG, (plus home and away G, CF, pk G, pk CF, pk xG, pp G, pp CF, pp xG,) if one game ID supplied, or a data frame with those columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.