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

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

View source: R/getMatchType.R

Description

This function returns the number of the match type

Usage

1
getMatchType(matchType)

Arguments

matchType

The match type - Test, ODI or T20

Value

The numerical value of match type

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

match <-getMatchType("Test")

## End(Not run)

Example output

Registered S3 method overwritten by 'quantmod':
  method            from
  as.zoo.data.frame zoo 

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