freezeframeinfo: This function returns the defensive information from the shot freeze frame variable.
Description
For use with the StatsBomb Data API credentials. After StatsBomb data is read in from the API, JSON file, this function will pull all of the defensive and attacking information from the freeze frames.
Usage
freezeframeinfo(dataframe)
Arguments
dataframe
Dataframe object gathered from the StatsBomb API.
Value
df
Returns a data frame with extra information calculated from the freeze frames.