fetch_player_meta

0th

Percentile

Fetch Player Meta Data

Fetch player meta data from ESPNCricinfo and return a tibble with one line per player. To identify the players, use their Cricinfo player IDs. The simplest way to find this is to look up their Cricinfo Profile page. The number at the end of the URL is the ID. For example, Meg Lanning's profile page is http://www.espncricinfo.com/australia/content/player/329336.html, so her ID is 329336.

Usage
fetch_player_meta(playerid)
Value

A tibble containing meta data on the selected players, with one row for each player.

Arguments

playerid

A vector of player IDs as given in Cricinfo profiles. Integer or character.

Author

Hassan Rafique and Rob J Hyndman

See Also

It is usually simpler to just use the saved data set player_meta which contains the meta data for all players on ESPNCricinfo as at 20 January 2023. To find a player ID, use find_player_id(). Use fetch_player_data() to download playing statistics for a player.

Aliases
  • fetch_player_meta
Examples
if (FALSE) {
# Download meta data on Meg Lanning and Ellyse Perry
aus_women <- fetch_player_meta(c(329336, 275487))
}
Documentation reproduced from package cricketdata, version 0.2.2, License: GPL-3

Community examples

Looks like there are no examples yet.