cleanBowlerData: Clean the bowlers data frame

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

Description

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

Usage

1

Arguments

file

The <bowler>.csv file

Details

More details can be found in my short video tutorial in Youtube https://www.youtube.com/watch?v=q9uMPFVsXsI

Value

A cleaned bowler data frame with complete cases

Note

Maintainer: Tinniam V Ganesh <tvganesh.85@gmail.com>

Author(s)

Tinniam V Ganesh

References

http://www.espncricinfo.com/ci/content/stats/index.html
https://gigadom.wordpress.com/

See Also

clean

Examples

1
2
3
4
5
# 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))

cleanBowlerData("../cricketr/data/kumble.csv")

tvganesh/pkg documentation built on June 1, 2019, 3:51 a.m.