convertYaml2RDataframe: Converts and save yaml files to dataframes

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/convertYaml2RDataframe.R

Description

This function coverts all Yaml files from source directory to data frames. The data frames are then stored as .RData. The saved file is of the format team1-team2-date.RData For e.g. England-India-2008-04-06.RData etc

Usage

1
convertYaml2RDataframe(yamlFile,sourceDir=".",targetDir=".")

Arguments

yamlFile

The yaml file to be converted to dataframe and saved

sourceDir

The source directory of the yaml file

targetDir

The target directory in which the data frame is stored as RData file

Value

None

Note

Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com

Author(s)

Tinniam V Ganesh

References

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

See Also

bowlerMovingAverage
bowlerWicketPlot
bowlerWicketsVenue
convertAllYaml2RDataframes

Examples

1
2
3
4
5
## Not run: 
# In the example below ../yamldir c
convertYaml2RDataframe("225171.yaml",".","../data")

## End(Not run)

yorkr documentation built on Sept. 20, 2021, 5:08 p.m.