pa_get_match_file: Create match file via API

Description Usage Arguments Value Examples

View source: R/match.R

Description

Create match file via API

Usage

1
pa_get_match_file(guid, filename = NULL)

Arguments

guid

string: the match guid as returned by pa_get_matches

filename

string: the filename to use. A temporary file will be used if no filename is provided. Existing files will not be overwritten

Value

Filename

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
  my_server_name <- "server name used in VBStats"

  ## retrieve the ID of the first match in our collection
  guid <- pa_get_matches(my_server_name)$guid[1]

  ## build the match file
  fn <- pa_get_match_file(guid)

  ## load it
  x <- peranavolley::pv_read(fn)

## End(Not run)

openvolley/peranapi documentation built on March 8, 2020, 12:28 a.m.