This is the last and final post in which yorkr ranks ODI batsmen and bowlers. These are based on match data from Cricsheet. The ranking is done on

  1. average runs and average strike rate for batsmen and
  2. average wickets and average economy rate for bowlers.

This post has also been published in RPubs RankODIPlayers. You can download this as a pdf file at RankODIPlayers.pdf.

You can take a look at the code at rankODIPlayers (available in yorkr_0.0.5)

rm(list=ls())
library(yorkr)
library(dplyr)
source("rankODIBatsmen.R")
source("rankODIBowlers.R")

Rank ODI batsmen

The top 3 ODI batsmen are hashim Amla (SA), Matthew Hayden (Aus) & Virat Kohli (Ind). Note: For ODI a a cutoff of at least 50 matches played was chosen.

ODIBatsmanRank <- rankODIBatsmen()
as.data.frame(ODIBatsmanRank[1:30,])
##            batsman matches meanRuns    meanSR
## 1          HM Amla     122 49.82787  83.75238
## 2          V Kohli     160 47.81250  78.06419
## 3   AB de Villiers     165 47.10909  94.23297
## 4     SR Tendulkar      94 44.81915  77.76926
## 5         S Dhawan      71 43.63380  82.00141
## 6         V Sehwag      95 43.27368 107.03242
## 7    KC Sangakkara     217 43.26728  75.48820
## 8        IJL Trott      64 42.56250  69.11984
## 9        Q de Kock      55 41.47273  81.09145
## 10         JE Root      62 41.01613  78.02774
## 11   KS Williamson      84 40.86905  72.84810
## 12      TM Dilshan     209 40.22010  87.62163
## 13       GJ Bailey      68 40.00000  77.29471
## 14       DA Warner      70 39.41429  87.94129
## 15   S Chanderpaul      66 39.36364  69.78030
## 16      RT Ponting     119 38.88235  71.94294
## 17        HH Gibbs      57 38.80702  78.08088
## 18        MS Dhoni     199 38.34171  89.36367
## 19 Mohammad Yousuf      64 38.10938  73.28531
## 20       JH Kallis      91 37.87912  67.29363
## 21       G Gambhir     121 37.76860  75.05058
## 22      MJ Guptill     120 37.70833  74.80333
## 23       MJ Clarke     151 37.68212  69.78841
## 24       SR Watson     138 37.55797  83.76949
## 25   ST Jayasuriya      74 36.12162  90.72459
## 26    F du Plessis      82 36.07317  79.54293
## 27     LRPL Taylor     151 36.05298  73.44801
## 28       SPD Smith      60 35.98333  89.74617
## 29         AN Cook      90 35.97778  69.50178
## 30         IR Bell     144 35.95833  74.82569

Rank ODI bowlers

The top 3 ODI bowlers are R J Harris (Aus), MJ Henry(NZ) and MA Starc(Aus). Mohammed Shami is 4th and Amit Mishra is 8th A cutoff of 20 matches was considered for bowlers

ODIBowlersRank <- rankODIBowlers()
as.data.frame(ODIBowlersRank[1:30,])
##            bowler matches meanWickets   meanER
## 1       RJ Harris      20    2.300000 4.888500
## 2        MJ Henry      22    2.136364 5.553182
## 3        MA Starc      46    2.108696 4.757609
## 4  Mohammed Shami      38    2.105263 5.480000
## 5  MJ McClenaghan      43    1.976744 5.907442
## 6      A Flintoff      35    1.942857 4.343143
## 7         SW Tait      34    1.941176 5.217353
## 8        A Mishra      26    1.923077 4.593462
## 9      GD McGrath      28    1.892857 4.045357
## 10       TA Boult      31    1.870968 4.787419
## 11       CJ McKay      56    1.839286       NA
## 12     BAW Mendis      74    1.824324 4.884054
## 13    Imran Tahir      51    1.823529 4.651176
## 14      JE Taylor      57    1.807018 5.217719
## 15       M Morkel      96    1.791667 4.898854
## 16          B Lee      83    1.771084 4.756386
## 17 M Muralitharan      65    1.753846 4.211692
## 18     MG Johnson     140    1.750000 4.740857
## 19    LL Tsotsobe      58    1.724138 4.712931
## 20        SE Bond      36    1.722222 4.355000
## 21       DW Steyn     104    1.721154 4.773173
## 22     WD Parnell      43    1.720930 5.531163
## 23     SL Malinga     164    1.713415 5.215671
## 24      SCJ Broad     116    1.706897 5.323448
## 25    Saeed Ajmal     108    1.703704 4.171389
## 26        ST Finn      63    1.682540 5.273810
## 27   DE Bollinger      39    1.666667 4.578974
## 28         Z Khan      85    1.658824 5.019529
## 29      KAJ Roach      60    1.633333 5.072167
## 30      R McLaren      49    1.632653 5.177551
  1. Introducing cricket package yorkr-Part1:Beaten by sheer pace!.
  2. yorkr pads up for the Twenty20s: Part 1- Analyzing team“s match performance.
  3. yorkr crashes the IPL party !Part 1
  4. Introducing cricketr! : An R package to analyze performances of cricketers
  5. Cricket analytics with cricketr!!!