Title: | Analyze Cricket Performances Based on Data from Cricsheet |
---|---|
Description: | Analyzing performances of cricketers and cricket teams based on 'yaml' match data from Cricsheet <https://cricsheet.org/>. |
Authors: | Tinniam V Ganesh |
Maintainer: | Tinniam V Ganesh <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.41 |
Built: | 2025-01-27 03:39:55 UTC |
Source: | https://github.com/tvganesh/yorkr |
This function computes and plots the cumulative average runs of a batsman
batsmanCumulativeAverageRuns(df,name= "A Leg Glance",dateRange,staticIntv=1)
batsmanCumulativeAverageRuns(df,name= "A Leg Glance",dateRange,staticIntv=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanCumulativeStrikeRate
bowlerCumulativeAvgEconRate
bowlerCumulativeAvgWickets
batsmanRunsVsStrikeRate
batsmanRunsPredict
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanCumulativeAverageRuns(kohli,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanCumulativeAverageRuns(kohli,"Kohli",dateRange) ## End(Not run)
This function computes and plots the cumulative average strike rate of a batsman
batsmanCumulativeStrikeRate(df,name= "A Leg Glance",dateRange, staticIntv=1)
batsmanCumulativeStrikeRate(df,name= "A Leg Glance",dateRange, staticIntv=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanCumulativeAverageRuns
bowlerCumulativeAvgEconRate
bowlerCumulativeAvgWickets
batsmanRunsVsStrikeRate
batsmanRunsPredict
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanCumulativeStrikeRate(kohli,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanCumulativeStrikeRate(kohli,"Kohli",dateRange) ## End(Not run)
This function computes and plots the type of dismissals of the the batsman
batsmanDismissals(df,name="A Leg Glance",dateRange)
batsmanDismissals(df,name="A Leg Glance",dateRange)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanDismissals(kohli,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanDismissals(kohli,"Kohli",dateRange) ## End(Not run)
This function computes and plots the total runs, fours and sixes of the batsman
batsmanFoursSixes(df,name= "A Leg Glance",dateRange,staticIntv)
batsmanFoursSixes(df,name= "A Leg Glance",dateRange,staticIntv)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
batsmanRunsVsStrikeRate
batsmanRunsPredict
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) kohli46 <- select(kohli,batsman,ballsPlayed,fours,sixes,runs) batsmanFoursSixes(kohli46,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) kohli46 <- select(kohli,batsman,ballsPlayed,fours,sixes,runs) batsmanFoursSixes(kohli46,"Kohli",dateRange) ## End(Not run)
This function plots the runs scored by the batsman over the career as a time series. A loess regression line is plotted on the moving average of the batsman the batsman
batsmanMovingAverage(df, name= "A Leg Glance",dateRange,staticIntv=1)
batsmanMovingAverage(df, name= "A Leg Glance",dateRange,staticIntv=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
batsmanRunsPredict
teamBatsmenPartnershipAllOppnAllMatches
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanMovingAverage(kohli,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanMovingAverage(kohli,"Kohli",dateRange) ## End(Not run)
This function computes and plots the mean runs scored by the batsman against different oppositions
batsmanRunsAgainstOpposition(df, name= "A Leg Glance",dateRange,staticIntv=1)
batsmanRunsAgainstOpposition(df, name= "A Leg Glance",dateRange,staticIntv=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
batsmanRunsPredict
teamBatsmenPartnershipAllOppnAllMatches
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsAgainstOpposition(kohli,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsAgainstOpposition(kohli,"Kohli",dateRange) ## End(Not run)
This function uses a classification tree to predict the number of deliveries required for the batsman to score the runs. It uses the package rpart to perform the classification
batsmanRunsPredict(df, name= "A Leg Glance",dateRange)
batsmanRunsPredict(df, name= "A Leg Glance",dateRange)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
batsmanRunsPredict
teamBatsmenPartnershipAllOppnAllMatches
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsVsStrikeRate(kohli,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsVsStrikeRate(kohli,"Kohli",dateRange) ## End(Not run)
This function computes and plots the mean runs scored by the batsman at different venues of the world
batsmanRunsVenue(df, name= "A Leg Glance",dateRange,staticIntv=1)
batsmanRunsVenue(df, name= "A Leg Glance",dateRange,staticIntv=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
batsmanRunsPredict
teamBatsmenPartnershipAllOppnAllMatches
batsmanRunsAgainstOpposition
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsVenue(kohli,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsVenue(kohli,"Kohli",dateRange) ## End(Not run)
This function plots the runs scored and the deliveries required. A regression smoothing function is used to fit the points
batsmanRunsVsDeliveries(df, name= "A Late Cut",dateRange,staticIntv=1)
batsmanRunsVsDeliveries(df, name= "A Late Cut",dateRange,staticIntv=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsVsDeliveries(kohli,"Kohli") ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsVsDeliveries(kohli,"Kohli") ## End(Not run)
This function plots the runs scored by the batsman and the runs scored by the batsman. A loess line is fitted over the points
batsmanRunsVsStrikeRate(df, name= "A Late Cut",dateRange,staticIntv=1)
batsmanRunsVsStrikeRate(df, name= "A Late Cut",dateRange,staticIntv=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
batsmanRunsPredict
teamBatsmenPartnershipAllOppnAllMatches
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsVsStrikeRate(kohli,"Kohli",dateRange) ## End(Not run)
## Not run: #Get the data frame for Kohli kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) batsmanRunsVsStrikeRate(kohli,"Kohli",dateRange) ## End(Not run)
This function computes the performance of batsman vs bowler
batsmanVsBowlerPerf(t20MDF,batsman1,bowler1)
batsmanVsBowlerPerf(t20MDF,batsman1,bowler1)
t20MDF |
Dataframe |
batsman1 |
The batsman |
bowler1 |
The bowler |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
## Not run: batsmanVsBowlerPerf(t20MDF,batsman1,bowler1) ## End(Not run)
## Not run: batsmanVsBowlerPerf(t20MDF,batsman1,bowler1) ## End(Not run)
This function plots the win probability of batsman in a T20 match
batsmanWinProbDL(match,t1,t2,plot=1)
batsmanWinProbDL(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot batsmanWinProbDL(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot batsmanWinProbDL(a,'England',"Pakistan") ## End(Not run)
This function plots the batsman win probability of the teams in a T20 match
batsmanWinProbLR(match,t1,t2,plot=1)
batsmanWinProbLR(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot batsmanWinProbLR(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot batsmanWinProbLR(a,'England',"Pakistan") ## End(Not run)
This function computes and plots the cumulative average economy rate of a bowler
bowlerCumulativeAvgEconRate(df,name,dateRange,staticIntv1=1)
bowlerCumulativeAvgEconRate(df,name,dateRange,staticIntv1=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv1 |
Static or interactive -staticIntv1 =1 (static plot) & staticIntv1 =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanCumulativeAverageRuns
bowlerCumulativeAvgWickets
batsmanCumulativeStrikeRate
batsmanRunsVsStrikeRate
batsmanRunsPredict
## Not run: ) #'Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerCumulativeAvgEconRate(jadeja,"RA Jadeja",dateRange) ## End(Not run)
## Not run: ) #'Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerCumulativeAvgEconRate(jadeja,"RA Jadeja",dateRange) ## End(Not run)
This function computes and plots the cumulative average wickets of a bowler
bowlerCumulativeAvgWickets(df,name,dateRange,staticIntv1=1)
bowlerCumulativeAvgWickets(df,name,dateRange,staticIntv1=1)
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv1 |
Static or interactive -staticIntv1 =1 (static plot) & staticIntv1 =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanCumulativeAverageRuns
bowlerCumulativeAvgEconRate
batsmanCumulativeStrikeRate
batsmanRunsVsStrikeRate
batsmanRunsPredict
## Not run: ) #'Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerCumulativeAvgWickets(jadeja,"RA Jadeja",dateRange) ## End(Not run)
## Not run: ) #'Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerCumulativeAvgWickets(jadeja,"RA Jadeja",dateRange) ## End(Not run)
This function creates a dataframe of balls bowled versus the wickets taken by the bowler
bowlerDeliveryWickets(match,theTeam,name)
bowlerDeliveryWickets(match,theTeam,name)
match |
Data frame of the match |
theTeam |
The team for which the delivery wickets have to be computed |
name |
The name of the bowler |
dataframe
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
bowlerDeliveryWickets
bowlerMeanEconomyRate
bowlerMeanRunsConceded
## Not run: #Get match data match <- getMatchDetails("England","Pakistan","2006-09-05",dir="../data") bowlerDeliveryWickets(match,"India","Jadeja") ## End(Not run)
## Not run: #Get match data match <- getMatchDetails("England","Pakistan","2006-09-05",dir="../data") bowlerDeliveryWickets(match,"India","Jadeja") ## End(Not run)
This function computes and plots mean economy rate and the number of overs bowled by the bowler
bowlerMeanEconomyRate(df, name,dateRange,staticIntv1=1)
bowlerMeanEconomyRate(df, name,dateRange,staticIntv1=1)
df |
Data frame |
name |
Name of bowler |
dateRange |
Date interval to consider |
staticIntv1 |
Static or interactive -staticIntv1 =1 (static plot) & staticIntv1 =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
bowlerMeanRunsConceded
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerMeanEconomyRate(jadeja,"RA Jadeja") ## End(Not run)
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerMeanEconomyRate(jadeja,"RA Jadeja") ## End(Not run)
This function computes and plots mean runs conceded by the bowler for the number of overs bowled by the bowler
bowlerMeanRunsConceded(df, name,dateRange,staticIntv1=1)
bowlerMeanRunsConceded(df, name,dateRange,staticIntv1=1)
df |
Data frame |
name |
Name of bowler |
dateRange |
Date interval to consider |
staticIntv1 |
Static or interactive -staticIntv1 =1 (static plot) & staticIntv1 =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
bowlerMeanRunsConceded
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerMeanRunsConceded(jadeja,"RA Jadeja",dateRange) ## End(Not run)
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerMeanRunsConceded(jadeja,"RA Jadeja",dateRange) ## End(Not run)
This function computes and plots the wickets taken by the bowler over career. A loess regression fit plots the moving average of wickets taken by bowler
bowlerMovingAverage(df, name,dateRange,staticIntv1=1)
bowlerMovingAverage(df, name,dateRange,staticIntv1=1)
df |
Data frame |
name |
Name of bowler |
dateRange |
Date interval to consider |
staticIntv1 |
Static or interactive -staticIntv1 =1 (static plot) & staticIntv1 =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMeanEconomyRate
bowlerWicketsVenue
bowlerMeanRunsConceded
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerMeanRunsConceded(jadeja,"RA Jadeja",dateRange,staticIntv=1) ## End(Not run)
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerMeanRunsConceded(jadeja,"RA Jadeja",dateRange,staticIntv=1) ## End(Not run)
This function computes the performance of bowler vs batsman
bowlerVsBatsmanPerf(t20MDF,batsman1,bowler1)
bowlerVsBatsmanPerf(t20MDF,batsman1,bowler1)
t20MDF |
Dataframe |
batsman1 |
The batsman |
bowler1 |
The bowler |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
## Not run: bowlerVsBatsmanPerf(t20MDF,batsman1,bowler1) ## End(Not run)
## Not run: bowlerVsBatsmanPerf(t20MDF,batsman1,bowler1) ## End(Not run)
This function computes and plots mean number of wickets taken by the bowler against different opposition
bowlerWicketsAgainstOpposition(df, name,dateRange,staticIntv1=1)
bowlerWicketsAgainstOpposition(df, name,dateRange,staticIntv1=1)
df |
Data frame |
name |
Name of bowler |
dateRange |
Date interval to consider |
staticIntv1 |
Static or interactive -staticIntv1 =1 (static plot) & staticIntv1 =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
bowlerMeanRunsConceded
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerWicketsAgainstOpposition(jadeja,"RA Jadeja",dateRange) ## End(Not run)
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerWicketsAgainstOpposition(jadeja,"RA Jadeja",dateRange) ## End(Not run)
This function computes and plots mean number of wickets taken by the bowler in different venues
bowlerWicketsVenue(df, name,dateRange,staticIntv1=1)
bowlerWicketsVenue(df, name,dateRange,staticIntv1=1)
df |
Data frame |
name |
Name of bowler |
dateRange |
Date interval to consider |
staticIntv1 |
Static or interactive -staticIntv1 =1 (static plot) & staticIntv1 =2 (interactive plot) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
bowlerMeanRunsConceded
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerWicketsVenue(jadeja,"RA Jadeja",dateRange) ## End(Not run)
## Not run: # Get the data frame for RA Jadeja jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile) bowlerWicketsVenue(jadeja,"RA Jadeja",dateRange) ## End(Not run)
This function plots the win probability of bowlers in a T20 match
bowlerWinProbDL(match,t1,t2,plot=1)
bowlerWinProbDL(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # t bowlerWinProbDL(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # t bowlerWinProbDL(a,'England',"Pakistan") ## End(Not run)
This function plots the win probability of the teams in a T20 match
bowlerWinProbLR(match,t1,t2,plot=1)
bowlerWinProbLR(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot bowlerWinProbLR(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot bowlerWinProbLR(a,'England',"Pakistan") ## End(Not run)
This function uses a classification tree to compute the number deliveries needed versus the wickets taken
bowlerWktsPredict(df, name,dateRange)
bowlerWktsPredict(df, name,dateRange)
df |
Data frame |
name |
Name of bowler |
dateRange |
Date interval to consider |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
bowlerMeanRunsConceded
## Not run: # Get the data frame for RA Jadeja jadeja1 <- getDeliveryWickets(team="India",name="Jadeja",save=FALSE) bowlerWktsPredict(jadeja1,"RA Jadeja",dateRange) ## End(Not run)
## Not run: # Get the data frame for RA Jadeja jadeja1 <- getDeliveryWickets(team="India",name="Jadeja",save=FALSE) bowlerWktsPredict(jadeja1,"RA Jadeja",dateRange) ## End(Not run)
This function coverts all Yaml files from source directory to data frames. The data frames are then stored as .RData. The saved files are of the format team1-team2-date.RData For e.g. England-India-2008-04-06.RData etc
convertAllYaml2RDataframes(sourceDir=".",targetDirMen=".",targetDirWomen=".")
convertAllYaml2RDataframes(sourceDir=".",targetDirMen=".",targetDirWomen=".")
sourceDir |
The source directory of the yaml files |
targetDirMen |
The target directory in which the data frames for men are stored as RData files |
targetDirWomen |
The target directory in which the data frames for women are stored as RData files |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
convertYaml2RDataframe
## Not run: # In the example below ../yamldir is the source dir for the yaml files convertAllYaml2RDataframes("../yamldir","../data") ## End(Not run)
## Not run: # In the example below ../yamldir is the source dir for the yaml files convertAllYaml2RDataframes("../yamldir","../data") ## End(Not run)
This function coverts all T20 Yaml files from source directory to data frames. The data frames are then stored as .RData. The saved files are of the format team1-team2-date.RData For e.g. England-India-2008-04-06.RData etc
convertAllYaml2RDataframesT20(sourceDir=".",targetDirMen=".",targetDirWomen=".")
convertAllYaml2RDataframesT20(sourceDir=".",targetDirMen=".",targetDirWomen=".")
sourceDir |
The source directory of the yaml files |
targetDirMen |
The target directory in which the data frames of men are stored as RData files |
targetDirWomen |
The target directory in which the data frames of women are stored as RData files |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
convertYaml2RDataframeT20
## Not run: # In the example below ../yamldir is the source dir for the yaml files convertAllYaml2RDataframesT20("../yamldir","../data") ## End(Not run)
## Not run: # In the example below ../yamldir is the source dir for the yaml files convertAllYaml2RDataframesT20("../yamldir","../data") ## End(Not run)
This function coverts all Yaml files from source directory to data frames. The data frames are then stored as .RData. The saved file is of the format team1-team2-date.RData For e.g. England-India-2008-04-06.RData etc
convertYaml2RDataframe(yamlFile,sourceDir=".",targetDir=".")
convertYaml2RDataframe(yamlFile,sourceDir=".",targetDir=".")
yamlFile |
The yaml file to be converted to dataframe and saved |
sourceDir |
The source directory of the yaml file |
targetDir |
The target directory in which the data frame is stored as RData file |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
convertAllYaml2RDataframes
## Not run: # In the example below ../yamldir c convertYaml2RDataframe("225171.yaml",".","../data") ## End(Not run)
## Not run: # In the example below ../yamldir c convertYaml2RDataframe("225171.yaml",".","../data") ## End(Not run)
This function coverts all T20 Yaml files from source directory to data frames. The data frames are then stored as .RData. The saved file is of the format team1-team2-date.RData For e.g. England-India-2008-04-06.RData etc
convertYaml2RDataframeT20(yamlFile,sourceDir=".",targetDir=".")
convertYaml2RDataframeT20(yamlFile,sourceDir=".",targetDir=".")
yamlFile |
The yaml file to be converted to dataframe and saved |
sourceDir |
The source directory of the yaml file |
targetDir |
The target directory in which the data frame is stored as RData file |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
convertAllYaml2RDataframesT20
## Not run: # In the example below ../yamldir c convertYaml2RDataframe("225171.yaml",".","../data") ## End(Not run)
## Not run: # In the example below ../yamldir c convertYaml2RDataframe("225171.yaml",".","../data") ## End(Not run)
This function gets all the matches for a particular team for e.g India, Pakistan, Australia etc against all other oppositions. It constructs a huge dataframe of all these matches. This can be saved by the user which can be used in function in which analyses are done for all matches and for all oppositions. This is done by loading the saved .RData for each match and performing an rbind of the data frames for each match
getAllMatchesAllOpposition(team,dir=".",save=FALSE,odir=".")
getAllMatchesAllOpposition(team,dir=".",save=FALSE,odir=".")
team |
The team for which all matches and all opposition has to be obtained e.g. India, Pakistan |
dir |
The input directory |
save |
Default=FALSE. This parameter indicates whether the combined data frame needs to be saved or not. It is recommended to save this large dataframe as the creation of this data frame takes a several seconds depending on the number of matches |
odir |
The output directory |
match The combined data frame
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
bowlerMeanRunsConceded
## Not run: # Get all matches for team India getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) getAllMatchesAllOpposition("Australia",dir="./mysavedata/",save=TRUE) ## End(Not run)
## Not run: # Get all matches for team India getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) getAllMatchesAllOpposition("Australia",dir="./mysavedata/",save=TRUE) ## End(Not run)
This function gets all the data on matches between opposing teams for e.g India-Pakistan, Englad-Australia, South Africa- Sri Lanka etc. It constructs a huge dataframe of all these matches. This can be saved by the user which can be used in function in which analyses are done for all matches between these teams. This is done by loading the saved .RData for each match and performing an rbind of the data frames for each match
getAllMatchesBetweenTeams(team1,team2,dir=".",save=FALSE,odir = ".")
getAllMatchesBetweenTeams(team1,team2,dir=".",save=FALSE,odir = ".")
team1 |
One of the team in consideration e.g (India, Australia, England) |
team2 |
The other team for which matches are needed e.g( India, Sri Lanka, Pakistan) |
dir |
The input directory which has the RData files of matches between teams |
save |
Default=FALSE. This parameter indicates whether the combined data frame needs to be saved or not. It is recommended to save this large dataframe as the creation of this data frame takes a several seconds depending on the number of matches |
odir |
The output directory |
matches The combined data frame
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
bowlerWicketsVenue
getAllMatchesAllOpposition
## Not run: # Get all matches for team India getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) getAllMatchesAllOpposition("Australia",dir="./mysavedata/",save=TRUE) ## End(Not run)
## Not run: # Get all matches for team India getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) getAllMatchesAllOpposition("Australia",dir="./mysavedata/",save=TRUE) ## End(Not run)
This function gets the batting details of a batsman given the match data as a RData file
getBatsmanDetails(team,name,dir=".")
getBatsmanDetails(team,name,dir=".")
team |
The team of the batsman e.g. India |
name |
Name of batsman |
dir |
The directory where the source file exists |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanRunsPredict
batsmanMovingAverage
bowlerWicketsVenue
bowlerMeanRunsConceded
## Not run: getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) ## End(Not run)
## Not run: getBatsmanDetails(team="India",name="Kohli",dir=pathToFile) ## End(Not run)
This function creates a single datframe of all BBL batsmen
getBBLBattingDetails(dir='.',odir=".")
getBBLBattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a single datframe of all BBL bowling
getBBLBowlingDetails(dir='.',odir=".")
getBBLBowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBattingDetails
This function gets the bowling of a bowler (overs,maidens,runs,wickets,venue, opposition)
getBowlerWicketDetails(team,name,dir=".")
getBowlerWicketDetails(team,name,dir=".")
team |
The team to which the bowler belongs |
name |
The name of the bowler |
dir |
The source directory of the data |
dataframe The dataframe of bowling performance
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
getTeamBowlingDetails
bowlerMeanRunsConceded
teamBowlersWicketRunsOppnAllMatches
## Not run: # Get the bowling details of bowlers of a team e.g. India. This is saved as a dataframe c <- getTeamBowlingDetails("India",dir="../data",save=TRUE) #Get the bowler details from this overall data frame jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=".") # The dataframe from the above call is used in many functions #bowlerMeanEconomyRate(jadeja,"RA Jadeja") ## End(Not run)
## Not run: # Get the bowling details of bowlers of a team e.g. India. This is saved as a dataframe c <- getTeamBowlingDetails("India",dir="../data",save=TRUE) #Get the bowler details from this overall data frame jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=".") # The dataframe from the above call is used in many functions #bowlerMeanEconomyRate(jadeja,"RA Jadeja") ## End(Not run)
This function creates a single datframe of all CPL batting
getCPLBattingDetails(dir='.',odir=".")
getCPLBattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBBLBattingDetails
getBBLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a single datframe of all CPL bowling
getCPLBowlingDetails(dir='.',odir=".")
getCPLBowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a data frame of deliveries bowled and wickets taken. This data frame is then used by bowlerWktsPredict to predict the number of deliveries to wickets taken
getDeliveryWickets(team,dir=".",name,save=FALSE)
getDeliveryWickets(team,dir=".",name,save=FALSE)
team |
The team for which dataframe is to be obtained |
dir |
The source directory in which the match .RData files exist |
name |
The name of the bowler |
save |
Whether the data frame needs to be saved to a file or nor |
dataframe The dataframe of delivery wickets
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
getTeamBowlingDetails
bowlerWktsPredict
teamBowlersWicketRunsOppnAllMatches
## Not run: # Create a data frame of deliveries to wickets from the stored .RData files jadeja1 <- getDeliveryWickets(team="India",dir="../data",name="Jadeja",save=FALSE) # Use this to create a classification tree of deliveries to wickets bowlerWktsPredict(jadeja1,"RA Jadeja") ## End(Not run)
## Not run: # Create a data frame of deliveries to wickets from the stored .RData files jadeja1 <- getDeliveryWickets(team="India",dir="../data",name="Jadeja",save=FALSE) # Use this to create a classification tree of deliveries to wickets bowlerWktsPredict(jadeja1,"RA Jadeja") ## End(Not run)
This function creates a single datframe of all IPL batting
getIPLBattingDetails(dir='.',odir=".")
getIPLBattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBBLBattingDetails
getBBLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a single datframe of all IPL bowling
getIPLBowlingDetails(dir='.',odir=".")
getIPLBowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function gets the details of a matc palyed between 2 countries from the saved RData files and returns a dataframe
getMatchDetails(team1,team2,date,dir=".")
getMatchDetails(team1,team2,date,dir=".")
team1 |
The 1st team in the match |
team2 |
The 2nd team in the matcj |
date |
The date on which the match was played |
dir |
The source directory of the RData files with all matches |
match The dataframe of the match
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
getTeamBattingDetails
getTeamBowlingDetails
## Not run: # convertAllYaml2RDataframes() & convertYaml2RDataframe convert yaml files # to data frame and store as RData # We have to point to this directory for the call below a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../data") # Use this to create a classification tree of deliveries to wickets bowlerWktsPredict(jadeja1,"RA Jadeja") ## End(Not run)
## Not run: # convertAllYaml2RDataframes() & convertYaml2RDataframe convert yaml files # to data frame and store as RData # We have to point to this directory for the call below a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../data") # Use this to create a classification tree of deliveries to wickets bowlerWktsPredict(jadeja1,"RA Jadeja") ## End(Not run)
This function creates a single datframe of all NTB batting
getNTBBattingDetails(dir='.',odir=".")
getNTBBattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBBLBattingDetails
getBBLBowlingDetails
getIPLBattingDetails
getIPLBowlingDetails
This function creates a single datframe of all NTB bowling
getNTBBowlingDetails(dir='.',odir=".")
getNTBBowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory https://cricsheet.org/ |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBattingDetails
This function creates a single datframe of all ODI batting
getODIBattingDetails(dir='.',odir=".")
getODIBattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBBLBattingDetails
getBBLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a single datframe of all ODI bowling
getODIBowlingDetails(dir='.',odir=".")
getODIBowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBattingDetails
This function creates a single datframe of all PSL batting
getPSLBattingDetails(dir='.',odir=".")
getPSLBattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBBLBattingDetails
getBBLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a single datframe of all PSL bowling
getPSLBowlingDetails(dir='.',odir=".")
getPSLBowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBattingDetails
This function creates a single datframe of all SSM batsmen
getSSMBattingDetails(dir='.',odir=".")
getSSMBattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a single datframe of all SSM bowling
getSSMBowlingDetails(dir='.',odir=".")
getSSMBowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBattingDetails
This function creates a single datframe of all T20 batting
getT20BattingDetails(dir='.',odir=".")
getT20BattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBBLBattingDetails
getBBLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a single datframe of all T20 bowling
getT20BowlingDetails(dir='.',odir=".")
getT20BowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBattingDetails
This function gets the batting details of a team in all matchs against all oppositions. This gets all the details of the batsmen balls faced,4s,6s,strikerate, runs, venue etc. This function is then used for analyses of batsmen. This function calls teamBattingPerfDetails()
getTeamBattingDetails(team,dir=".",save=FALSE,odir=".")
getTeamBattingDetails(team,dir=".",save=FALSE,odir=".")
team |
The team for which batting details is required |
dir |
The source directory |
save |
Whether the data frame needs to be saved as RData or not. It is recommended to set save=TRUE as the data can be used for a lot of analyses of batsmen |
odir |
The output directory to store saved files |
battingDetails The dataframe with the batting details
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBowlingDetails
## Not run: a <- getTeamBattingDetails("India",dir="../data", save=TRUE) ## End(Not run)
## Not run: a <- getTeamBattingDetails("India",dir="../data", save=TRUE) ## End(Not run)
This function gets the bowling details of a team in all matchs against all oppositions. This gets all the details of the bowlers for e.g deliveries, maidens, runs, wickets, venue, date, winner ec
getTeamBowlingDetails(team,dir=".",save=FALSE, odir=".")
getTeamBowlingDetails(team,dir=".",save=FALSE, odir=".")
team |
The team for which detailed bowling info is required |
dir |
The source directory of RData files obtained with convertAllYaml2RDataframes() |
save |
Whether the data frame needs to be saved as RData or not. It is recommended to set save=TRUE as the data can be used for a lot of analyses of batsmen |
odir |
The output directory |
bowlingDetails The dataframe with the bowling details
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: a <- getTeamBowlingDetails("India",dir="../data",save=TRUE,odir=".") ## End(Not run)
## Not run: a <- getTeamBowlingDetails("India",dir="../data",save=TRUE,odir=".") ## End(Not run)
This function creates a single datframe of all WBB batsmen
getWBBBattingDetails(dir='.',odir=".")
getWBBBattingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBowlingDetails
This function creates a single datframe of all WBB bowling
getWBBBowlingDetails(dir='.',odir=".")
getWBBBowlingDetails(dir='.',odir=".")
dir |
The input directory |
odir |
The output directory |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getIPLBattingDetails
getIPLBowlingDetails
getNTBBattingDetails
getNTBBattingDetails
This function gets min,max date and min and max matches from dataframe
helper(teamNames,dir=".",type="IPL")
helper(teamNames,dir=".",type="IPL")
teamNames |
The team names |
dir |
The output directory |
type |
T20 format |
minDate,maxDate, minMatches, maxMatches
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Batsmen
rankT20Bowlers
This function gets min,max date and min and max matches from dataframe
helper1(teamNames,dateRange, dir=".",type="IPL")
helper1(teamNames,dateRange, dir=".",type="IPL")
teamNames |
The team names |
dateRange |
Date interval to consider |
dir |
The input directory |
type |
T20 format |
minMatches, maxMatches
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Batsmen
rankT20Bowlers
This function gets min,max date and min and max matches from dataframe
helper2(teamNames,dir=".",type="IPL")
helper2(teamNames,dir=".",type="IPL")
teamNames |
The team names |
dir |
The output directory |
type |
T20 format |
minDate,maxDate, minMatches, maxMatches
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Batsmen
rankT20Bowlers
This function gets min,max date and min and max matches from dataframe
helper3(teamNames,dateRange, dir=".",type="IPL")
helper3(teamNames,dateRange, dir=".",type="IPL")
teamNames |
The team names |
dateRange |
Date interval to consider |
dir |
The input directory |
type |
T20 format |
minMatches, maxMatches
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Batsmen
rankT20Bowlers
This function plots the match worm graph between 2 teams in a match
matchWormGraph(match,t1,t2,plot=1)
matchWormGraph(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot matchWormGraph(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot matchWormGraph(a,'England',"Pakistan") ## End(Not run)
This function plots the match worm wicket graph between 2 teams in a match
matchWormWicketGraph(match,t1,t2,plot=1)
matchWormWicketGraph(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot matchWormWicketGraph(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot matchWormWicketGraph(a,'England',"Pakistan") ## End(Not run)
Runs vs SR in middle death of Intl. T20 batsmen
overallRunsSRDeathOversPlotT20(dir=".", dateRange,type="IPL",plot=1)
overallRunsSRDeathOversPlotT20(dir=".", dateRange,type="IPL",plot=1)
dir |
The input directory |
dateRange |
Date interval to consider |
type |
T20 league |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
The ranked T20 batsmen
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: overallRunsSRDeathOversPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
## Not run: overallRunsSRDeathOversPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
Runs vs SR in middle overs of Intl. T20 batsmen
overallRunsSRMiddleOversPlotT20(dir=".", dateRange,type="IPL",plot=1)
overallRunsSRMiddleOversPlotT20(dir=".", dateRange,type="IPL",plot=1)
dir |
The input directory |
dateRange |
Date interval to consider |
type |
T20 league |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
The ranked T20 batsmen
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: overallRunsSRMiddleOversPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
## Not run: overallRunsSRMiddleOversPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
This function creates a single datframe of all T20 batsmen and then ranks them
overallRunsSRPlotT20(dir=".",minMatches, dateRange,type="IPL",plot=1)
overallRunsSRPlotT20(dir=".",minMatches, dateRange,type="IPL",plot=1)
dir |
The input directory |
minMatches |
Minimum matches played |
dateRange |
Date interval to consider |
type |
T20 league |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: overallRunsSRPlotT20(dir=".",minMatches, dateRange,type="IPL",plot=1) ## End(Not run)
## Not run: overallRunsSRPlotT20(dir=".",minMatches, dateRange,type="IPL",plot=1) ## End(Not run)
Runs vs SR in power play of T20 batsmen
overallRunsSRPPowerplayPlotT20(dir=".", dateRange,type="IPL",plot=1)
overallRunsSRPPowerplayPlotT20(dir=".", dateRange,type="IPL",plot=1)
dir |
The input directory |
dateRange |
Date interval to consider |
type |
T20 league |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: overallRunsSRPPowerplayPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
## Not run: overallRunsSRPPowerplayPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
Wickets vs ER in death overs of Intl. T20 batsmen
overallWicketsERDeathOversPlotT20(dir=".", dateRange,type="IPL",plot=1)
overallWicketsERDeathOversPlotT20(dir=".", dateRange,type="IPL",plot=1)
dir |
The input directory |
dateRange |
Date interval to consider |
type |
T20 league |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: overallWicketsERDeathOversPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
## Not run: overallWicketsERDeathOversPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
Wickets vs ER in middle overs of Intl. T20 batsmen
overallWicketsERMiddleOversPlotT20(dir=".", dateRange,type="IPL",plot=1)
overallWicketsERMiddleOversPlotT20(dir=".", dateRange,type="IPL",plot=1)
dir |
The input directory |
dateRange |
Date interval to consider |
type |
T20 league |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: overallWicketsERMiddleOversPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
## Not run: overallWicketsERMiddleOversPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
This function plots the overall wickets vs ER in T20 men
overallWicketsERPlotT20(dir=".",minMatches, dateRange,type="IPL",plot=1)
overallWicketsERPlotT20(dir=".",minMatches, dateRange,type="IPL",plot=1)
dir |
The input directory |
minMatches |
Minimum matches played |
dateRange |
Date interval to consider |
type |
T20 league |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Batsmen
rankT20Bowlers
## Not run: overallWicketsERPlotT20(dir=".",minMatches, dateRange,type="IPL",plot=1) ## End(Not run)
## Not run: overallWicketsERPlotT20(dir=".",minMatches, dateRange,type="IPL",plot=1) ## End(Not run)
Wickets vs ER in power play of Intl. T20 batsmen
overallWicketsERPowerPlayPlotT20(dir=".", dateRange,type="IPL",plot=1)
overallWicketsERPowerPlayPlotT20(dir=".", dateRange,type="IPL",plot=1)
dir |
The input directory |
dateRange |
Date interval to consider |
type |
T20 league |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: overallWicketsERPowerPlayPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
## Not run: overallWicketsERPowerPlayPlotT20(dir=".", dateRange,type="IPL",plot=1) ## End(Not run)
This function parses the yaml file and converts it into a data frame. This is an internal function and is used by convertAllYaml2RDataframes() & convertYaml2RDataframe()
parseYamlOver(match,s,ateam,delivery,meta)
parseYamlOver(match,s,ateam,delivery,meta)
match |
The dataframe of the match |
s |
The string with the delivery |
ateam |
The team |
delivery |
The delivery of the over |
meta |
The meta information of the match |
overs The dataframe of overs
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Parse the yaml over ## End(Not run)
## Not run: # Parse the yaml over ## End(Not run)
This function computes and plots number of wins for each team in all their encounters. The plot includes the number of wins byteam1 each team and the matches with no result
plotWinLossBetweenTeams(team1,team2,dir=".",dateRange, plot=1)
plotWinLossBetweenTeams(team1,team2,dir=".",dateRange, plot=1)
team1 |
The 1st team |
team2 |
The 2nd team |
dir |
The source directory of teh RData files |
dateRange |
Date Range |
plot |
plot=1 (static),plot=2(interactive) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
## Not run: plotWinLossBetweenTeams(team1="India",team2="Australia",dir=pathToFile) batsmanDismissals(kohli,"Kohli") ## End(Not run)
## Not run: plotWinLossBetweenTeams(team1="India",team2="Australia",dir=pathToFile) batsmanDismissals(kohli,"Kohli") ## End(Not run)
This function computes and plots number of wins for a team against all other teams. The plot includes the number of wins by team each team and the matches with no result
plotWinLossTeamVsAllTeams(team1,dir=".",dateRange, plot=1)
plotWinLossTeamVsAllTeams(team1,dir=".",dateRange, plot=1)
team1 |
The 1st team |
dir |
The source directory of the RData files |
dateRange |
Date Range |
plot |
plot=1 (static), plot=2(interactive) |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
## Not run: plotWinLossBetweenTeams(team1="India",team2="Australia",dir=pathToFile) batsmanDismissals(kohli,"Kohli") ## End(Not run)
## Not run: plotWinLossBetweenTeams(team1="India",team2="Australia",dir=pathToFile) batsmanDismissals(kohli,"Kohli") ## End(Not run)
This function creates a single datframe of all ODI batsmen and then ranks them
rankODIBatsmen(dir='.',odir=".",minMatches=50)
rankODIBatsmen(dir='.',odir=".",minMatches=50)
dir |
The input directory |
odir |
The output directory |
minMatches |
Minimum matches |
The ranked ODI batsmen
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankT20Batsmen
rankT20Bowlers
## Not run: odiBatsmanRank <- rankODIBatsmen() ## End(Not run)
## Not run: odiBatsmanRank <- rankODIBatsmen() ## End(Not run)
This function creates a single datframe of all ODI bowlers and then ranks them
rankODIBowlers(dir=".",odir=".",minMatches=20)
rankODIBowlers(dir=".",odir=".",minMatches=20)
dir |
The input directory |
odir |
The output directory |
minMatches |
Minimum matches |
The ranked ODI bowlers
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
## Not run: # odiBowlersRank <- rankODIBowlers() ## End(Not run)
## Not run: # odiBowlersRank <- rankODIBowlers() ## End(Not run)
This function creates a single datframe of all T20 batsmen and then ranks them
rankT20Batsmen(dir=".",minMatches, dateRange, runsvsSR,type)
rankT20Batsmen(dir=".",minMatches, dateRange, runsvsSR,type)
dir |
The input directory |
minMatches |
Minimum matches played |
dateRange |
Date interval to consider |
runsvsSR |
Runs or Strike rate |
type |
T20 format |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: rankT20Batsmen(dir=".",minMatches, dateRange, runsvsSR,type) ## End(Not run)
## Not run: rankT20Batsmen(dir=".",minMatches, dateRange, runsvsSR,type) ## End(Not run)
This function creates a single datframe of all T20 bowlers and then ranks them
rankT20Bowlers(dir=".",minMatches, dateRange, wicketsVsER,type)
rankT20Bowlers(dir=".",minMatches, dateRange, wicketsVsER,type)
dir |
The directory |
minMatches |
Minimum matches played |
dateRange |
Date interval to consider |
wicketsVsER |
Wickets or economy rate |
type |
T20 format |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Batsmen
rankT20Bowlers
## Not run: rankT20Bowlers(dir=".",minMatches, dateRange, wicketsVsER,type) ## End(Not run)
## Not run: rankT20Bowlers(dir=".",minMatches, dateRange, wicketsVsER,type) ## End(Not run)
This function saves all matches agaist all opposition as a single dataframe in the current directory
saveAllMatchesAllOpposition(dir=".",odir=".")
saveAllMatchesAllOpposition(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory to store saved matches |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetweenTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetweenTeams(dir=".",odir=".") ## End(Not run)
This function saves all BBL matches agaist all opposition as a single dataframe in the output directory
saveAllMatchesAllOppositionBBLT20(dir=".",odir=".")
saveAllMatchesAllOppositionBBLT20(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
This function saves all CPL matches agaist all opposition as a single dataframe in the output directory
saveAllMatchesAllOppositionCPLT20(dir=".",odir=".")
saveAllMatchesAllOppositionCPLT20(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
This function saves all IPL matches agaist all opposition as a single dataframe in the output directory
saveAllMatchesAllOppositionIPLT20(dir=".",odir=".")
saveAllMatchesAllOppositionIPLT20(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
This function saves all NTB matches agaist all opposition as a single dataframe in the output directory
saveAllMatchesAllOppositionNTBT20(dir=".",odir=".")
saveAllMatchesAllOppositionNTBT20(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
This function saves all PSL matches agaist all opposition as a single dataframe in the output directory
saveAllMatchesAllOppositionPSLT20(dir=".",odir=".")
saveAllMatchesAllOppositionPSLT20(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
This function saves all SSM matches agaist all opposition as a single dataframe in the output directory
saveAllMatchesAllOppositionSSMT20(dir=".",odir=".")
saveAllMatchesAllOppositionSSMT20(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
This function saves all WBB matches agaist all opposition as a single dataframe in the output directory
saveAllMatchesAllOppositionWBBT20(dir=".",odir=".")
saveAllMatchesAllOppositionWBBT20(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
## Not run: saveAllMatchesAllOppositionT20 ## End(Not run)
This function saves all matches between 2 BBL teams as a single dataframe in the current directory
saveAllMatchesBetween2BBLTeams(dir=".",odir=".")
saveAllMatchesBetween2BBLTeams(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory to store saved matches |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetween2BBLTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetween2BBLTeams(dir=".",odir=".") ## End(Not run)
This function saves all matches between 2 CPL teams as a single dataframe in the current directory
saveAllMatchesBetween2CPLTeams(dir=".",odir=".")
saveAllMatchesBetween2CPLTeams(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory to store saved matches |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetween2IPLTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetween2IPLTeams(dir=".",odir=".") ## End(Not run)
This function saves all matches between 2 IPL teams as a single dataframe in the current directory
saveAllMatchesBetween2IPLTeams(dir=".",odir=".")
saveAllMatchesBetween2IPLTeams(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory to store saved matches |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetween2IPLTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetween2IPLTeams(dir=".",odir=".") ## End(Not run)
This function saves all matches between 2 NTB teams as a single dataframe in the current directory
saveAllMatchesBetween2NTBTeams(dir=".",odir=".")
saveAllMatchesBetween2NTBTeams(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory to store saved matches |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetween2BBLTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetween2BBLTeams(dir=".",odir=".") ## End(Not run)
This function saves all matches between 2 PSL teams as a single dataframe in the current directory
saveAllMatchesBetween2PSLTeams(dir=".",odir=".")
saveAllMatchesBetween2PSLTeams(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory to store saved matches |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetween2BBLTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetween2BBLTeams(dir=".",odir=".") ## End(Not run)
This function saves all matches between 2 SSM teams as a single dataframe in the current directory
saveAllMatchesBetween2SSMTeams(dir=".",odir=".")
saveAllMatchesBetween2SSMTeams(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory to store saved matches |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetween2SSMTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetween2SSMTeams(dir=".",odir=".") ## End(Not run)
This function saves all matches between 2 WBB teams as a single dataframe in the current directory
saveAllMatchesBetween2WBBTeams(dir=".",odir=".")
saveAllMatchesBetween2WBBTeams(dir=".",odir=".")
dir |
Input Directory |
odir |
Output Directory to store saved matches |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetween2BBLTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetween2BBLTeams(dir=".",odir=".") ## End(Not run)
This function saves all matches between 2 teams as a single dataframe in the current directory
saveAllMatchesBetweenTeams(dir=".",odir=".")
saveAllMatchesBetweenTeams(dir=".",odir=".")
dir |
Input Directory to store saved matches |
odir |
Output Directory to store matches between teams |
None
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
getAllMatchesAllOpposition
getAllMatchesBetweenTeams
## Not run: saveAllMatchesBetweenTeams(dir=".",odir=".") ## End(Not run)
## Not run: saveAllMatchesBetweenTeams(dir=".",odir=".") ## End(Not run)
This function creates a single dataframe of all T20 batting details
saveAllT20BattingDetails(teamNames,dir=".",odir=".",type="IPL",save=TRUE)
saveAllT20BattingDetails(teamNames,dir=".",odir=".",type="IPL",save=TRUE)
teamNames |
The team names |
dir |
The output directory |
odir |
The output directory |
type |
T20 format |
save |
To save or not |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: saveAllT20BattingDetails(teamNames,dir=".",odir=".",type="IPL",save=TRUE) ## End(Not run)
## Not run: saveAllT20BattingDetails(teamNames,dir=".",odir=".",type="IPL",save=TRUE) ## End(Not run)
This function creates a single dataframe of all T20 batting details
saveAllT20BowlingDetails(teamNames,dir=".",odir=".",type="IPL",save=TRUE)
saveAllT20BowlingDetails(teamNames,dir=".",odir=".",type="IPL",save=TRUE)
teamNames |
The team names |
dir |
The output directory |
odir |
The output directory |
type |
T20 format |
save |
To save or not |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: saveAllT20BowlingDetails(teamNames,dir=".",odir=".",type="IPL",save=TRUE) ## End(Not run)
## Not run: saveAllT20BowlingDetails(teamNames,dir=".",odir=".",type="IPL",save=TRUE) ## End(Not run)
This function creates a single datframe of all T20 batsmen and then ranks them
saveAllT20MatchesAsDF(teamNames,dir=".",odir=".",type="IPL",save=TRUE)
saveAllT20MatchesAsDF(teamNames,dir=".",odir=".",type="IPL",save=TRUE)
teamNames |
The team names |
dir |
The output directory |
odir |
The output directory |
type |
T20 format |
save |
To save or not |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
rankODIBowlers
rankODIBatsmen
rankT20Bowlers
## Not run: saveAllT20MatchesAsDF(teamNames,dir=".",odir=".",type="IPL",save=TRUE) ## End(Not run)
## Not run: saveAllT20MatchesAsDF(teamNames,dir=".",odir=".",type="IPL",save=TRUE) ## End(Not run)
This is special processing function. This is an internal function and is used by convertAllYaml2RDataframes() & convertYaml2RDataframe()
specialProc(dist, overset, ateam,over,str1,meta)
specialProc(dist, overset, ateam,over,str1,meta)
dist |
dist |
overset |
overset |
ateam |
The team |
over |
over |
str1 |
str1 |
meta |
The meta information of the match |
over The dataframe of over
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Parse the yaml over ## End(Not run)
## Not run: # Parse the yaml over ## End(Not run)
This function computes the performance of batsmen against all bowlers of an oppositions in all matches. This function returns a dataframe
teamBatsmenPartnershiOppnAllMatches(matches,theTeam,report="summary")
teamBatsmenPartnershiOppnAllMatches(matches,theTeam,report="summary")
matches |
All the matches of the team against the oppositions |
theTeam |
The team for which the the batting partnerships are sought |
report |
If the report="summary" then the list of top batsmen with the highest partnerships is displayed. If report="detailed" then the detailed break up of partnership is returned as a dataframe |
partnerships The data frame of the partnerships
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenMatch
teamBattingScorecardMatch
## Not run: # Get all matches for team India against all oppositions matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") # You can also directly load the data #load("India-Australia-allMatches.RData") m <-teamBatsmenPartnershiOppnAllMatches(a,'India',report="summary") m <-teamBatsmenPartnershiOppnAllMatches(a,'Australia',report="detailed") ## End(Not run)
## Not run: # Get all matches for team India against all oppositions matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") # You can also directly load the data #load("India-Australia-allMatches.RData") m <-teamBatsmenPartnershiOppnAllMatches(a,'India',report="summary") m <-teamBatsmenPartnershiOppnAllMatches(a,'Australia',report="detailed") ## End(Not run)
This function computes the batting partnership of a team againt all oppositions in all matches This function returns a dataframe which is a summary of the batsman with the highest partnerships or the partnership of an individual batsman
teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam,report="summary")
teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam,report="summary")
matches |
All the matches of the team against all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
report |
if the report="summary" then the data frame returned gives a list of the batsmen with the highest partnerships. If report="detailed" then the detailed breakup of the partnership is returned. |
partnerships The data frame with the partnerships
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run: # Get all matches for team India against all oppositions m <-teamBattingScorecardAllOppnAllMatches(matches,theTeam="India") # Get the summary report teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam='India') # Get the detailed report teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam='India',report="detailed") ## End(Not run)
## Not run: # Get all matches for team India against all oppositions m <-teamBattingScorecardAllOppnAllMatches(matches,theTeam="India") # Get the summary report teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam='India') # Get the detailed report teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam='India',report="detailed") ## End(Not run)
This function plots the batting partnership of a team againt all oppositions in all matches This function also returns a dataframe with the batting partnerships
teamBatsmenPartnershipAllOppnAllMatchesPlot(matches,theTeam,main,plot=1)
teamBatsmenPartnershipAllOppnAllMatchesPlot(matches,theTeam,main,plot=1)
matches |
All the matches of the team against all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
main |
The main team for which the the batting partnerships are sought |
plot |
Whether the partnerships have top be rendered as a plot. Plot=1 (static),plot=2(interactive),plot=3(table) |
None or partnerships
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run: # Get all matches for team India against all oppositions d <- teamBatsmanVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50) #Plot the partnerships teamBatsmenVsBowlersAllOppnAllMatchesPlot(d) #Do not plot but get the dataframe e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE) ## End(Not run)
## Not run: # Get all matches for team India against all oppositions d <- teamBatsmanVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50) #Plot the partnerships teamBatsmenVsBowlersAllOppnAllMatchesPlot(d) #Do not plot but get the dataframe e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE) ## End(Not run)
This function plots the partnerships of batsmen in a match against an opposition or it can return the data frame
teamBatsmenPartnershipMatch(match,theTeam,opposition, plot=1)
teamBatsmenPartnershipMatch(match,theTeam,opposition, plot=1)
match |
The match between the teams |
theTeam |
The team for which the the batting partnerships are sought |
opposition |
The opposition team |
plot |
Plot=1 (static),plot=2(interactive),plot=3(table) |
df The data frame of the batsmen partnetships
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run: # Get athe match between England and Pakistan a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") batsmenPartnershipMatch(a,"Pakistan","England") batsmenPartnershipMatch(a,"England","Pakistan", plot=TRUE) m <-batsmenPartnershipMatch(a,"Pakistan","England", plot=FALSE) ## End(Not run)
## Not run: # Get athe match between England and Pakistan a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") batsmenPartnershipMatch(a,"Pakistan","England") batsmenPartnershipMatch(a,"England","Pakistan", plot=TRUE) m <-batsmenPartnershipMatch(a,"Pakistan","England", plot=FALSE) ## End(Not run)
This function plots the batting partnership of a team againt all oppositions in all matches This function also returns a dataframe with the batting partnerships
teamBatsmenPartnershipOppnAllMatchesChart(matches,main,opposition, plot=1)
teamBatsmenPartnershipOppnAllMatchesChart(matches,main,opposition, plot=1)
matches |
All the matches of the team against all oppositions |
main |
The main team for which the the batting partnerships are sought |
opposition |
The opposition team for which the the batting partnerships are sought |
plot |
Plot=1 (static),plot=2(interactive),plot=3(table) |
None or partnerships
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run: # Get all matches for team India against all oppositions d <- teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50) #Plot the partnerships teamBatsmenVsBowlersAllOppnAllMatchesPlot(d) #Do not plot but get the dataframe e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE) ## End(Not run)
## Not run: # Get all matches for team India against all oppositions d <- teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50) #Plot the partnerships teamBatsmenVsBowlersAllOppnAllMatchesPlot(d) #Do not plot but get the dataframe e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE) ## End(Not run)
This function computes the performance of batsmen against all bowlers of all oppositions in all matches. The data frame can be either plotted or returned to the user
teamBatsmenVsBowlersAllOppnAllMatchesPlot(df,plot=1)
teamBatsmenVsBowlersAllOppnAllMatchesPlot(df,plot=1)
df |
The dataframe of all the matches of the team against all oppositions |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
None or dataframe
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run: # Get all matches for team India against all oppositions in all matches matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # Also load directly from file #load("allMatchesAllOpposition-India.RData") d <- teamBatsmanVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50) teamBatsmenVsBowlersAllOppnAllMatchesPlot(d) e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE) ## End(Not run)
## Not run: # Get all matches for team India against all oppositions in all matches matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # Also load directly from file #load("allMatchesAllOpposition-India.RData") d <- teamBatsmanVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50) teamBatsmenVsBowlersAllOppnAllMatchesPlot(d) e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE) ## End(Not run)
This function computes the performance of batsmen against all bowlers of all oppositions in all matches
teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,theTeam,rank=0,dispRows=50)
teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,theTeam,rank=0,dispRows=50)
matches |
All the matches of the team against all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
rank |
if the rank=0 then the data frame returned gives a summary list of the batsmen with the highest runs against bowlers. If rank=N (where N=1,2,3...) then the detailed breakup of the batsman and the runs scored against each bowler is returned |
dispRows |
The number of rows to be returned |
h The data frame of the batsman and the runs against bowlers
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run: # Get all matches for team India against all oppositions m <-teamBattingScorecardAllOppnAllMatches(matches,theTeam="India") # Get the summary report teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=0) #Get detailed report teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50) teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"Pakistan",rank=0) teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"England",rank=1) ## End(Not run)
## Not run: # Get all matches for team India against all oppositions m <-teamBattingScorecardAllOppnAllMatches(matches,theTeam="India") # Get the summary report teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=0) #Get detailed report teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50) teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"Pakistan",rank=0) teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"England",rank=1) ## End(Not run)
This function plots the performance of batsmen versus bowlers in a match or it can return the data frame
teamBatsmenVsBowlersMatch(match,theTeam,opposition, plot=1)
teamBatsmenVsBowlersMatch(match,theTeam,opposition, plot=1)
match |
The match between the teams |
theTeam |
The team for which the the batting partnerships are sought |
opposition |
The opposition team |
plot |
lot=1 (static),plot=2(interactive),plot=3(table) |
b The data frame of the batsmen vs bowlers performance
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBattingScorecardMatch
## Not run: # Get athe match between England and Pakistan a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") batsmenVsBowlersMatch(a,'Pakistan','England', plot=TRUE) ## End(Not run)
## Not run: # Get athe match between England and Pakistan a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") batsmenVsBowlersMatch(a,'Pakistan','England', plot=TRUE) ## End(Not run)
This function computes the performance of batsmen against the bowlers of an oppositions in all matches
teamBatsmenVsBowlersOppnAllMatches(matches,main,opposition,plot=1,top=5)
teamBatsmenVsBowlersOppnAllMatches(matches,main,opposition,plot=1,top=5)
matches |
All the matches of the team against one specific opposition |
main |
The team for which the the batting partnerships are sought |
opposition |
The opposition team |
plot |
lot=1 (static),plot=2(interactive),plot=3(table) |
top |
The number of players to be plotted or returned as a dataframe. The default is 5 |
None or dataframe
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run: # Get all matches for team India against an opposition matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") # Get the performance of India batsman against Australia in all matches teamBatsmenVsBowlersOppnAllMatches(a,"India","Australia") # Display top 3 teamBatsmanVsBowlersOppnAllMatches(a,"Australia","India",top=3) # Get top 10 and do not plot n <- teamBatsmenVsBowlersOppnAllMatches(a,"Australia","India",top=10,plot=FALSE) ## End(Not run)
## Not run: # Get all matches for team India against an opposition matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") # Get the performance of India batsman against Australia in all matches teamBatsmenVsBowlersOppnAllMatches(a,"India","Australia") # Display top 3 teamBatsmanVsBowlersOppnAllMatches(a,"Australia","India",top=3) # Get top 10 and do not plot n <- teamBatsmenVsBowlersOppnAllMatches(a,"Australia","India",top=10,plot=FALSE) ## End(Not run)
This function gets the team batting detals
teamBattingPerfDetails(match,theTeam,includeInfo=FALSE)
teamBattingPerfDetails(match,theTeam,includeInfo=FALSE)
match |
The match between the teams |
theTeam |
The team for which the the batting partnerships are sought |
includeInfo |
Whether to include venue,date, winner and result |
df dataframe
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBattingScorecardMatch
## Not run: #teamBattingPerfDetails() ## End(Not run)
## Not run: #teamBattingPerfDetails() ## End(Not run)
This function omputes and returns the batting scorecard of a team in all matches against all oppositions. The data frame has the ball played, 4's,6's and runs scored by batsman
teamBattingScorecardAllOppnAllMatches(matches,theTeam)
teamBattingScorecardAllOppnAllMatches(matches,theTeam)
matches |
All matches of the team in all matches with all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
details The data frame of the scorecard of the team in all matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Get all matches between India with all oppositions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # This can also be loaded from saved file # load("allMatchesAllOpposition-India.RData") # Top batsman is displayed in descending order of runs teamBattingScorecardAllOppnAllMatches(matches,theTeam="India") # The best England players scorecard against India is shown teamBattingScorecardAllOppnAllMatches(matches,theTeam="England") ## End(Not run)
## Not run: # Get all matches between India with all oppositions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # This can also be loaded from saved file # load("allMatchesAllOpposition-India.RData") # Top batsman is displayed in descending order of runs teamBattingScorecardAllOppnAllMatches(matches,theTeam="India") # The best England players scorecard against India is shown teamBattingScorecardAllOppnAllMatches(matches,theTeam="England") ## End(Not run)
This function computes returns the batting scorecard (runs, fours, sixes, balls played) for the team
teamBattingScorecardMatch(match,theTeam)
teamBattingScorecardMatch(match,theTeam)
match |
The match for which the score card is required e.g. |
theTeam |
Team for which scorecard required |
scorecard A data frame with the batting scorecard
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
## Not run: a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingScorecardMatch(a,'England') ## End(Not run)
## Not run: a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingScorecardMatch(a,'England') ## End(Not run)
This function computes returns the batting scorecard (runs, fours, sixes, balls played) for the team in all matches against an opposition
teamBattingScorecardOppnAllMatches(matches,main,opposition)
teamBattingScorecardOppnAllMatches(matches,main,opposition)
matches |
the data frame of all matches between a team and an opposition obtained with the call getAllMatchesBetweenteam() |
main |
The main team for which scorecard required |
opposition |
The opposition team |
scorecard The scorecard of all the matches
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("India","Australia",dir="../data",save=TRUE) # Compute the scorecard of India in matches with australia teamBattingScorecardOppnAllMatches(matches,main="India",opposition="Australia") #Get all matches between Australia and India matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") #Compute the batting scorecard of Australia teamBattingScorecardOppnAllMatches(matches,"Australia","India") ## End(Not run)
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("India","Australia",dir="../data",save=TRUE) # Compute the scorecard of India in matches with australia teamBattingScorecardOppnAllMatches(matches,main="India",opposition="Australia") #Get all matches between Australia and India matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") #Compute the batting scorecard of Australia teamBattingScorecardOppnAllMatches(matches,"Australia","India") ## End(Not run)
This function computes performance of bowlers of a team against all opposition in all matches
teamBowlersVsBatsmenAllOppnAllMatchesMain(matches,theTeam,rank=0)
teamBowlersVsBatsmenAllOppnAllMatchesMain(matches,theTeam,rank=0)
matches |
the data frame of all matches between a team and aall opposition and all obtained with the call getAllMatchesAllOpposition() |
theTeam |
The team against which the performance is requires |
rank |
When the rank is 0 then the performance of all the bowlers is displayed. If rank=n (1,2,3 ..) then the performance of that bowler is given |
dataframe The dataframe with all performances
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: # Get all matches between India and all oppostions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # You could also load directly from the saved file #load("allMatchesAllOpposition-India.RData") # The call below gives the best bowlers of India teamBowlersVsBatsmenAllOppnAllMatchesMain(matches,theTeam="India",rank=0) # The call with rank=1 gives the performance of the 'India' bowler with rank=1 teamBowlersVsBatsmenAllOppnAllMatchesMain(matches,theTeam="India",rank=1) ## End(Not run)
## Not run: # Get all matches between India and all oppostions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # You could also load directly from the saved file #load("allMatchesAllOpposition-India.RData") # The call below gives the best bowlers of India teamBowlersVsBatsmenAllOppnAllMatchesMain(matches,theTeam="India",rank=0) # The call with rank=1 gives the performance of the 'India' bowler with rank=1 teamBowlersVsBatsmenAllOppnAllMatchesMain(matches,theTeam="India",rank=1) ## End(Not run)
This function computes performance of bowlers of a team against all opposition in all matches
teamBowlersVsBatsmenAllOppnAllMatchesPlot(bowlerDF,t1,t2,plot=1)
teamBowlersVsBatsmenAllOppnAllMatchesPlot(bowlerDF,t1,t2,plot=1)
bowlerDF |
The data frame of the bowler whose performance is required |
t1 |
The team against to which the player belong |
t2 |
The opposing team |
plot |
plot=1 (static),plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesRept
## Not run: # Get all matches between India and all oppostions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) #Get the details of the bowler with the specified rank as a dataframe df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=1) #Plot this teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","India") df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="England",rank=1) teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","England") ## End(Not run)
## Not run: # Get all matches between India and all oppostions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) #Get the details of the bowler with the specified rank as a dataframe df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=1) #Plot this teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","India") df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="England",rank=1) teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","England") ## End(Not run)
This function computes performance of bowlers of a team against all opposition in all matches
teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam,rank=0)
teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam,rank=0)
matches |
the data frame of all matches between a team and aall opposition and all obtained with the call getAllMatchesAllOpposition() |
theTeam |
The team against which the performance is requires |
rank |
When the rank is 0 then the performance of all the bowlers is displayed. If rank=n (1,2,3 ..) then the performance of that bowler is given |
dataframe The dataframe with all performances
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: # Get all matches between India and all oppostions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # You could also load directly from the saved file #load("allMatchesAllOpposition-India.RData") # The call below gives the best bowlers against India teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=0) # The call with rank=1 gives the performace of the bowler with rank teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=1) # The call below gives the overall performance of India bowlers against South Africa teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"South Africa",rank=0) # The call below gives the performance of best Indias bowlers against Australia teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,"Australia",rank=1) ## End(Not run)
## Not run: # Get all matches between India and all oppostions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # You could also load directly from the saved file #load("allMatchesAllOpposition-India.RData") # The call below gives the best bowlers against India teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=0) # The call with rank=1 gives the performace of the bowler with rank teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=1) # The call below gives the overall performance of India bowlers against South Africa teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"South Africa",rank=0) # The call below gives the performance of best Indias bowlers against Australia teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,"Australia",rank=1) ## End(Not run)
This function computes performance of bowlers of a team against an opposition in a match
teamBowlersVsBatsmenMatch(match,theTeam,opposition, plot=1)
teamBowlersVsBatsmenMatch(match,theTeam,opposition, plot=1)
match |
The data frame of the match. This can be obtained with the call for e.g a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") |
theTeam |
The team against which the performance is required |
opposition |
The opposition team |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
None or dataframe If plot=TRUE there is no return. If plot=TRUE then the dataframe is returned
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: # Get the match between England and Pakistan a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlersVsBatsmenMatch(a,"Pakistan","England") teamBowlersVsBatsmenMatch(a,"England","Pakistan") m <- teamBowlersVsBatsmenMatch(a,"Pakistan","England") ## End(Not run)
## Not run: # Get the match between England and Pakistan a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlersVsBatsmenMatch(a,"Pakistan","England") teamBowlersVsBatsmenMatch(a,"England","Pakistan") m <- teamBowlersVsBatsmenMatch(a,"Pakistan","England") ## End(Not run)
This function computes performance of bowlers of a team against an opposition in all matches against the opposition
teamBowlersVsBatsmenOppnAllMatches(matches,main,opposition,plot=1,top=5)
teamBowlersVsBatsmenOppnAllMatches(matches,main,opposition,plot=1,top=5)
matches |
The data frame of all matches between a team the opposition. This dataframe can be obtained with matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") |
main |
The main team against which the performance is requires |
opposition |
The opposition team against which the performance is require |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
top |
The number of rows to be returned. 5 by default |
dataframe The dataframe with all performances
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") # Plot the performance of top 5 Indian bowlers against Australia teamBowlersVsBatsmanOppnAllMatches(matches,'India',"Australia",top=5) # Plot the performance of top 3 Australian bowlers against India teamBowlersVsBatsmenOppnAllMatches(matches,"Australia","India",top=3) # Get the top 5 bowlers of Australia. Do not plot but get as a dataframe teamBowlersVsBatsmenOppnAllMatches(matches,"Australia","India",plot=FALSE) ## End(Not run)
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") # Plot the performance of top 5 Indian bowlers against Australia teamBowlersVsBatsmanOppnAllMatches(matches,'India',"Australia",top=5) # Plot the performance of top 3 Australian bowlers against India teamBowlersVsBatsmenOppnAllMatches(matches,"Australia","India",top=3) # Get the top 5 bowlers of Australia. Do not plot but get as a dataframe teamBowlersVsBatsmenOppnAllMatches(matches,"Australia","India",plot=FALSE) ## End(Not run)
This function computes performance of bowlers of a team and the wicket kind against an opposition in all matches against the opposition
teamBowlersWicketKindOppnAllMatches(matches,main,opposition,plot=1)
teamBowlersWicketKindOppnAllMatches(matches,main,opposition,plot=1)
matches |
The data frame of all matches between a team the opposition. This dataframe can be obtained with matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") |
main |
The team for which the performance is required |
opposition |
The opposing team |
plot |
#' @param plot plot=1 (static),plot=2(interactive),plot=3(table) |
None or dataframe The return depends on the value of the plot
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") teamBowlersWicketKindOppnAllMatches(matches,"India","Australia",plot=TRUE) m <- teamBowlersWicketKindOppnAllMatches(matches,"Australia","India",plot=FALSE) teamBowlersWicketKindOppnAllMatches(matches,"Australia","India",plot=TRUE) ## End(Not run)
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") teamBowlersWicketKindOppnAllMatches(matches,"India","Australia",plot=TRUE) m <- teamBowlersWicketKindOppnAllMatches(matches,"Australia","India",plot=FALSE) teamBowlersWicketKindOppnAllMatches(matches,"Australia","India",plot=TRUE) ## End(Not run)
This function computes performance of bowlers of a team and the runs conceded against an opposition in all matches against the opposition
teamBowlersWicketRunsOppnAllMatches(matches,main,opposition,plot=1)
teamBowlersWicketRunsOppnAllMatches(matches,main,opposition,plot=1)
matches |
The data frame of all matches between a team the opposition. This dataframe can be obtained with matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") |
main |
The team for which the performance is required |
opposition |
The opposing team |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
None or dataframe The return depends on the value of the plot
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBowlersWicketsOppnAllMatches
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") teamBowlersWicketRunsOppnAllMatches(matches,"India","Australia") m <-teamBowlerWicketsRunsOppnAllMatches(matches,"Australia","India",plot=FALSE) ## End(Not run)
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") teamBowlersWicketRunsOppnAllMatches(matches,"India","Australia") m <-teamBowlerWicketsRunsOppnAllMatches(matches,"Australia","India",plot=FALSE) ## End(Not run)
This function computes performance of bowlers of a team and the wickets taken against an opposition in all matches against the opposition
teamBowlersWicketsOppnAllMatches(matches,main,opposition,plot=1,top=20)
teamBowlersWicketsOppnAllMatches(matches,main,opposition,plot=1,top=20)
matches |
The data frame of all matches between a team the opposition. This dataframe can be obtained with matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") |
main |
The team for which the performance is required |
opposition |
The opposing team |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
top |
The number of top bowlers to be included in the result |
None or dataframe The return depends on the value of the plot
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersWicketRunsOppnAllMatches
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") #Display top 20 teamBowlersWicketsOppnAllMatches(matches,"India","Australia") #Display and plot top 10 teamBowlersWicketsOppnAllMatches(matches,"Australia","India",top=10) #Do not plot but return as dataframe teamBowlersWicketsOppnAllMatches(matches,"India","Australia",plot=FALSE) ## End(Not run)
## Not run: # Get all matches between India and Australia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") #Display top 20 teamBowlersWicketsOppnAllMatches(matches,"India","Australia") #Display and plot top 10 teamBowlersWicketsOppnAllMatches(matches,"Australia","India",top=10) #Do not plot but return as dataframe teamBowlersWicketsOppnAllMatches(matches,"India","Australia",plot=FALSE) ## End(Not run)
This function computes performance of bowlers of a team a
teamBowlingPerfDetails(match,theTeam,includeInfo=FALSE)
teamBowlingPerfDetails(match,theTeam,includeInfo=FALSE)
match |
The data frame of all match |
theTeam |
The team for which the performance is required |
includeInfo |
If true details like venie,winner, result etc are included |
dataframe The dataframe of bowling performance
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersWicketRunsOppnAllMatches
## Not run: # Get all matches between India and Australia match <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingPerf(match,"India",includeInfo=TRUE) ## End(Not run)
## Not run: # Get all matches between India and Australia match <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingPerf(match,"India",includeInfo=TRUE) ## End(Not run)
This function computes returns the bowling dataframe of bowlers deliveries, maidens, overs, wickets against an opposition in all matches
teamBowlingPerfOppnAllMatches(matches,main,opposition)
teamBowlingPerfOppnAllMatches(matches,main,opposition)
matches |
The matches of the team against an opposition. |
main |
Team for which bowling performance is required |
opposition |
The opposition Team |
l A data frame with the bowling performance
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersWicketsOppnAllMatches
teamBowlersWicketRunsOppnAllMatches
teamBowlersWicketKindOppnAllMatches
## Not run: #Get all matches between India and Autralia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") # Or load directly from saved file # load("India-Australia-allMatches.RData") teamBowlingPerfOppnAllMatches(matches,"India","Australia") teamBowlingPerfOppnAllMatches(matches,main="Australia",opposition="India") ## End(Not run)
## Not run: #Get all matches between India and Autralia matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") # Or load directly from saved file # load("India-Australia-allMatches.RData") teamBowlingPerfOppnAllMatches(matches,"India","Australia") teamBowlingPerfOppnAllMatches(matches,main="Australia",opposition="India") ## End(Not run)
This function computes returns the bowling dataframe of bowlers deliveries, maidens, overs, wickets against all oppositions in all matches
teamBowlingScorecardAllOppnAllMatches(matches,theTeam)
teamBowlingScorecardAllOppnAllMatches(matches,theTeam)
matches |
The matches of the team against all oppositions and all matches |
theTeam |
Team for which bowling performance is required |
l A data frame with the bowling performance in alll matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: #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') ## End(Not run)
## Not run: #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') ## End(Not run)
This function computes returns the bowling dataframe of best bowlers deliveries, maidens, overs, wickets against all oppositions in all matches
teamBowlingScorecardAllOppnAllMatchesMain(matches,theTeam)
teamBowlingScorecardAllOppnAllMatchesMain(matches,theTeam)
matches |
The matches of the team against all oppositions and all matches |
theTeam |
Team for which bowling performance is required |
l A data frame with the bowling performance in alll matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlingScorecardAllOppnAllMatches
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: #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 of India teamBowlingScorecardAllOppnAllMatchesMain(matches,"India") ## End(Not run)
## Not run: #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 of India teamBowlingScorecardAllOppnAllMatchesMain(matches,"India") ## End(Not run)
This function computes and returns the bowling scorecard of a team in a match
teamBowlingScorecardMatch(match,theTeam)
teamBowlingScorecardMatch(match,theTeam)
match |
The match between the teams |
theTeam |
Team for which bowling performance is required |
l A data frame with the bowling performance in alll matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlingWicketMatch
teamBowlersVsBatsmenMatch
teamBattingScorecardMatch
## Not run: #Get all matches between India and other opposition a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingScorecardMatch(a,'England') ## End(Not run)
## Not run: #Get all matches between India and other opposition a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingScorecardMatch(a,'England') ## End(Not run)
This function computes returns kind of wickets (caught, bowled etc) of bowlers in all matches against all oppositions. The user can chose to plot or return a data frame
teamBowlingWicketKindAllOppnAllMatches(matches,t1,t2="All",plot=1)
teamBowlingWicketKindAllOppnAllMatches(matches,t1,t2="All",plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
Team for which bowling performance is required |
t2 |
t2=All gives the performance of the team against all opponents. Giving a opposing team (Australia, India ) will give the performance against this team |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
None or data fame A data frame with the bowling performance in alll matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: #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") teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="All") m <-teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="All",plot=FALSE) teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="Bangladesh") teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="South Africa") ## End(Not run)
## Not run: #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") teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="All") m <-teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="All",plot=FALSE) teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="Bangladesh") teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="South Africa") ## End(Not run)
This function computes returns kind of wickets (caught, bowled etc) of bowlers in a match between 2 teams
teamBowlingWicketKindMatch(match,theTeam,opposition,plot=1)
teamBowlingWicketKindMatch(match,theTeam,opposition,plot=1)
match |
The match between the teams |
theTeam |
Team for which bowling performance is required |
opposition |
The opposition team |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
None or data fame A data frame with the bowling performance in alll matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlingWicketMatch
teamBowlingWicketRunsMatch
teamBowlersVsBatsmenMatch
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingWicketKindMatch(a,"England","Pakistan",plot=FALSE) teamBowlingWicketKindMatch(a,"Pakistan","England") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingWicketKindMatch(a,"England","Pakistan",plot=FALSE) teamBowlingWicketKindMatch(a,"Pakistan","England") ## End(Not run)
This function computes returns the wickets taken bowlers in a match between 2 teams
teamBowlingWicketMatch(match,theTeam,opposition, plot=1)
teamBowlingWicketMatch(match,theTeam,opposition, plot=1)
match |
The match between the teams |
theTeam |
Team for which bowling performance is required |
opposition |
The opposition team |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
None or data fame A data frame with the bowling performance in alll matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlingWicketMatch
teamBowlingWicketRunsMatch
teamBowlersVsBatsmenMatch
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingWicketMatch(a,"England","Pakistan",plot=FALSE) teamBowlingWicketMatch(a,"Pakistan","England") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingWicketMatch(a,"England","Pakistan",plot=FALSE) teamBowlingWicketMatch(a,"Pakistan","England") ## End(Not run)
This function computes the number of wickets and runs conceded by bowlers in all matches against all oppositions. The user can chose to plot or return a data frame
teamBowlingWicketRunsAllOppnAllMatches(matches,t1,t2="All",plot=1)
teamBowlingWicketRunsAllOppnAllMatches(matches,t1,t2="All",plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
Team for which bowling performance is required |
t2 |
t2=All gives the performance of the team against all opponents. Giving a opposing team (Australia, India ) will give the performance against this team |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
None or data fame A data frame with the bowling performance in alll matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: #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") teamBowlingWicketRunsAllOppnAllMatches(matches,t1="India",t2="All",plot=TRUE) m <-teamBowlingWicketRunsAllOppnAllMatches(matches,t1="India",t2="All",plot=FALSE) ## End(Not run)
## Not run: #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") teamBowlingWicketRunsAllOppnAllMatches(matches,t1="India",t2="All",plot=TRUE) m <-teamBowlingWicketRunsAllOppnAllMatches(matches,t1="India",t2="All",plot=FALSE) ## End(Not run)
This function computes returns the wickets taken and runs conceded bowlers in a match between 2 teams. The user can choose to plot or return a dataframe
teamBowlingWicketRunsMatch(match,theTeam,opposition,plot=1)
teamBowlingWicketRunsMatch(match,theTeam,opposition,plot=1)
match |
The match between the teams |
theTeam |
Team for which bowling performance is required |
opposition |
The opposition team |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
None or data fame A data frame with the bowling performance in all matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlingWicketMatch
teamBowlingWicketRunsMatch
teamBowlersVsBatsmenMatch
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingWicketRunsMatch(a,"England","Pakistan",plot=FALSE) teamBowlingWicketRunsMatch(a,"Pakistan","England") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") teamBowlingWicketRunsMatch(a,"England","Pakistan",plot=FALSE) teamBowlingWicketRunsMatch(a,"Pakistan","England") ## End(Not run)
This function plots the runs in in powerplay, middle and death overs
teamERAcrossOvers(match,t1,t2,plot=1)
teamERAcrossOvers(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamERAcrossOvers(match,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamERAcrossOvers(match,'England',"Pakistan") ## End(Not run)
This function plots the ER by team against all team in in powerplay, middle and death overs
teamERAcrossOversAllOppnAllMatches(matches,t1,plot=1)
teamERAcrossOversAllOppnAllMatches(matches,t1,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamERAcrossOversAllOppnAllMatches(matches,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamERAcrossOversAllOppnAllMatches(matches,'England',"Pakistan") ## End(Not run)
This function plots the ER by team against team in in powerplay, middle and death overs
teamERAcrossOversOppnAllMatches(matches,t1,t2,plot=1)
teamERAcrossOversOppnAllMatches(matches,t1,t2,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamERAcrossOversOppnAllMatches(matches,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamERAcrossOversOppnAllMatches(matches,'England',"Pakistan") ## End(Not run)
This function plots the runs in in powerplay, middle and death overs
teamRunsAcrossOvers(match,t1,t2,plot=1)
teamRunsAcrossOvers(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamRunsAcrossOvers(match,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamRunsAcrossOvers(match,'England',"Pakistan") ## End(Not run)
This function plots the runs by team against all teams in in powerplay, middle and death overs
teamRunsAcrossOversAllOppnAllMatches(matches,t1,plot=1)
teamRunsAcrossOversAllOppnAllMatches(matches,t1,plot=1)
matches |
The dataframe of the matches |
t1 |
The team for which the runs is required |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamRunsAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
## Not run: # Plot tne match worm plot teamRunsAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
This function plots the runs by team against team in in powerplay, middle and death overs
teamRunsAcrossOversOppnAllMatches(matches,t1,t2,plot=1)
teamRunsAcrossOversOppnAllMatches(matches,t1,t2,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamRunsAcrossOversOppnAllMatches(matches,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamRunsAcrossOversOppnAllMatches(matches,'England',"Pakistan") ## End(Not run)
This function computes and plots runs vs SR in death overs of a team in all matches against all oppositions.
teamRunSRDeathOversPlotAllOppnAllMatches(matches,t1,plot=1)
teamRunSRDeathOversPlotAllOppnAllMatches(matches,t1,plot=1)
matches |
All matches of the team in all matches with all oppositions |
t1 |
The team for which the the batting partnerships are sought |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunSRDeathOversPlotAllOppnAllMatches(matches,t1,plot=1) ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunSRDeathOversPlotAllOppnAllMatches(matches,t1,plot=1) ## End(Not run)
This function computes and plots runs vs SR in death overs of a team in match against opposition.
teamRunSRDeathOversPlotMatch(match,t1, t2, plot=1)
teamRunSRDeathOversPlotMatch(match,t1, t2, plot=1)
match |
Match |
t1 |
The team |
t2 |
The opposition team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunSRDeathOversPlotMatch(match,t1="India",t2="England") ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunSRDeathOversPlotMatch(match,t1="India",t2="England") ## End(Not run)
This function computes and plots runs vs SR in middle overs of a team in all matches against opposition.
teamRunSRDeathOversPlotOppnAllMatches(matches,t1, t2, plot=1)
teamRunSRDeathOversPlotOppnAllMatches(matches,t1, t2, plot=1)
matches |
All matches of the team in all matches with all oppositions |
t1 |
The team |
t2 |
The opposition team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunSRDeathOversPlotOppnAllMatches(matches,t1="India",t2="England") ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunSRDeathOversPlotOppnAllMatches(matches,t1="India",t2="England") ## End(Not run)
This function computes and plots runs vs SR in middle overs of a team in all matches against all oppositions.
teamRunsSRMiddleOversPlotAllOppnAllMatches(matches,t1,plot=1)
teamRunsSRMiddleOversPlotAllOppnAllMatches(matches,t1,plot=1)
matches |
All matches of the team in all matches with all oppositions |
t1 |
The team for which the the batting partnerships are sought |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRMiddleOversPlotAllOppnAllMatches(matches,t1,plot=1) ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRMiddleOversPlotAllOppnAllMatches(matches,t1,plot=1) ## End(Not run)
This function computes and plots runs vs SR of a team in all matches against all oppositions.
teamRunsSRPlotAllOppnAllMatches(matches,theTeam,plot=1)
teamRunsSRPlotAllOppnAllMatches(matches,theTeam,plot=1)
matches |
All matches of the team in all matches with all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
plot |
Plot=1 (static), Plot=2(interactive) |
details The data frame of the scorecard of the team in all matches against all oppositions
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Get all matches between India with all oppositions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # This can also be loaded from saved file # load("allMatchesAllOpposition-India.RData") # Top batsman is displayed in descending order of runs teamRunsSRPlotAllOppnAllMatches(matches,theTeam="India") # The best England players scorecard against India is shown teamRunsSRPlotAllOppnAllMatches(matches,theTeam="England",plot=1) ## End(Not run)
## Not run: # Get all matches between India with all oppositions matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE) # This can also be loaded from saved file # load("allMatchesAllOpposition-India.RData") # Top batsman is displayed in descending order of runs teamRunsSRPlotAllOppnAllMatches(matches,theTeam="India") # The best England players scorecard against India is shown teamRunsSRPlotAllOppnAllMatches(matches,theTeam="England",plot=1) ## End(Not run)
This function computes and plots the Runs vs SR of a team in matches
teamRunsSRPlotMatch(match,theTeam, opposition, plot=1)
teamRunsSRPlotMatch(match,theTeam, opposition, plot=1)
match |
All matches of the team in all matches with all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
opposition |
The opposition team |
plot |
plot=1 (static),plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPlotMatch(matches,theTeam="India",opposition="England") ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPlotMatch(matches,theTeam="India",opposition="England") ## End(Not run)
This function computes and plots the Runs vs SR of a team in all matches against an oppositions.
teamRunsSRPlotOppnAllMatches(matches,t1,t2,plot=1)
teamRunsSRPlotOppnAllMatches(matches,t1,t2,plot=1)
matches |
All matches of the team in all matches with opposition |
t1 |
The team t |
t2 |
The opposition team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPlotOppnAllMatches(matches,theTeam="India") # The best England players scorecard against India is shown teamRunsSRPlotOppnAllMatches(matches,theTeam="England") ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPlotOppnAllMatches(matches,theTeam="India") # The best England players scorecard against India is shown teamRunsSRPlotOppnAllMatches(matches,theTeam="England") ## End(Not run)
This function computes and plots runs vs SR in middle overs of a team in match against opposition.
teamRunsSRPMiddleOversPlotMatch(match,t1, t2, plot=1)
teamRunsSRPMiddleOversPlotMatch(match,t1, t2, plot=1)
match |
Match |
t1 |
The team |
t2 |
The opposition team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPMiddleOversPlotMatch(match,t1="India",t2="England") ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPMiddleOversPlotMatch(match,t1="India",t2="England") ## End(Not run)
This function computes and plots runs vs SR in middle overs of a team in all matches against opposition.
teamRunsSRPMiddleOversPlotOppnAllMatches(matches,t1, t2, plot=1)
teamRunsSRPMiddleOversPlotOppnAllMatches(matches,t1, t2, plot=1)
matches |
All matches of the team in all matches with all oppositions |
t1 |
The team |
t2 |
The opposition team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPMiddleOversPlotOppnAllMatches(matches,t1="India",t2="England") ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPMiddleOversPlotOppnAllMatches(matches,t1="India",t2="England") ## End(Not run)
This function computes and plots runs vs SR in power play of a team in all matches against all oppositions.
teamRunsSRPowerPlayPlotAllOppnAllMatches(matches,t1,plot=1)
teamRunsSRPowerPlayPlotAllOppnAllMatches(matches,t1,plot=1)
matches |
All matches of the team in all matches with all oppositions |
t1 |
The team for which the the batting partnerships are sought |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPowerPlayPlotAllOppnAllMatches(matches,t1,plot=1) ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPowerPlayPlotAllOppnAllMatches(matches,t1,plot=1) ## End(Not run)
This function computes and plots runs vs SR in power play of a team in match against opposition.
teamRunsSRPowerPlayPlotMatch(match,t1, t2, plot=1)
teamRunsSRPowerPlayPlotMatch(match,t1, t2, plot=1)
match |
Match |
t1 |
The team |
t2 |
The opposition team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPowerPlayPlotMatch(match,t1="India",t2="England") ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPowerPlayPlotMatch(match,t1="India",t2="England") ## End(Not run)
This function computes and plots runs vs SR in power play of a team in all matches against opposition.
teamRunsSRPowerPlayPlotOppnAllMatches(matches,t1, t2, plot=1)
teamRunsSRPowerPlayPlotOppnAllMatches(matches,t1, t2, plot=1)
matches |
All matches of the team in all matches with all oppositions |
t1 |
The team |
t2 |
The opposition team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPowerPlayPlotOppnAllMatches(matches,t1="India") ## End(Not run)
## Not run: # Top batsman is displayed in descending order of runs teamRunsSRPowerPlayPlotOppnAllMatches(matches,t1="India") ## End(Not run)
This function plots strike rate scored in powerplay, middle and death overs
teamSRAcrossOvers(match,t1,t2,plot=1)
teamSRAcrossOvers(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamSRAcrossOvers(match,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamSRAcrossOvers(match,'England',"Pakistan") ## End(Not run)
This function plots the SR by team against all team in in powerplay, middle and death overs
teamSRAcrossOversAllOppnAllMatches(matches,t1,plot=1)
teamSRAcrossOversAllOppnAllMatches(matches,t1,plot=1)
matches |
The dataframe of the matches |
t1 |
The team of the matches |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamSRAcrossOversAllOppnAllMatches(matches,"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamSRAcrossOversAllOppnAllMatches(matches,"Pakistan") ## End(Not run)
This function plots the SR by team against team in in powerplay, middle and death overs
teamSRAcrossOversOppnAllMatches(matches,t1,t2,plot=1)
teamSRAcrossOversOppnAllMatches(matches,t1,t2,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamSRAcrossOversOppnAllMatches(matches,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamSRAcrossOversOppnAllMatches(matches,'England',"Pakistan") ## End(Not run)
This function computes wickets vs ER in death overs against oppositions in all matches
teamWicketERDeathOversPlotOppnAllMatches(matches,t1,t2,plot=1)
teamWicketERDeathOversPlotOppnAllMatches(matches,t1,t2,plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
Team for which bowling performance is required |
t2 |
Opposition Team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketERDeathOversPlotOppnAllMatches(matches,t1,t2,plot=1) ## End(Not run)
## Not run: teamWicketERDeathOversPlotOppnAllMatches(matches,t1,t2,plot=1) ## End(Not run)
This function computes wickets vs ER in middle overs against all oppositions in all matches
teamWicketERMiddleOversPlotAllOppnAllMatches(matches,t1, plot=1)
teamWicketERMiddleOversPlotAllOppnAllMatches(matches,t1, plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
Team for which bowling performance is required |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketERMiddleOversPlotAllOppnAllMatches(matches, t1, plot=1) ## End(Not run)
## Not run: teamWicketERMiddleOversPlotAllOppnAllMatches(matches, t1, plot=1) ## End(Not run)
This function computes wickets vs ER in middle overs against all oppositions in all matches
teamWicketERMiddleOversPlotOppnAllMatches(matches,t1, t2, plot=1)
teamWicketERMiddleOversPlotOppnAllMatches(matches,t1, t2, plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
Team for which bowling performance is required |
t2 |
Opposition Team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketERMiddleOversPlotOppnAllMatches(matches,t1,t2,plot=1) ## End(Not run)
## Not run: teamWicketERMiddleOversPlotOppnAllMatches(matches,t1,t2,plot=1) ## End(Not run)
This function computes wickets vs ER in powewrplay against oppositions in all matches
teamWicketERPowerPlayPlotOppnAllMatches(matches,t1,t2,plot=1)
teamWicketERPowerPlayPlotOppnAllMatches(matches,t1,t2,plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
Team for which bowling performance is required |
t2 |
Opposition Team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketERPowerPlayPlotOppnAllMatches(matches,t1,t2,plot=1) ## End(Not run)
## Not run: teamWicketERPowerPlayPlotOppnAllMatches(matches,t1,t2,plot=1) ## End(Not run)
This function plots wickets scored in powerplay, middle and death overs
teamWicketsAcrossOvers(match,t1,t2,plot=1)
teamWicketsAcrossOvers(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamWicketsAcrossOvers(match,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamWicketsAcrossOvers(match,'England',"Pakistan") ## End(Not run)
This function plots the wickets by team against all team in in powerplay, middle and death overs
teamWicketsAcrossOversAllOppnAllMatches(matches,t1,plot=1)
teamWicketsAcrossOversAllOppnAllMatches(matches,t1,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamWicketsAcrossOversAllOppnAllMatches(matches,t1,plot=1) ## End(Not run)
## Not run: # Plot tne match worm plot teamWicketsAcrossOversAllOppnAllMatches(matches,t1,plot=1) ## End(Not run)
This function plots the wickets by team against team in in powerplay, middle and death overs
teamWicketsAcrossOversOppnAllMatches(matches,t1,t2,plot=1)
teamWicketsAcrossOversOppnAllMatches(matches,t1,t2,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot teamWicketsAcrossOversOppnAllMatches.R(matches,'England',"Pakistan") ## End(Not run)
## Not run: # Plot tne match worm plot teamWicketsAcrossOversOppnAllMatches.R(matches,'England',"Pakistan") ## End(Not run)
This function computes wickets vs ER in death overs against all oppositions in all matches
teamWicketsERDeathOversPlotAllOppnAllMatches(matches,t1, plot=1)
teamWicketsERDeathOversPlotAllOppnAllMatches(matches,t1, plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
Team for which bowling performance is required |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketsERDeathOversPlotAllOppnAllMatches(matches, t1, plot=1) ## End(Not run)
## Not run: teamWicketsERDeathOversPlotAllOppnAllMatches(matches, t1, plot=1) ## End(Not run)
This function computes wickets vs ER in death overs against oppositions in match
teamWicketsERDeathOversPlotMatch(match,t1, t2, plot=1)
teamWicketsERDeathOversPlotMatch(match,t1, t2, plot=1)
match |
The match of the team against opposition |
t1 |
Team for which bowling performance is required |
t2 |
Opposition Team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketsERDeathOversPlotMatch(match,t1,t2,plot=1) ## End(Not run)
## Not run: teamWicketsERDeathOversPlotMatch(match,t1,t2,plot=1) ## End(Not run)
This function computes wickets vs ER in middle overs against oppositions in all match
teamWicketsERMiddleOversPlotMatch(match,t1, t2, plot=1)
teamWicketsERMiddleOversPlotMatch(match,t1, t2, plot=1)
match |
The match of the team against opposition |
t1 |
Team for which bowling performance is required |
t2 |
Opposition Team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketsERMiddleOversPlotMatch(match, t1,t2, plot=1) ## End(Not run)
## Not run: teamWicketsERMiddleOversPlotMatch(match, t1,t2, plot=1) ## End(Not run)
This function computes wickets vs ER against all oppositions in all matches
teamWicketsERPlotAllOppnAllMatches(matches,theTeam, plot=1)
teamWicketsERPlotAllOppnAllMatches(matches,theTeam, plot=1)
matches |
The matches of the team against all oppositions and all matches |
theTeam |
Team for which bowling performance is required |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: wicketsERAllOppnAllMatches ## End(Not run)
## Not run: wicketsERAllOppnAllMatches ## End(Not run)
This function computes wickets vs ER in match
teamWicketsERPlotMatch(match,t1,t2,plot=1)
teamWicketsERPlotMatch(match,t1,t2,plot=1)
match |
The match of the team against opposition |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketsERPlotMatch(match,t1,t2,plot=1) ## End(Not run)
## Not run: teamWicketsERPlotMatch(match,t1,t2,plot=1) ## End(Not run)
This function computes wickets vs ER against all oppositions in all matches
teamWicketsERPlotOppnAllMatches(matches,t1,t2,plot=1)
teamWicketsERPlotOppnAllMatches(matches,t1,t2,plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketsERPlotOppnAllMatches(matches,t1,t2,plot=1) ## End(Not run)
## Not run: teamWicketsERPlotOppnAllMatches(matches,t1,t2,plot=1) ## End(Not run)
This function computes wickets vs ER in powewrplay against all oppositions in all matches
teamWicketsERPowerPlayPlotAllOppnAllMatches(matches,t1, plot=1)
teamWicketsERPowerPlayPlotAllOppnAllMatches(matches,t1, plot=1)
matches |
The matches of the team against all oppositions and all matches |
t1 |
Team for which bowling performance is required |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketsERPowerPlayPlotAllOppnAllMatches(matches, t1, plot=1) ## End(Not run)
## Not run: teamWicketsERPowerPlayPlotAllOppnAllMatches(matches, t1, plot=1) ## End(Not run)
This function computes wickets vs ER in powewrplay against oppositions in match
teamWicketsERPowerPlayPlotMatch(match,t1,t2, plot=1)
teamWicketsERPowerPlayPlotMatch(match,t1,t2, plot=1)
match |
The match of the team against opposition |
t1 |
Team for which bowling performance is required |
t2 |
Opposition Team |
plot |
Plot=1 (static), Plot=2(interactive) |
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run: teamWicketsERPowerPlayPlotMatch(match,t1,t2,plot=1) ## End(Not run)
## Not run: teamWicketsERPowerPlayPlotMatch(match,t1,t2,plot=1) ## End(Not run)
This function computes the best ER by bowlers against akk team in in powerplay, middle and death overs
topERBowlerAcrossOversAllOppnAllMatches(matches,t1)
topERBowlerAcrossOversAllOppnAllMatches(matches,t1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: topERBowlerAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
## Not run: topERBowlerAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
This function computes the best ER by bowlers against team in in powerplay, middle and death overs
topERBowlerAcrossOversOppnAllMatches(matches,t1)
topERBowlerAcrossOversOppnAllMatches(matches,t1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: topERBowlerAcrossOversOppnAllMatches.R(matches,'England') ## End(Not run)
## Not run: topERBowlerAcrossOversOppnAllMatches.R(matches,'England') ## End(Not run)
This function computes the most runs by batsman against all team in in powerplay, middle and death overs
topRunsBatsmenAcrossOversAllOppnAllMatches(matches,t1,plot=1)
topRunsBatsmenAcrossOversAllOppnAllMatches(matches,t1,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot topRunsBatsmenAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
## Not run: # Plot tne match worm plot topRunsBatsmenAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
This function computes the most runs by batsman against team in in powerplay, middle and death overs
topRunsBatsmenAcrossOversOppnAllMatches(matches,t1,plot=1)
topRunsBatsmenAcrossOversOppnAllMatches(matches,t1,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot topRunsBatsmenAcrossOversOppnAllMatches(matches,'England') ## End(Not run)
## Not run: # Plot tne match worm plot topRunsBatsmenAcrossOversOppnAllMatches(matches,'England') ## End(Not run)
This function computes the highest SR by batsmen by batsman against all team in in powerplay, middle and death overs
topSRBatsmenAcrossOversAllOppnAllMatches(matches,t1)
topSRBatsmenAcrossOversAllOppnAllMatches(matches,t1)
matches |
The dataframe of the matches |
t1 |
The team of the match |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot topSRBatsmenAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
## Not run: # Plot tne match worm plot topSRBatsmenAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
This function computes the highest SR by batsmen by batsman against team in in powerplay, middle and death overs
topSRBatsmenAcrossOversOppnAllMatches(matches,t1,plot=1)
topSRBatsmenAcrossOversOppnAllMatches(matches,t1,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot topSRBatsmenAcrossOversOppnAllMatches(matches,'England') ## End(Not run)
## Not run: # Plot tne match worm plot topSRBatsmenAcrossOversOppnAllMatches(matches,'England') ## End(Not run)
This function computes the highest wickets by bowlers against all team in in powerplay, middle and death overs
topWicketsBowlerAcrossOversAllOppnAllMatches(matches,t1)
topWicketsBowlerAcrossOversAllOppnAllMatches(matches,t1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot topWicketsBowlerAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
## Not run: # Plot tne match worm plot topWicketsBowlerAcrossOversAllOppnAllMatches(matches,'England') ## End(Not run)
This function computes the highest wickets by bowlers against team in in powerplay, middle and death overs
topWicketsBowlerAcrossOversOppnAllMatches(matches,t1,plot=1)
topWicketsBowlerAcrossOversOppnAllMatches(matches,t1,plot=1)
matches |
The dataframe of the matches |
t1 |
The 1st team of the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: # Plot tne match worm plot topWicketsBowlerAcrossOversOppnAllMatches(matches,'England') ## End(Not run)
## Not run: # Plot tne match worm plot topWicketsBowlerAcrossOversOppnAllMatches(matches,'England') ## End(Not run)
This function plots the win probability of the teams in a T20 match
winProbabilityDL(match,t1,t2,plot=1)
winProbabilityDL(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityDL(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityDL(a,'England',"Pakistan") ## End(Not run)
This function plots the win probability of the teams in a T20 match
winProbabilityGAN(match,t1,t2,plot=1)
winProbabilityGAN(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityGAN(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityGAN(a,'England',"Pakistan") ## End(Not run)
This function plots the win probability of the teams in a T20 match
winProbabilityLR(match,t1,t2,plot=1)
winProbabilityLR(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityLR(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityLR(a,'England',"Pakistan") ## End(Not run)
This function plots the win probability of the teams in a T20 match
winProbabilityRF(match,t1,t2,plot=1)
winProbabilityRF(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh [email protected]
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityRF(a,'England',"Pakistan") ## End(Not run)
## Not run: #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityRF(a,'England',"Pakistan") ## End(Not run)