This function computes returns the bowling dataframe of bowlers deliveries, maidens, overs, wickets against all oppositions in all matches
teamBowlingScorecardAllOppnAllMatches(matches,theTeam)
l A data frame with the bowling performance in alll matches against all oppositions
The matches of the team against all oppositions and all matches
Team for which bowling performance is required
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
if (FALSE) {
#Get all matches between India and other opposition
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)
# Or load directly from saved file
# load("allMatchesAllOpposition-India.RData")
# Top opposition bowlers performances against India
teamBowlingScorecardAllOppnAllMatches(matches,"India")
#Top Indian bowlers against respective opposition
teamBowlingScorecardAllOppnAllMatches(matches,'Australia')
teamBowlingScorecardAllOppnAllMatches(matches,'South Africa')
teamBowlingScorecardAllOppnAllMatches(matches,'England')
}
Run the code above in your browser using DataLab