Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/cleanBowlerData.R
Clean the bowler's CSV fileand remove rows DNB(Did not bowl) & TDNB (Team did not bowl). Also normalize all 8 ball over to a 6 ball over for earlier bowlers
1 |
file |
The <bowler>.csv file |
More details can be found in my short video tutorial in Youtube https://www.youtube.com/watch?v=q9uMPFVsXsI
A cleaned bowler data frame with complete cases
Maintainer: Tinniam V Ganesh <tvganesh.85@gmail.com>
Tinniam V Ganesh
https://www.espncricinfo.com/ci/content/stats/index.html
https://gigadom.in/
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# Get bowling data and store in file for future
# kumble <- getPlayerData(30176,dir="./mytest", file="kumble.csv",type="bowling",
# homeOrAway=c(1),result=c(1,2))
pathToFile <- system.file("data", "kumble.csv", package = "cricketr")
cleanBowlerData(pathToFile)
# Note: This example uses the file kumble.csv from the /data directory. However
# you can use any directory as long as the data file exists in that directory.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.