pv_write: Write a Perana Sports volleyball data file

View source: R/write.R

pv_writeR Documentation

Write a Perana Sports volleyball data file

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

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


## 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 June 2, 2024, 1:47 a.m.