get_xg: Get xG for one or many gameIds

View source: R/api-interface.R

get_xgR Documentation

Get xG for one or many gameIds

Description

Get xG for one or many gameIds

Usage

get_xg(gameIds)

Arguments

gameIds

one or many game Ids

Value

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


pbulsink/HockeyModel documentation built on Dec. 16, 2024, 8:03 a.m.