Learn R Programming

StatsBombR (version 0.1.0)

defensiveinfo: This function returns the defensive information from the shot freeze frame variable.

Description

For use with the StatsBomb Data API credentials. After StatsBomb data is read in from the API, JSON file, this function will pull all of the defensive information from the freeze frames.

Usage

defensiveinfo(dataframe)

Arguments

dataframe

Dataframe object gathered from the StatsBomb API.

Value

df

Returns a data frame with all of the goalkeeper information.

Examples

Run this code
# NOT RUN {
defensiveinfo(dataframe)
# }

Run the code above in your browser using DataLab