cricketr-package: Analyze Cricketers and Cricket Teams Based on ESPN Cricinfo...

Description Details Author(s) References See Also Examples

Description

Tools for analyzing performances of cricketers based on stats in ESPN Cricinfo Statsguru. The toolset can be used for analysis of Tests,ODIs and Twenty20 matches of both batsmen and bowlers. The package can also be used to analyze team performances. This package analyzes the performances of cricketers using ESPN Cricinfo Statsguru data. The analysis can be done for Test, ODI and Twenty20 cricket for both batsman & bowlers

Details

The DESCRIPTION file: This package was not yet installed at build time.
Index: This package was not yet installed at build time.
Tools for analyzing performances of cricketers based on stats in ESPN Cricinfo Statsguru. The toolset can be used for analysis of Tests,ODIs and Twenty20 matches of both batsmen and bowlers.

Author(s)

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

References

Details in my post https://gigadom.in/2015/07/04/introducing-cricketr-a-r-package-to-analyze-performances-of-cricketers/

See Also

https://www.youtube.com/edit?o=U&video_id=q9uMPFVsXsI

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
getPlayerData(profile,opposition="",host="",dir="./data",file="player001.csv",
type="batting", homeOrAway=c(1,2),result=c(1,2,4))
getPlayerDataOD(profile, opposition="",host="",dir = "../", file = "player001.csv", 
type = "batting", homeOrAway = c(1, 2, 3), result = c(1, 2, 3,5))
getPlayerDataTT(profile, opposition="",host="",dir = "./data", file = "player001.csv", 
type = "batting", homeOrAway = c(1, 2, 3), result = c(1, 2, 3,5))
batsmanAvgRunsGround(file, name = "A Latecut")
bowlerAvgWktsGround(file, name = "A Chinaman")
tendulkar <- system.file("data", "tendulkar.csv", package = "cricketr")
ganguly <- system.file("data", "ganguly.csv", package = "cricketr")
dravid <- system.file("data", "dravid.csv", package = "cricketr")
batsmen <- list(tendulkar,dravid,ganguly)
names <- list("Tendulkar","Dravid","Ganguly")
relativeBatsmanCumulativeAvgRuns(batsmen,names)

## End(Not run)

cricketr documentation built on March 23, 2021, 9:06 a.m.