get_play_sf: get_play_sf Gets a play or a whole game, transforming all...

Description Usage Examples

View source: R/get_play.R

Description

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.

Usage

1
get_play_sf(playid = NULL, gameid, ...)

Examples

1
df=get_play_sf(playid=NULL,gameid)

ecastillomon/nflgisR documentation built on Jan. 25, 2021, 12:35 a.m.