get_play_sf Gets a play or a whole game, transforming all coordintates to a simple feature list column, and embedding tracking data into every object in the field After converting to sf, it will create all combinations of interest between the objects, like all, players, football, players off and players def. Objects will be repeated and this might not be efficient if only using a certain combination.
1 | get_play_sf(playid = NULL, gameid, ...)
|
1 | df=get_play_sf(playid=NULL,gameid)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.