convertAllYaml2RDataframes: Convert and save all Yaml files to dataframes

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

View source: R/convertAllYaml2RDataframes.R

Description

This function coverts all 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

1
convertAllYaml2RDataframes(sourceDir=".",targetDir=".")

Arguments

sourceDir

The source directory of the yaml files

targetDir

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

Value

None

Note

Maintainer: Tinniam V Ganesh [email protected]

Author(s)

Tinniam V Ganesh

References

http://cricsheet.org/
https://gigadom.wordpress.com/
https://github.com/tvganesh/yorkrData

See Also

bowlerMovingAverage
bowlerWicketPlot
bowlerWicketsVenue
convertYaml2RDataframe

Examples

1
2
3
4
5
## Not run: 
# In the example below ../yamldir is the source dir for the yaml files
convertAllYaml2RDataframes("../yamldir","../data")

## End(Not run)

yorkr documentation built on May 29, 2017, 11:33 a.m.