cleanTeamData {cricketr}R Documentation

Clean the team data for Test, ODI and T20

Description

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

Usage

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

## 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)

[Package cricketr version 0.0.26 Index]