getTeamNumber {cricketr} | R Documentation |
Get the number of the Team
Description
This function returns the number of the Team for which analysis is to be done
Usage
getTeamNumber(teamName,matchType)
Arguments
teamName |
The name of the team e.g Australia, India, Ghana etc |
matchType |
The match type - Test, ODI or T20 |
Value
The numerical value of the team
Note
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Author(s)
Tinniam V Ganesh
References
https://www.espncricinfo.com/ci/content/stats/index.html
https://gigadom.in/
See Also
teamWinLossStatusVsOpposition
teamWinLossStatusAtGrounds
plotTimelineofWinsLosses
Examples
## Not run:
#Get the team data for India for Tests
teamNi <-getTeamNumber(teamName="India",matchType="Test")
## End(Not run)
[Package cricketr version 0.0.26 Index]