Module:DartsRankings/data/PDC Rankings

< Module:DartsRankings
Revision as of 21:16, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{Module rating }}

Usage

{{#invoke:DartsRankings/data|function_name}}

The template Template:T1 is meant to be used on the infoboxes of each player, which automatically updates their OoM ranking when this page is updated. The name typed in the first argument (eg {{PDC Rankings|Michael van Gerwen}} ) should match the spelling - including lack of accent marks - with the PDC website. New players should be added at Module:DartsRankings/data/PDC Players with the appropriate naming conventions.


Updating

The main template page is not meant to be updated. The rankings should be updated at Module:DartsRankings/data/PDC Rankings.

To update the rankings:

  1. Adjust the day and month (along with the year if necessary) of the current rankings.
  2. Adjust the day and month (along with the year if necessary) of the previous rankings (the old current date).
  3. Copy and paste the rankings from "data.rankings" to "rankingsOld" section (the lower one).
  4. Paste in the new rankings data to the "data.rankings" section (upper one).

Generating rankings code

All positions can be quickly updated using a spreadsheet. For example, after copying the entire ranking list from [1], the following formula can be used in an external spreadsheet to generate the code necessary to update the data page (given the rankings begin in cell A1):

= "{ """&B1&""" , "&A1&" , """&C1&""" }," 

Then you can copy & past all 128+ rows into the rankings module.



local data = {}

-- information about other templates used by module
data.templates = { flagged_team_link = "PDC Rankings" }

-- general information about ranking and website being cited
data.source = {
    url = "https://www.pdc.tv/order-of-merit/pdc-order-merit", 
	title = "PDC Order of Merit",
	website = "PDC"
}

-- table titles
data.labels = { title = "[[PDC Order of Merit]]" }


-- date of latest update and previous one for movement
data.updated  = { 	day = 8, 	month = 'July', year =2021 }
data.previous = { 	day = 17, 	month = 'June', year =2021 }

-- see "Generating code" section on doc page for how to update the rankings
-- { "Name" , rank , "£ earnings" },
data.rankings = {
	{ "Gerwyn Price" , 1 , "£1,280,500" },
	{ "Peter Wright" , 2 , "£1,007,250" },
	{ "Michael van Gerwen" , 3 , "£947,750" },
	{ "James Wade" , 4 , "£479,750" },
	{ "Rob Cross" , 5 , "£458,250" },
	{ "Gary Anderson" , 6 , "£433,250" },
	{ "Michael Smith" , 7 , "£403,750" },
	{ "Dimitri Van den Bergh" , 8 , "£388,250" },
	{ "Dave Chisnall" , 9 , "£383,750" },
	{ "Jose de Sousa" , 10 , "£350,500" },
	{ "Nathan Aspinall" , 11 , "£329,000" },
	{ "Glen Durrant" , 12 , "£310,500" },
	{ "Krzysztof Ratajski" , 13 , "£303,250" },
	{ "Daryl Gurney" , 14 , "£303,000" },
	{ "Joe Cullen" , 15 , "£299,000" },
	{ "Jonny Clayton" , 16 , "£269,250" },
	{ "Ian White" , 17 , "£262,500" },
	{ "Stephen Bunting" , 18 , "£260,750" },
	{ "Simon Whitlock" , 19 , "£242,750" },
	{ "Mervyn King" , 20 , "£242,000" },
	{ "Mensur Suljovic" , 21 , "£233,000" },
	{ "Danny Noppert" , 22 , "£207,500" },
	{ "Dirk van Duijvenbode" , 23 , "£207,000" },
	{ "Chris Dobey" , 24 , "£196,500" },
	{ "Gabriel Clemens" , 25 , "£185,750" },
	{ "Devon Petersen" , 26 , "£184,750" },
	{ "Vincent van der Voort" , 27 , "£180,250" },
	{ "Adrian Lewis" , 28 , "£177,750" },
	{ "Jeffrey de Zwaan" , 29 , "£175,750" },
	{ "Brendan Dolan" , 30 , "£171,750" },
	{ "Luke Humphries" , 31 , "£171,250" },
	{ "Jermaine Wattimena" , 32 , "£169,750" },
	{ "Ricky Evans" , 33 , "£159,500" },
	{ "Jamie Hughes" , 34 , "£151,750" },
	{ "Ryan Searle" , 35 , "£139,000" },
	{ "Kim Huybrechts" , 36 , "£125,750" },
	{ "William O’Connor" , 37 , "£123,250" },
	{ "Steve Beaton" , 38 , "£122,000" },
	{ "Darius Labanauskas" , 39 , "£116,000" },
	{ "Keegan Brown" , 40 , "£112,500" },
	{ "Ross Smith" , 41 , "£110,500" },
	{ "Ryan Joyce" , 42 , "£106,250" },
	{ "Max Hopp" , 43 , "£104,250" },
	{ "John Henderson" , 44 , "£101,500" },
	{ "Damon Heta" , 45 , "£95,500" },
	{ "Steve West" , 46 , "£85,000" },
	{ "Luke Woodhouse" , 47 , "£81,750" },
	{ "Steve Lennon" , 48 , "£78,000" },
	{ "Darren Webster" , 49 , "£76,500" },
	{ "Ron Meulenkamp" , 50 , "£75,250" },
	{ "Andy Boulton" , 51 , "£67,750" },
	{ "Justin Pipe" , 52 , "£66,000" },
	{ "Madars Razma" , 53 , "£65,750" },
	{ "Callan Rydz" , 54 , "£62,500" },
	{ "Jason Lowe" , 55 , "£61,000" },
	{ "Adam Hunt" , 56 , "£61,000" },
	{ "Mickey Mansell" , 57 , "£57,500" },
	{ "Martijn Kleermaker" , 58 , "£56,000" },
	{ "Jelle Klaasen" , 59 , "£54,250" },
	{ "Maik Kuivenhoven" , 60 , "£51,500" },
	{ "Matthew Edgar" , 61 , "£49,500" },
	{ "Jeff Smith" , 62 , "£45,000" },
	{ "Josh Payne" , 63 , "£43,500" },
	{ "Scott Waites" , 64 , "£42,500" },
	{ "James Wilson" , 65 , "£36,750" },
	{ "Ryan Murray" , 66 , "£36,250" },
	{ "Ted Evetts" , 67 , "£35,750" },
	{ "Karel Sedlacek" , 68 , "£35,000" },
	{ "Wayne Jones" , 69 , "£32,000" },
	{ "Mark McGeeney" , 70 , "£31,000" },
	{ "Andy Hamilton" , 71 , "£30,000" },
	{ "Ryan Meikle" , 72 , "£29,000" },
	{ "Derk Telnekes" , 73 , "£29,000" },
	{ "Cristo Reyes" , 74 , "£29,000" },
	{ "Nick Kenny" , 75 , "£28,500" },
	{ "Mike De Decker" , 76 , "£28,500" },
	{ "Boris Krcmar" , 77 , "£27,500" },
	{ "William Borland" , 78 , "£22,500" },
	{ "Lisa Ashton" , 79 , "£22,000" },
	{ "Alan Soutar" , 80 , "£21,250" },
	{ "Bradley Brooks" , 81 , "£21,000" },
	{ "Raymond van Barneveld" , 82 , "£20,500" },
	{ "Scott Mitchell" , 83 , "£20,000" },
	{ "Alan Tabern" , 84 , "£19,250" },
	{ "Ciaran Teehan" , 85 , "£18,500" },
	{ "Krzysztof Kciuk" , 86 , "£18,250" },
	{ "Kai Fan Leung" , 87 , "£18,000" },
	{ "Peter Jacques" , 88 , "£18,000" },
	{ "Jesus Noguera" , 89 , "£15,250" },
	{ "Rowby-John Rodriguez" , 90 , "£15,000" },
	{ "Martin Schindler" , 91 , "£14,500" },
	{ "Chas Barstow" , 92 , "£13,500" },
	{ "Steve Brown" , 93 , "£13,500" },
	{ "Martin Atkins" , 94 , "£13,000" },
	{ "Daniel Larsson" , 95 , "£12,000" },
	{ "Ritchie Edhouse" , 96 , "£11,500" },
	{ "Rusty-Jake Rodriguez" , 97 , "£10,000" },
	{ "Aaron Beeney" , 98 , "£10,000" },
	{ "Eddie Lovely" , 99 , "£9,000" },
	{ "Jason Heaver" , 100 , "£9,000" },
	{ "Gordon Mathers" , 101 , "£8,500" },
	{ "Gary Blades" , 102 , "£8,500" },
	{ "Niels Zonneveld" , 103 , "£8,250" },
	{ "Robert Thornton" , 104 , "£8,000" },
	{ "John Brown" , 105 , "£8,000" },
	{ "Kevin Doets" , 106 , "£7,500" },
	{ "Keane Barry" , 107 , "£7,500" },
	{ "Lewis Williams" , 108 , "£7,500" },
	{ "Luc Peters" , 109 , "£7,000" },
	{ "Geert De Vos" , 110 , "£6,500" },
	{ "Joe Murnan" , 111 , "£6,000" },
	{ "Zoran Lerchbacher" , 112 , "£5,500" },
	{ "Steffen Siepmann" , 113 , "£5,500" },
	{ "Jack Main" , 114 , "£5,000" },
	{ "Boris Koltsov" , 115 , "£5,000" },
	{ "Jon Worsley" , 116 , "£5,000" },
	{ "Berry van Peer" , 117 , "£5,000" },
	{ "Kirk Shepherd" , 118 , "£4,500" },
	{ "John Michael" , 119 , "£4,250" },
	{ "David Evans" , 120 , "£4,000" },
	{ "Geert Nentjes" , 121 , "£4,000" },
	{ "Peter Hudson" , 122 , "£4,000" },
	{ "Martin Thomas" , 123 , "£4,000" },
	{ "Andrew Gilding" , 124 , "£4,000" },
	{ "Gino Vos" , 125 , "£4,000" },
	{ "Harald Leitinger" , 126 , "£4,000" },
	{ "Darren Penhall" , 127 , "£4,000" },
	{ "Wesley Harms" , 128 , "£4,000" },
	{ "Florian Hempel" , 129 , "£3,500" },
	{ "Danny Baggish" , 130 , "£3,500" },
	{ "Martin Lukeman" , 131 , "£3,500" },
	{ "Michael Rasztovits" , 132 , "£3,500" },
	{ "Jose Justicia" , 133 , "£3,000" },
	{ "Christian Kist" , 134 , "£3,000" },
	{ "Jake Jones" , 135 , "£2,500" },
	{ "Sebastian Bialecki" , 136 , "£2,500" },
	{ "Adam Gawlas" , 137 , "£2,000" },
	{ "Ryan de Vreede" , 138 , "£2,000" },
	{ "Kevin McDine" , 139 , "£2,000" },
	{ "Benito van de Pas" , 140 , "£2,000" },
	{ "Vincent van der Meer" , 141 , "£2,000" },
	{ "Jim McEwan" , 142 , "£1,500" },
	{ "Lukas Wenig" , 143 , "£1,500" },
	{ "Sean Fisher" , 144 , "£1,000" },
	{ "Lorenzo Pronk" , 145 , "£1,000" },
	{ "Pero Ljubic" , 146 , "£1,000" },
	{ "Robert Marijanovic" , 147 , "£1,000" },
	{ "Mike Warburton" , 148 , "£1,000" },
	{ "Gavin Carlin" , 149 , "£1,000" },
	{ "Brett Claydon" , 150 , "£1,000" },
	{ "Jim Williams" , 151 , "£1,000" },
	{ "Rhys Griffin" , 152 , "£1,000" },
	{ "Scott Taylor" , 153 , "£1,000" },
	{ "Michael Unterbuchner" , 154 , "£1,000" },
	{ "Davy Proosten" , 155 , "£500" },
	{ "Patrick van den Boogaard" , 156 , "£500" },
	{ "Michal Smejda" , 157 , "£500" },
	{ "Scott Williams" , 158 , "£500" },
}

data.rankingsold = {
	{ "Gerwyn Price" , 1 , "£1,277,250" },
	{ "Peter Wright" , 2 , "£997,250" },
	{ "Michael van Gerwen" , 3 , "£938,500" },
	{ "James Wade" , 4 , "£484,250" },
	{ "Rob Cross" , 5 , "£456,250" },
	{ "Gary Anderson" , 6 , "£430,500" },
	{ "Michael Smith" , 7 , "£400,750" },
	{ "Dimitri Van den Bergh" , 8 , "£383,000" },
	{ "Dave Chisnall" , 9 , "£382,250" },
	{ "Jose de Sousa" , 10 , "£345,500" },
	{ "Nathan Aspinall" , 11 , "£331,750" },
	{ "Krzysztof Ratajski" , 12 , "£314,750" },
	{ "Glen Durrant" , 13 , "£313,500" },
	{ "Daryl Gurney" , 14 , "£306,500" },
	{ "Joe Cullen" , 15 , "£300,500" },
	{ "Ian White" , 16 , "£265,000" },
	{ "Jonny Clayton" , 17 , "£264,250" },
	{ "Stephen Bunting" , 18 , "£260,000" },
	{ "Simon Whitlock" , 19 , "£248,750" },
	{ "Mervyn King" , 20 , "£243,500" },
	{ "Mensur Suljovic" , 21 , "£240,000" },
	{ "Danny Noppert" , 22 , "£206,250" },
	{ "Dirk van Duijvenbode" , 23 , "£205,500" },
	{ "Chris Dobey" , 24 , "£187,500" },
	{ "Gabriel Clemens" , 25 , "£184,750" },
	{ "Devon Petersen" , 26 , "£183,750" },
	{ "Vincent van der Voort" , 27 , "£178,250" },
	{ "Jamie Hughes" , 28 , "£177,500" },
	{ "Adrian Lewis" , 29 , "£175,250" },
	{ "Jeffrey de Zwaan" , 30 , "£175,250" },
	{ "Luke Humphries" , 31 , "£172,000" },
	{ "Jermaine Wattimena" , 32 , "£171,750" },
	{ "Brendan Dolan" , 33 , "£165,000" },
	{ "Ricky Evans" , 34 , "£158,000" },
	{ "Ryan Searle" , 35 , "£135,000" },
	{ "William O’Connor" , 36 , "£128,000" },
	{ "Kim Huybrechts" , 37 , "£123,250" },
	{ "Steve Beaton" , 38 , "£122,500" },
	{ "Keegan Brown" , 39 , "£116,750" },
	{ "Darius Labanauskas" , 40 , "£114,500" },
	{ "Max Hopp" , 41 , "£103,250" },
	{ "John Henderson" , 42 , "£103,000" },
	{ "Ross Smith" , 43 , "£101,500" },
	{ "Ryan Joyce" , 44 , "£100,750" },
	{ "Damon Heta" , 45 , "£93,000" },
	{ "Steve West" , 46 , "£86,000" },
	{ "Luke Woodhouse" , 47 , "£82,500" },
	{ "Ron Meulenkamp" , 48 , "£78,750" },
	{ "Steve Lennon" , 49 , "£77,000" },
	{ "Darren Webster" , 50 , "£76,000" },
	{ "Justin Pipe" , 51 , "£69,500" },
	{ "Andy Boulton" , 52 , "£68,750" },
	{ "Madars Razma" , 53 , "£68,250" },
	{ "Callan Rydz" , 54 , "£61,000" },
	{ "Adam Hunt" , 55 , "£59,500" },
	{ "Jason Lowe" , 56 , "£58,500" },
	{ "Mickey Mansell" , 57 , "£56,000" },
	{ "Jelle Klaasen" , 58 , "£55,250" },
	{ "Martijn Kleermaker" , 59 , "£53,000" },
	{ "Matthew Edgar" , 60 , "£48,500" },
	{ "Maik Kuivenhoven" , 61 , "£47,500" },
	{ "Jeff Smith" , 62 , "£43,500" },
	{ "Josh Payne" , 63 , "£42,500" },
	{ "Scott Waites" , 64 , "£41,500" },
	{ "Ted Evetts" , 65 , "£39,250" },
	{ "James Wilson" , 66 , "£38,250" },
	{ "Ryan Murray" , 67 , "£36,250" },
	{ "Karel Sedlacek" , 68 , "£34,500" },
	{ "Mark McGeeney" , 69 , "£33,500" },
	{ "Wayne Jones" , 70 , "£32,000" },
	{ "Cristo Reyes" , 71 , "£31,000" },
	{ "Andy Hamilton" , 72 , "£29,500" },
	{ "Ryan Meikle" , 73 , "£29,000" },
	{ "Derk Telnekes" , 74 , "£29,000" },
	{ "Mike De Decker" , 75 , "£28,000" },
	{ "Nick Kenny" , 76 , "£28,000" },
	{ "Boris Krcmar" , 77 , "£24,750" },
	{ "Lisa Ashton" , 78 , "£22,000" },
	{ "Bradley Brooks" , 79 , "£21,000" },
	{ "William Borland" , 80 , "£20,500" },
	{ "Alan Soutar" , 81 , "£20,250" },
	{ "Alan Tabern" , 82 , "£18,250" },
	{ "Kai Fan Leung" , 83 , "£18,000" },
	{ "Peter Jacques" , 84 , "£18,000" },
	{ "Ciaran Teehan" , 85 , "£17,500" },
	{ "Raymond van Barneveld" , 86 , "£16,750" },
	{ "Krzysztof Kciuk" , 87 , "£16,250" },
	{ "Scott Mitchell" , 88 , "£15,750" },
	{ "Rowby-John Rodriguez" , 89 , "£14,500" },
	{ "Jesus Noguera" , 90 , "£13,750" },
	{ "Martin Atkins" , 91 , "£12,500" },
	{ "Steve Brown" , 92 , "£12,000" },
	{ "Daniel Larsson" , 93 , "£12,000" },
	{ "Martin Schindler" , 94 , "£11,500" },
	{ "Chas Barstow" , 95 , "£9,250" },
	{ "Rusty-Jake Rodriguez" , 96 , "£9,000" },
	{ "Ritchie Edhouse" , 97 , "£9,000" },
	{ "Aaron Beeney" , 98 , "£9,000" },
	{ "Jason Heaver" , 99 , "£8,500" },
	{ "Gary Blades" , 100 , "£8,000" },
	{ "Gordon Mathers" , 101 , "£7,500" },
	{ "John Brown" , 102 , "£7,500" },
	{ "Lewis Williams" , 103 , "£7,000" },
	{ "Eddie Lovely" , 104 , "£7,000" },
	{ "Robert Thornton" , 105 , "£7,000" },
	{ "Keane Barry" , 106 , "£6,000" },
	{ "Niels Zonneveld" , 107 , "£5,750" },
	{ "Geert De Vos" , 108 , "£5,500" },
	{ "Steffen Siepmann" , 109 , "£5,500" },
	{ "Kevin Doets" , 110 , "£5,000" },
	{ "Luc Peters" , 111 , "£5,000" },
	{ "Berry van Peer" , 112 , "£5,000" },
	{ "Joe Murnan" , 113 , "£4,500" },
	{ "Jon Worsley" , 114 , "£4,500" },
	{ "Kirk Shepherd" , 115 , "£4,500" },
	{ "Andrew Gilding" , 116 , "£4,000" },
	{ "Gino Vos" , 117 , "£4,000" },
	{ "Boris Koltsov" , 118 , "£4,000" },
	{ "Darren Penhall" , 119 , "£4,000" },
	{ "Harald Leitinger" , 120 , "£4,000" },
	{ "Wesley Harms" , 121 , "£4,000" },
	{ "John Michael" , 122 , "£3,750" },
	{ "Geert Nentjes" , 123 , "£3,500" },
	{ "Michael Rasztovits" , 124 , "£3,500" },
	{ "Martin Thomas" , 125 , "£3,500" },
	{ "Jack Main" , 126 , "£3,500" },
	{ "Zoran Lerchbacher" , 127 , "£3,500" },
	{ "Peter Hudson" , 128 , "£3,500" },
	{ "Martin Lukeman" , 129 , "£3,000" },
	{ "Jose Justicia" , 130 , "£3,000" },
	{ "David Evans" , 131 , "£3,000" },
	{ "Christian Kist" , 132 , "£3,000" },
	{ "Danny Baggish" , 133 , "£2,500" },
	{ "Sebastian Bialecki" , 134 , "£2,500" },
	{ "Kevin McDine" , 135 , "£2,000" },
	{ "Benito van de Pas" , 136 , "£2,000" },
	{ "Vincent van der Meer" , 137 , "£2,000" },
	{ "Ryan de Vreede" , 138 , "£2,000" },
	{ "Jake Jones" , 139 , "£2,000" },
	{ "Lukas Wenig" , 140 , "£1,500" },
	{ "Lorenzo Pronk" , 141 , "£1,000" },
	{ "Adam Gawlas" , 142 , "£1,000" },
	{ "Pero Ljubic" , 143 , "£1,000" },
	{ "Robert Marijanovic" , 144 , "£1,000" },
	{ "Mike Warburton" , 145 , "£1,000" },
	{ "Gavin Carlin" , 146 , "£1,000" },
	{ "Brett Claydon" , 147 , "£1,000" },
	{ "Jim Williams" , 148 , "£1,000" },
	{ "Rhys Griffin" , 149 , "£1,000" },
	{ "Scott Taylor" , 150 , "£1,000" },
	{ "Michael Unterbuchner" , 151 , "£1,000" },
	{ "Sean Fisher" , 152 , "£500" },
	{ "Davy Proosten" , 153 , "£500" },
	{ "Florian Hempel" , 154 , "£500" },
	{ "Patrick van den Boogaard" , 155 , "£500" },
	{ "Michal Smejda" , 156 , "£500" },
	{ "Scott Williams" , 157 , "£500" },
}

local datalib = require('Module:DartsRankings/data/PDC Players');
data.alias = datalib.library

return data