defensiveinfo: This function returns the defensive information from the shot...

View source: R/defensiveinfo.R

defensiveinfoR Documentation

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

defensiveinfo(dataframe)

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