View source: R/StatsBombFreeEvents.R
StatsBombFreeEvents | R Documentation |
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)
MatchesDF |
Data frame of the matches you wish to pull for the events for. Or simply type "ALL" to return all free events available. |
Parallel |
Boolean variable for whether or not you want the function to run in parallel. |
df |
Returns a data frame with all events for the matches selected. |
StatsBombFreeEvents(MatchesDF = "ALL", Parallel = T)
StatsBombFreeEvents(MatchesDF = Matches, Parallel = T) #Where Matches is a dataframe of the matches
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.