standardize_opta_y: Standardize width (y) location columns from Opta event data...

Description Usage Arguments Author(s)

View source: R/standardize_coordinates.R

Description

Standardize width (y) location columns from Opta event data to 105m x 68m convention

Usage

1
2
3
4
5
standardize_opta_y(
  data,
  cols = c("location_y", "PassEndY", "BlockedY", "GoalMouthY"),
  unit = "meters"
)

Arguments

data

A dataframe of Opta event data

cols

Columns to convert. Defaults to all y location columns

unit

Convert to meters or yards. Defaults to meters

Author(s)

Lars Maurath


RobWHickman/Rteta documentation built on Oct. 28, 2020, 10:42 p.m.