Learn Data & AI Skills | 50% off
Get 50% off unlimited learning

yorkr (version 0.0.42)

teamBowlingScorecardAllOppnAllMatches: Team bowling scorecard all opposition all matches

Description

This function computes returns the bowling dataframe of bowlers deliveries, maidens, overs, wickets against all oppositions in all matches

Usage

teamBowlingScorecardAllOppnAllMatches(matches,theTeam)

Value

l A data frame with the bowling performance in alll matches against all oppositions

Arguments

matches

The matches of the team against all oppositions and all matches

theTeam

Team for which bowling performance is required

Author

Tinniam V Ganesh

References

https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/

See Also

teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot

Examples

Run this code
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