getTeamBattingDetails: Get team batting details

View source: R/getTeamBattingDetails.R

getTeamBattingDetailsR Documentation

Get team batting details

Description

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,odir=".")

Arguments

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

Value

battingDetails The dataframe with the batting details

Note

Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com

Author(s)

Tinniam V Ganesh

References

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

See Also

getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBowlingDetails

Examples

## Not run: 
a <- getTeamBattingDetails("India",dir="../data", save=TRUE)

## End(Not run)


tvganesh/yorkr documentation built on May 13, 2023, 12:19 p.m.