getPlayerInfo: getPlayerInfo

Description Usage Arguments Examples

View source: R/getPlayerInfo.r

Description

Scrapes player info from cricinfo

Usage

1
2
getPlayerInfo(PlayerSearch, PlayerNumber = "", PlayerCountry = "England",
  BattingBowling = "Batting", ViewType = "Ave", Clean = "Y")

Arguments

PlayerSearch

Name of the player to search Cricinfo for

PlayerNumber

Cricinfo player number

PlayerCountry

Country the player plays for

BattingBowling

Batting or bowling figures. Default is batting

ViewType

Data to be returned. Default is average

Clean

Do you want the data to be cleaned? Default is yes

Examples

1
2
playerInfo <- getPlayerInfo(PlayerNumber="11728", BattingBowling = "Batting",
					ViewType = "Inn", Clean="Y")

nickzani/Cricinfo documentation built on May 23, 2019, 5:09 p.m.