getTeamBattingDetails: Get team batting details

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/getTeamBattingDetails.R

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

1
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

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

## End(Not run)

yorkr documentation built on July 10, 2021, 5:06 p.m.