cleanlocations: This function cleans all of the location variables in a...

Description Usage Arguments Value Examples

View source: R/cleanlocations.R

Description

For use with the StatsBomb Data API credentials. After StatsBomb data is read in from the API, JSON file, this function will clean all of the location variables.

Usage

1
cleanlocations(dataframe)

Arguments

dataframe

Dataframe object gathered from the StatsBomb API.

Value

df

Returns a data frame with all locations cleaned.

Examples

1
cleanlocations(dataframe)

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