convertAllYaml2RDataframesT20: Convert and save all T20 Yaml files to dataframes

View source: R/convertAllYaml2RDataframesT20.R

convertAllYaml2RDataframesT20R Documentation

Convert and save all T20 Yaml files to dataframes

Description

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

Usage

convertAllYaml2RDataframesT20(sourceDir=".",targetDirMen=".",targetDirWomen=".")

Arguments

sourceDir

The source directory of the yaml files

targetDirMen

The target directory in which the data frames of men are stored as RData files

targetDirWomen

The target directory in which the data frames of women are stored as RData files

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
bowlerWicketsVenue
convertYaml2RDataframeT20

Examples

## Not run: 
# In the example below ../yamldir is the source dir for the yaml files
convertAllYaml2RDataframesT20("../yamldir","../data")

## End(Not run)

tvganesh/yorkr documentation built on May 13, 2023, 12:19 p.m.