powered by
This function cleans the team data for Test, ODI and T20
cleanTeamData(df,matchType)
Data frame
Match type - Test, ODI, T20
The cleaned Data frame
https://www.espncricinfo.com/ci/content/stats/index.html https://gigadom.in/
teamWinLossStatusVsOpposition teamWinLossStatusAtGrounds plotTimelineofWinsLosses
teamWinLossStatusVsOpposition
teamWinLossStatusAtGrounds
plotTimelineofWinsLosses
# NOT RUN { #Get the team data for India for Tests df<-getTeamDataHomeAway(file="india.csv",teamName="India",matchType='Test') df1 <-cleanTeamData(df,"Test") # }
Run the code above in your browser using DataLab