possessioninfo: Returns a data frame with all of the original data frame all cleaned for R with extra information added.
Description
For use with the StatsBomb Data API credentials. After StatsBomb data is read in from the API, JSON file, this function will return a data frame all formatted for R with extra information about the current posssession in the game added.
Usage
possessioninfo(dataframe)
Arguments
dataframe
Dataframe object gathered from the StatsBomb API.
Value
df
Returns a data frame with all of the original data frame all cleaned for R with extra information added.