cleanTeamData: Clean the team data for Test, ODI and T20

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

View source: R/cleanTeamData.R

Description

This function cleans the team data for Test, ODI and T20

Usage

1
cleanTeamData(df,matchType)

Arguments

df

Data frame

matchType

Match type - Test, ODI, T20

Value

The cleaned Data frame

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
df<-getTeamDataHomeAway(file="india.csv",teamName="India",matchType='Test')
df1 <-cleanTeamData(df,"Test")

## End(Not run)

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