pv_write: Write a Perana Sports volleyball data file

Description Usage Arguments See Also Examples

View source: R/write.R

Description

This is somewhat experimental. It may be useful if one wants to read an existing file, modify the content, and re-write it back to a PSVB file.

Usage

1
pv_write(x, filename)

Arguments

x

character: data to write. See e.g the raw component of the object returned by pv_read

filename

string: path to file

See Also

pv_read

Examples

1
2
3
4
5
6
## Not run: 
 x <- pv_read(pv_example_file())
 new_file_name <- tempfile(fileext = ".psvb")
 pv_write(x$raw, filename = new_file_name)

## End(Not run)

raymondben/peranavolley documentation built on Dec. 26, 2021, 1:16 a.m.