load_complete_match_data: For a single match, load all its PBP and ball trajectory...

Description Usage Arguments Value Examples

View source: R/load_data.R

Description

This function loads and aggregates multiple datafiles as a dataframe.

Usage

1
2
3
4
load_complete_match_data(
  match_id,
  data_path = "/Users/petertea/Documents/courtvision_data/data/"
)

Arguments

match_id

str identifying match of interest.

data_path

str for saved data URL.

Value

A Dataframe for all recorded events corresponding to match ID.

Examples

1
2
Eg: Load 2019 Roland Garros match between Thiem and Nadal
load_complete_match_data(match_id = 'atp_roland_garros_2019_SM001')

petertea96/grandslamR documentation built on Dec. 22, 2021, 7:46 a.m.