overs_balls: Calculates the completed overs and remaining (legal) balls...

View source: R/overs_balls.R

overs_ballsR Documentation

Calculates the completed overs and remaining (legal) balls bowled by the given bowler across all IPL matches from 2008-2020.

Description

Calculates the completed overs and remaining (legal) balls bowled by the given bowler across all IPL matches from 2008-2020.

Usage

overs_balls(player_name)

Arguments

player_name

The bowler whose completed overs and remaining balls has to be calculated, as a character vector

Value

overs_balls returns the number of completed overs and remaining balls bowled by the given player across all IPL matches from 2008-2020

Examples


library(ipl)

# Calculates the completed runs and remaining (legal) balls bowled by Rahul Sharma
overs_balls("Rahul Sharma")

Swaha294/ipl documentation built on May 10, 2022, 3:23 p.m.