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

View source: R/cleanlineups.R

cleanlineupsR Documentation

This function unnests all lineups and returns a cleaned data frame.

Description

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

Usage

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

cleanlineups(lineups)

statsbomb/StatsBombR documentation built on Dec. 3, 2024, 11:53 p.m.