cleanlineups: This function unnests all lineups and returns a cleaned data...

Description Usage Arguments Value Examples

View source: R/cleanlineups.R

Description

Pull lineups first using the alllineups function, then unnest them quickly with the cleanlineups function.

Usage

1
cleanlineups(lineups)

Arguments

lineups

A data frame of the lineups as accessed from the API and pulled using the alllineups function.

Value

df

Returns a data frame with all lineups unnested.

Examples

1
cleanlineups(lineups)

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