StatsBombFreeLineups: This function returns all lineups for the matches requested,...

Description Usage Arguments Value Examples

View source: R/StatsBombFreeLineups.R

Description

This function easily scrapes the free events available from StatsBomb on our GitHub repository. Currently, parallel is only supported on PCs.

Usage

1
StatsBombFreeLineups(MatchesDF = "ALL", Parallel = T)

Arguments

MatchesDF

Data frame of the matches you wish to pull for the lineups for. Or simply type "ALL" to return all free lineups available.

Parallel

Boolean variable for whether or not you want the function to run in parallel.

Value

df

Returns a data frame with all events for the matches selected.

Examples

1
2
StatsBombFreeLineups(MatchesDF = "ALL", Parallel = T)
StatsBombFreeLineups(MatchesDF = Matches, Parallel = T) #Where Matches is a dataframe of the matches

nandomartinez/Soccer documentation built on Nov. 4, 2019, 8:34 p.m.