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()
Usage
getTeamBattingDetails(team,dir=".",save=FALSE)
Arguments
team
The team for which batting details 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
Value
battingDetails
The dataframe with the batting details