knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)

datavolley

R-CMD-check lifecycle openvolley Codecov test coverage

An R package for reading volleyball scouting files in DataVolley format (*.dvw), collected for example with the commercial DataVolley, Click and Scout, or VolleyStation software. VolleyStation files in *.vsm format are also supported.

See also:

The peranavolley package provides similar functionality for reading files scouted by the AOC VBStats software.

Installation

install.packages("datavolley", repos = c("https://openvolley.r-universe.dev",
                                         "https://cloud.r-project.org"))

## or

## install.packages("remotes") ## if needed
remotes::install_github("openvolley/datavolley")

Example

Read one of the example data files bundled with the package:

library(datavolley)
x <- dv_read(dv_example_file(), insert_technical_timeouts = FALSE)
summary(x)

Troubleshooting

If you see unexpected behaviour, try dv_read(..., do_warn = TRUE, verbose = TRUE) to obtain more diagnostic information during the process of reading and parsing the DataVolley file. If your player or team names are garbled (strange characters) check the text encoding that dv_read(..., verbose = TRUE) tells you that it is using - you may need to override this with the correct one via the encoding parameter.



raymondben/datavolley documentation built on April 14, 2024, 11:31 p.m.