pv_validate: Validate parsed Perana Volleyball scouting data

Description Usage Arguments Value See Also Examples

View source: R/validate.R

Description

Validate parsed Perana Volleyball scouting data

Usage

1
pv_validate(x, validation_level = 2)

Arguments

x

peranavolley: peranavolley object as returned by pv_read

validation_level

numeric: how strictly to check? If 0, perform no checking; if 1, only identify major errors; if 2, also return any issues that are likely to lead to misinterpretation of data; if 3, return all issues (including minor issues)

Value

data.frame with columns message (the validation message), file_line_number (the corresponding line number in the file), video_time, and file_line (the actual line from the file).

See Also

pv_read

Examples

1
2
3
filename <- pv_example_file()
x <- pv_read(filename)
pv_validate(x)

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