Learn R Programming

cricketr (version 0.0.26)

getMatchType: Get the number of the match type viz.for Test, ODI and T20

Description

This function returns the number of the match type

Usage

getMatchType(matchType)

Arguments

matchType

The match type - Test, ODI or T20

Value

The numerical value of match type

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

match <-getMatchType("Test")
# }

Run the code above in your browser using DataLab