Package 'ovdata'

Title: Data Sets For Use With Openvolley Packages
Description: Example data files and other data resources, primarily for use with the openvolley package family.
Authors: Ben Raymond [aut, cre], Adrien Ickowicz [aut], Mark Lebedew [ctb], Chau Le [ctb], Michael Mattes [ctb], Christophe Elek [ctb], openvolley.org [org]
Maintainer: Ben Raymond <[email protected]>
License: MIT + file LICENSE
Version: 0.1.2
Built: 2024-10-09 02:58:52 UTC
Source: https://github.com/openvolley/ovdata

Help Index


ovdata

Description

Example data files and other data resources, primarily for use with the openvolley package family.


Example volleyball match scout files

Description

Example volleyball match scout files

Usage

ovdata_example(choice = "190301_kats_beds", as = "path", simplify = TRUE)

Arguments

choice

string: one or more files to return

  • "190301_kats_beds" - the full DataVolley file from a match between GKS Katowice and MKS Bedzin during the 2018/19 Polish Plus Liga (file courtesy Mark Lebedew)

  • "190301_kats_beds-clip" - a single rally from the "190301_kats_beds" DataVolley file. This rally corresponds to the video clip contained in ovdata_example_video("190301_kats_beds")

  • "PM06" - (DataVolley) the December 2012 men's Slovenian national championship semifinal between ACH Volley and Maribor (file from http://www.odbojka.si/)

  • "mlafin_braslovce_nkbm" - (DataVolley) the January 2015 Slovenian junior women's final between BraslovĨe and Nova KBM Branik (file from http://www.odbojka.si/)

  • "clickscout" - an example Click & Scout DataVolley file

  • "2017_AVL_mens_HEAT_vs_UTSSU" - (Perana/VBStats) Men's Australian Volleyball League 2017: Canberra Heat vs UTSSU (file courtesy Chau Le)

  • "2017_AVL_womens_HEAT_vs_UTSSU" - (Perana/VBStats) Women's Australian Volleyball League 2017: Canberra Heat vs UTSSU (file courtesy Chau Le)

  • "stuttgart_schwerin_2018" - (DataVolley) the 2018 women's final (first of 3) from the German Bundesliga, Allianz MTV Stuttgart vs SSC Palmberg Schwerin (file courtesy Michael Mattes)

  • "DCup7" - the 2020 Austrian Women's Volley Cup played between Hartberg and UVC Graz (file from https://www.volleynet.at/dvdownload/information/f-Damen/)

  • "NCA-CUB" - Nicaragua vs Cuba women from the Pan American Cup, August 2022 (vsm format, courtesy Christophe Elek)

as

string: either "path" (return the path to the file) or "parsed" (parse the file into an R data structure using datavolley::dv_read() or peranavolley::pv_read()

simplify

logical: by default if as is "parsed", the returned list is the same length as choice where each entry is a parsed object. If simplify is TRUE and we have asked for a single file (i.e. length(choice) == 1, then return just that object (not a list containing that object)

Value

If as is "path", a character vector with the file path(s), otherwise a list

See Also

ovdata_example_video()

Examples

myfile <- ovdata_example()
x <- dv_read(myfile)
summary(x)

x <- ovdata_example("clickscout", as = "parsed")
summary(x)

Example volleyball images

Description

Example volleyball images

Usage

ovdata_example_image(choice = "190301_kats_beds")

Arguments

choice

string: one or more files to return

  • "190301_kats_beds" - an image from a match between GKS Katowice and MKS Bedzin during the 2018/19 Polish Plus Liga

Value

A character vector with the file path(s)

Examples

myfile <- ovdata_example_image()

Example volleyball team roster files

Description

Example volleyball team roster files

Usage

ovdata_example_roster(
  choice = "Stadium Mirandola",
  as = "path",
  simplify = TRUE
)

Arguments

choice

string: one or more files to return

as

string: either "path" (return the path to the file) or "parsed" (parse the file into an R data structure using datavolley::dv_read_sq()

simplify

logical: by default if as is "parsed", the returned list is the same length as choice where each entry is a parsed object. If simplify is TRUE and we have asked for a single file (i.e. length(choice) == 1, then return just that object (not a list containing that object)

Value

If as is "path", a character vector with the file path(s), otherwise a list

See Also

ovdata_example()

Examples

myfile <- ovdata_example_roster()
## read this file with
## x <- datavolley::dv_read_sq(myfile)

## or have it read automatically
x <- ovdata_example_roster(as = "parsed")

Example volleyball videos

Description

Example volleyball videos

Usage

ovdata_example_video(choice = "190301_kats_beds")

Arguments

choice

string: one or more files to return

  • "190301_kats_beds" - an clip from a match between GKS Katowice and MKS Bedzin during the 2018/19 Polish Plus Liga

Value

A character vector with the file path(s)

Examples

myfile <- ovdata_example_video()