allclean: Returns a data frame with all of the original data frame all...

View source: R/allclean.R

allcleanR Documentation

Returns a data frame with all of the original data frame all cleaned for R with extra information added.

Description

For use with the StatsBomb Data API credentials. After StatsBomb data is read in from the API, JSON file, this function will return a data frame with all formatted for R with extra information added. Note that with all of the different cleaning functions provided for internal use in this package as well as for use individually externally, this function will clean all the data in the proper order that they are meant for.

Usage

allclean(dataframe)

Arguments

dataframe

Dataframe object gathered from the StatsBomb API.

Value

df

Returns a data frame with all of the original data frame all cleaned for R with extra information added.

Examples

allclean(dataframe)

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