getTeamNumber: Get the number of the Team

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

View source: R/getTeamNumber.R

Description

This function returns the number of the Team for which analysis is to be done

Usage

1
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

1
2
3
4
5
6
## Not run: 
#Get the team data for India for Tests

teamNi <-getTeamNumber(teamName="India",matchType="Test")

## End(Not run)

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