View source: R/convertAllYaml2RDataframes.R
convertAllYaml2RDataframes | R Documentation |
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
convertAllYaml2RDataframes(sourceDir=".",targetDirMen=".",targetDirWomen=".")
sourceDir |
The source directory of the yaml files |
targetDirMen |
The target directory in which the data frames for men are stored as RData files |
targetDirWomen |
The target directory in which the data frames for women are stored as RData files |
None
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
convertYaml2RDataframe
## Not run:
# In the example below ../yamldir is the source dir for the yaml files
convertAllYaml2RDataframes("../yamldir","../data")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.