
Last chance! 50% off unlimited learning
Sale ends in
This function easily scrapes the free events available from StatsBomb on our GitHub repository. Currently, parallel is only supported on PCs.
StatsBombFreeEvents(MatchesDF = "ALL", Parallel = T)
Data frame of the matches you wish to pull for the events for. Or simply type "ALL" to return all free events available.
Boolean variable for whether or not you want the function to run in parallel.
Returns a data frame with all events for the matches selected.
# NOT RUN {
StatsBombFreeEvents(MatchesDF = "ALL", Parallel = T)
StatsBombFreeEvents(MatchesDF = Matches, Parallel = T) #Where Matches is a dataframe of the matches
# }
Run the code above in your browser using DataLab