Description Usage Arguments Author(s)
Does the indexing to find the goals/concessions in a df of spadl events
1 | find_previous_actions(action_id, team, n_prev_actions, spadl)
|
action_id |
The action_id of an action |
team |
The team_id of an action |
n_prev_actions |
The number of events to look backwards and class as 'leading to a goal' |
spadl |
A dataframe of event data in spadl format |
Robert Hickman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.