Skip to contents

A dataset containing career batting statistics for all international test players (men and women) up to 6 October 2021.

Usage

cricket_batting

Format

A data frame with 3754 rows and 15 variables:

Player

Player name in form of "initials surname"

Country

Country played for

Start

First year of test playing career

End

Last year of test playing career

Matches

Number of matches played

Innings

Number of innings batted

NotOuts

Number of times not out

Runs

Total runs scored

HighScore

Highest score in an innings

HighScoreNotOut

Was highest score not out?

Average

Batting average at end of career

Hundreds

Total number of 100s scored

Fifties

Total number of 50s scored

Ducks

Total number of 0s scored

Gender

"Men" or "Women"

Value

Data frame

Examples

cricket_batting |>
  filter(Innings > 20) |>
  select(Player, Country, Matches, Runs, Average, Hundreds, Fifties, Ducks) |>
  arrange(desc(Average))
#> # A tibble: 1,138 × 8
#>    Player        Country      Matches  Runs Average Hundreds Fifties Ducks
#>    <chr>         <chr>          <int> <int>   <dbl>    <int>   <int> <int>
#>  1 DG Bradman    Australia         52  6996    99.9       29      13     7
#>  2 AC Voges      Australia         20  1485    61.9        5       4     2
#>  3 SPD Smith     Australia         77  7540    61.8       27      31     5
#>  4 RG Pollock    South Africa      23  2256    61.0        7      11     1
#>  5 GA Headley    West Indies       22  2190    60.8       10       5     2
#>  6 M Labuschagne Australia         18  1885    60.8        5      10     1
#>  7 H Sutcliffe   England           54  4555    60.7       16      23     2
#>  8 E Bakewell    England           12  1078    59.9        4       7     0
#>  9 E Paynter     England           20  1540    59.2        4       7     3
#> 10 KF Barrington England           82  6806    58.7       20      35     5
#> # ℹ 1,128 more rows