getBowlerWicketDetails: Get the bowling details of a bowler

View source: R/getBowlerWicketDetails.R

getBowlerWicketDetailsR Documentation

Get the bowling details of a bowler

Description

This function gets the bowling of a bowler (overs,maidens,runs,wickets,venue, opposition)

Usage

getBowlerWicketDetails(team,name,dir=".")

Arguments

team

The team to which the bowler belongs

name

The name of the bowler

dir

The source directory of the data

Value

dataframe The dataframe of bowling performance

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

bowlerMovingAverage
getTeamBowlingDetails
bowlerMeanRunsConceded
teamBowlersWicketRunsOppnAllMatches

Examples

## 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)


yorkr documentation built on May 31, 2023, 8:24 p.m.