Learn R Programming

yorkr (version 0.0.42)

parseYamlOver: Parse yaml file and convert to dataframe

Description

This function parses the yaml file and converts it into a data frame. This is an internal function and is used by convertAllYaml2RDataframes() & convertYaml2RDataframe()

Usage

parseYamlOver(match,s,ateam,delivery,meta)

Value

overs The dataframe of overs

Arguments

match

The dataframe of the match

s

The string with the delivery

ateam

The team

delivery

The delivery of the over

meta

The meta information of the match

Author

Tinniam V Ganesh

References

https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/

See Also

getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails

Examples

Run this code
if (FALSE) {
# Parse the yaml over
}

Run the code above in your browser using DataLab