parse_f24_multiple: Parse Multiple OPTA f24 Files

Description Usage Arguments Value

View source: R/parse_f24_multiple.R

Description

An OPTA f24 file is an xml file with all of the data for each event of a match. This function takes the file locations and parses the XML files into a dataframe. All qualifiers are in columns named after them, access them using “. If the qualifier doesn't have a value but was present it is represented by the value 1. Make sure the XML file is named like '/999999_f24.xml' and the location is named in such a way so that there are no numbers other than match ID and f24, the file location will be used to calculate the match ID.

Usage

1
parse_f24_multiple(xml.filename)

Arguments

xml.filename

Path to the input file

Value

A dataframe of the OPTA event data


FCrSTATS/fc.rstats documentation built on July 18, 2019, 5:08 a.m.