Description Usage Arguments Examples
View source: R/getPlayerInfo.r
Scrapes player info from cricinfo
1 2 | getPlayerInfo(PlayerSearch, PlayerNumber = "", PlayerCountry = "England",
BattingBowling = "Batting", ViewType = "Ave", Clean = "Y")
|
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 |
1 2 | playerInfo <- getPlayerInfo(PlayerNumber="11728", BattingBowling = "Batting",
ViewType = "Inn", Clean="Y")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.