This function plots the match worm graph between 2 teams in a match
matchWormGraph(match,t1,t2,plot=1)
none
The dataframe of the match
The 1st team of the match
the 2nd team in the match
Plot=1 (static), Plot=2(interactive)
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
if (FALSE) {
#Get the match details
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")
# Plot tne match worm plot
matchWormGraph(a,'England',"Pakistan")
}
Run the code above in your browser using DataLab