Learn R Programming

cricketr (version 0.0.26)

getTeamNumber: 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

References

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

See Also

teamWinLossStatusVsOpposition teamWinLossStatusAtGrounds plotTimelineofWinsLosses

Examples

Run this code
# NOT RUN {
#Get the team data for India for Tests

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

Run the code above in your browser using DataLab