View source: R/convertYaml2RDataframeT20.R
convertYaml2RDataframeT20 | R Documentation |
This function coverts all T20 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
convertYaml2RDataframeT20(yamlFile,sourceDir=".",targetDir=".")
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 |
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
convertAllYaml2RDataframesT20
## Not run:
# In the example below ../yamldir c
convertYaml2RDataframe("225171.yaml",".","../data")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.