Jump to content

Module:SportsRankings/data/World Football Elo Ratings

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GazThomas402 (talk | contribs) at 14:22, 22 March 2024 (21 March update). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local data = {}

-- information about other templates used by module
data.templates = {
	flagged_team_link = "fb", -- template for flag icon and team link
	flag_codes = { -- missing 3 letter country codes
		['CHG'] = 'Chagos Islands',
		['EUS'] = 'Sint Eustatius',
		['KRD'] = 'Kurdistan',
		['SAB'] = 'Saba',
		['SLD'] = 'Somaliland'
	}
}

-- general information about ranking and website being cited
data.source = {
	name    = 'World Football Elo Ratings',
	text    = 'Elo rankings change compared to one year ago. ',
	url     = 'https://www.eloratings.net/',
	title   = 'World Football Elo Ratings',
	website = 'eloratings.net'
}

-- date of latest update
data.updated = {
	day = 21,
	month = 'March',
	year = 2024
}

-- see "Generating code" section on doc page for how to update the rankings

data.rankings = {
     { 'Argentina', 1, 0, 2138 },
     { 'France', 2, 1, 2110 },
     { 'Portugal', 3, 2, 2036 },
     { 'Spain', 4, 2, 2033 },
     { 'England', 5, 3, 2015 },
     { 'Brazil', 6, -4, 2012 },
     { 'Uruguay', 7, 6, 2007 },
     { 'Belgium', 8, 3, 1990 },
     { 'Colombia', 9, 3, 1984 },
     { 'Netherlands', 10, -6, 1970 },
     { 'Croatia', 11, -1, 1952 },
     { 'Italy', 12, -5, 1943 },
     { 'Germany', 13, -4, 1886 },
     { 'Ecuador', 13, 7, 1886 },
     { 'Ukraine', 15, 7, 1857 },
     { 'Japan', 16, 2, 1851 },
     { 'Austria', 17, 17, 1835 },
     { 'Hungary', 18, 3, 1834 },
     { 'Mexico', 19, 4, 1826 },
     { 'Denmark', 20, -6, 1825 },
     { 'Iran', 21, 6, 1816 },
     { 'Scotland', 22, 11, 1801 },
     { 'Switzerland', 23, -8, 1792 },
     { 'Serbia', 24, -5, 1786 },
     { 'Morocco', 25, -9, 1774 },
     { 'United States', 25, -1, 1774 },
     { 'Russia', 27, 5, 1772 },
     { 'Senegal', 28, 7, 1769 },
     { 'Turkey', 29, 11, 1766 },
     { 'Australia', 30, 0, 1765 },
     { 'Czechia', 31, -4, 1757 },
     { 'Norway', 32, -1, 1755 },
     { 'Venezuela', 33, 12, 1750 },
     { 'Peru', 34, -17, 1743 },
     { 'Greece', 35, 9, 1739 },
     { 'Panama', 36, 17, 1734 },
     { 'Wales', 37, 2, 1716 },
     { 'Slovenia', 37, 12, 1716 },
     { 'Poland', 39, -14, 1715 },
     { 'South Korea', 40, -14, 1712 },
     { 'Canada', 41, -1, 1706 },
     { 'Paraguay', 42, -4, 1705 },
     { 'Chile', 43, 0, 1700 },
     { 'Sweden', 44, -15, 1692 },
     { 'Tunisia', 45, -10, 1676 },
     { 'Romania', 46, 14, 1674 },
     { 'Algeria', 47, -5, 1665 },
     { 'Uzbekistan', 47, 20, 1665 },
     { 'Slovakia', 49, 17, 1662 },
     { 'Georgia', 50, 2, 1651 },
     { 'Egypt', 51, -1, 1641 },
     { 'Iraq', 52, 3, 1639 },
     { 'Nigeria', 53, 1, 1638 },
     { 'Qatar', 54, 14, 1637 },
     { 'Albania', 55, 14, 1632 },
     { 'Mali', 56, 0, 1627 },
     { 'Finland', 57, -6, 1621 },
     { 'Ivory Coast', 58, -10, 1620 },
     { 'Saudi Arabia', 58, 6, 1620 },
     { 'Bolivia', 60, -2, 1612 },
     { 'Jamaica', 61, 15, 1611 },
     { 'Ireland', 62, -15, 1608 },
     { 'Jordan', 63, 2, 1598 },
     { 'Costa Rica', 64, -27, 1582 },
     { 'Equatorial Guinea', 65, 29, 1572 },
     { 'North Macedonia', 66, 9, 1568 },
     { 'South Africa', 67, 3, 1567 },
     { 'Cape Verde', 67, 15, 1567 },
     { 'Montenegro', 69, 2, 1562 },
     { 'Cameroon', 70, -24, 1558 },
     { 'Israel', 70, -14, 1558 },
     { 'Iceland', 72, 1, 1551 },
     { 'Democratic Republic of Congo', 73, 14, 1534 },
     { 'New Zealand', 74, 3, 1526 },
     { 'Oman', 75, -13, 1524 },
     { 'Burkina Faso', 76, -15, 1523 },
     { 'Angola', 77, 24, 1516 },
     { 'Honduras', 78, 5, 1515 },
     { 'Ghana', 79, -16, 1514 },
     { 'Luxembourg', 80, 13, 1507 },
     { 'United Arab Emirates', 81, 10, 1502 },
     { 'Kosovo', 82, -2, 1499 },
     { 'Azerbaijan', 82, 16, 1499 },
     { 'Haiti', 84, -11, 1497 },
     { 'Northern Ireland', 85, -14, 1491 },
     { 'Guatemala', 86, 3, 1481 },
     { 'Zambia', 87, -1, 1478 },
     { 'Bosnia and Herzegovina', 87, -28, 1478 },
     { 'Kazakhstan', 89, 17, 1476 },
     { 'Guinea', 90, 18, 1471 },
     { 'Armenia', 91, -1, 1470 },
     { 'Bahrain', 92, -13, 1459 },
     { 'Bulgaria', 93, -15, 1457 },
     { 'Northern Cyprus', 93, -5, 1457 },
     { 'Belarus', 93, 6, 1457 },
     { 'Syria', 96, 4, 1442 },
     { 'Gabon', 96, -15, 1442 },
     { 'Martinique', 98, 4, 1441 },
     { 'Thailand', 99, 3, 1435 },
     { 'Trinidad and Tobago', 100, 15, 1427 },
     { 'Kurdistan', 101, -5, 1425 },
     { 'Palestine', 102, -7, 1415 },
     { 'Libya', 103, 17, 1397 },
     { 'China', 103, -18, 1397 },
     { 'El Salvador', 105, -21, 1395 },
     { 'Mauritania', 106, -1, 1393 },
     { 'Togo', 107, 23, 1384 },
     { 'Uganda', 108, -4, 1383 },
     { 'Tajikistan', 109, 17, 1380 },
     { 'Namibia', 110, 3, 1373 },
     { 'North Korea', 111, 0, 1366 },
     { 'Mozambique', 111, 17, 1366 },
     { 'Tanzania', 113, 20, 1364 },
     { 'Guinea-Bissau', 113, -4, 1364 },
     { 'Estonia', 115, -23, 1358 },
     { 'Gambia', 116, -19, 1357 },
     { 'Kenya', 117, -6, 1350 },
     { 'Malawi', 117, 25, 1350 },
     { 'Latvia', 119, 2, 1349 },
     { 'Benin', 120, -10, 1348 },
     { 'Botswana', 120, -5, 1348 },
     { 'Réunion', 122, -9, 1345 },
     { 'Kuwait', 123, -1, 1340 },
     { 'Curaçao', 124, -9, 1339 },
     { 'Moldova', 124, 30, 1339 },
     { 'Zimbabwe', 126, 5, 1337 },
     { 'Nicaragua', 127, 19, 1332 },
     { 'Guadeloupe', 128, 31, 1327 },
     { 'Lithuania', 128, 21, 1327 },
     { 'Madagascar', 130, 7, 1326 },
     { 'Zanzibar', 130, -6, 1326 },
     { 'Cyprus', 132, -13, 1320 },
     { 'Vietnam', 133, -26, 1316 },
     { 'Sudan', 134, 2, 1312 },
     { 'Sierra Leone', 135, -8, 1311 },
     { 'Rwanda', 136, 4, 1309 },
     { 'Central African Republic', 137, 6, 1307 },
     { 'Suriname', 138, -9, 1303 },
     { 'Indonesia', 139, 2, 1294 },
     { 'Cuba', 140, -15, 1291 },
     { 'Solomon Islands', 141, 19, 1290 },
     { 'Ethiopia', 142, -24, 1289 },
     { 'French Guiana', 143, -20, 1285 },
     { 'Lebanon', 144, -12, 1284 },
     { 'Malaysia', 145, 8, 1282 },
     { 'Burundi', 146, 1, 1278 },
     { 'Comoros', 147, 3, 1275 },
     { 'Congo', 148, -10, 1271 },
     { 'Liberia', 149, -15, 1269 },
     { 'Guyana', 149, 15, 1269 },
     { 'Eswatini', 151, -12, 1266 },
     { 'Faroe Islands', 152, -17, 1264 },
     { 'Kyrgyzstan', 152, -8, 1264 },
     { 'Malta', 154, -9, 1258 },
     { 'Lesotho', 155, -3, 1256 },
     { 'Niger', 156, -5, 1240 },
     { 'New Caledonia', 157, 5, 1234 },
     { 'India', 158, 0, 1226 },
     { 'Fiji', 159, -4, 1222 },
     { 'Mayotte', 160, -4, 1217 },
     { 'Turkmenistan', 161, -13, 1214 },
     { 'Dominican Republic', 162, 4, 1205 },
     { 'Tahiti', 163, 7, 1186 },
     { 'Chad', 164, -1, 1159 },
     { 'Bermuda', 165, -4, 1149 },
     { 'South Sudan', 166, 9, 1147 },
     { 'Puerto Rico', 166, 12, 1147 },
     { 'Eritrea', 168, 1, 1144 },
     { 'Singapore', 169, 3, 1125 },
     { 'Andorra', 170, 4, 1115 },
     { 'Papua New Guinea', 171, -14, 1107 },
     { 'Yemen', 172, 5, 1100 },
     { 'Grenada', 173, 0, 1096 },
     { 'Saint Lucia', 174, 9, 1094 },
     { 'Saint Kitts and Nevis', 175, -10, 1086 },
     { 'Afghanistan', 176, 0, 1082 },
     { 'Saint Vincent and the Grenadines', 177, 5, 1078 },
     { 'Vanuatu', 178, -10, 1074 },
     { 'Belize', 179, 1, 1058 },
     { 'Hong Kong', 180, -9, 1057 },
     { 'São Tomé and Príncipe', 180, -1, 1057 },
     { 'Gibraltar', 182, -1, 1051 },
     { 'Philippines', 183, 1, 1049 },
     { 'Mauritius', 184, 10, 1044 },
     { 'Montserrat', 185, 6, 1022 },
     { 'Antigua and Barbuda', 186, -19, 1011 },
     { 'Aruba', 187, 6, 1002 },
     { 'Somaliland', 187, -1, 1002 },
     { 'Dominica', 189, -1, 1001 },
     { 'Western Sahara', 190, -3, 996 },
     { 'Liechtenstein', 191, -2, 956 },
     { 'Greenland', 192, 0, 953 },
     { 'Saint Martin', 193, 14, 942 },
     { 'Barbados', 194, -9, 938 },
     { 'Bangladesh', 195, 10, 936 },
     { 'Myanmar', 196, 4, 923 },
     { 'Djibouti', 197, 6, 916 },
     { 'Taiwan', 198, 0, 911 },
     { 'Monaco', 199, -2, 903 },
     { 'Somalia', 200, -1, 890 },
     { 'Nepal', 200, -5, 890 },
     { 'Maldives', 202, -6, 879 },
     { 'Sint Maarten', 203, 9, 872 },
     { 'Seychelles', 204, -3, 855 },
     { 'Cambodia', 205, -3, 847 },
     { 'Bonaire', 206, -16, 842 },
     { 'Pakistan', 207, -4, 828 },
     { 'Bahamas', 208, -2, 817 },
     { 'Cayman Islands', 209, -2, 801 },
     { 'Mongolia', 210, -1, 792 },
     { 'Chagos Islands', 211, 0, 785 },
     { 'San Marino', 212, -2, 771 },
     { 'Sint Eustatius', 213, 0, 757 },
     { 'Tuvalu', 214, 1, 756 },
     { 'Samoa', 215, 7, 727 },
     { 'Saint Barthélemy', 216, 0, 725 },
     { 'Turks and Caicos Islands', 217, -3, 705 },
     { 'Wallis and Futuna', 218, 0, 701 },
     { 'Guam', 219, -2, 698 },
     { 'Vatican', 220, 0, 692 },
     { 'Cook Islands', 221, 0, 687 },
     { 'Sri Lanka', 222, 2, 684 },
     { 'Saint Pierre and Miquelon', 223, 0, 677 },
     { 'Saba', 224, 1, 671 },
     { 'Laos', 225, 2, 665 },
     { 'Macao', 225, -6, 665 },
     { 'British Virgin Islands', 227, 4, 659 },
     { 'Tibet', 228, 0, 630 },
     { 'Bhutan', 229, 6, 619 },
     { 'US Virgin Islands', 230, -4, 613 },
     { 'East Timor', 231, -2, 610 },
     { 'Brunei', 232, 0, 595 },
     { 'Falkland Islands', 233, 0, 571 },
     { 'Federated States of Micronesia', 234, 0, 564 },
     { 'Anguilla', 235, -5, 556 },
     { 'Kiribati', 236, 0, 545 },
     { 'Tonga', 237, 0, 497 },
     { 'Niue', 238, 0, 496 },
     { 'Northern Mariana Islands', 239, 1, 434 },
     { 'Palau', 240, 1, 403 },
     { 'Eastern Samoa', 241, -2, 377 },
}
-- alias list 
-- list of  country codes  (the countries need editing to match countries names in list above)
data.alias = { 
        { 'AFG',  'Afghanistan' },
        { 'AIA',  'Anguilla' },
        { 'ALB',  'Albania' },
        { 'ALG',  'Algeria' },
        { 'AND',  'Andorra' },
        { 'ANG',  'Angola' },
        { 'ARG',  'Argentina' },
        { 'ARM',  'Armenia' },
        { 'ARU',  'Aruba' },
        { 'ASA',  'Eastern Samoa' },
        { 'ATG',  'Antigua and Barbuda' },
        { 'AUS',  'Australia' },
        { 'AUT',  'Austria' },
        { 'AZE',  'Azerbaijan' },
        { 'BAH',  'Bahamas' },
        { 'BAN',  'Bangladesh' },
        { 'BDI',  'Burundi' },
        { 'BEL',  'Belgium' },
        { 'BEN',  'Benin' },
        { 'BER',  'Bermuda' },
        { 'BFA',  'Burkina Faso' },
        { 'BHR',  'Bahrain' },
        { 'BHU',  'Bhutan' },
        { 'BIH',  'Bosnia and Herzegovina' },
        { 'BLM',  'Saint Barthélemy' },
        { 'BLR',  'Belarus' },
        { 'BLZ',  'Belize' },
        { 'BOE',  'Bonaire' },
        { 'BOL',  'Bolivia' },
        { 'BOT',  'Botswana' },
        { 'BRA',  'Brazil' },
        { 'BRB',  'Barbados' },
        { 'BRU',  'Brunei' },
        { 'BUL',  'Bulgaria' },
        { 'CAM',  'Cambodia' },
        { 'CAN',  'Canada' },
        { 'CAY',  'Cayman Islands' },
        { 'CGO',  'Congo' },
        { 'CHA',  'Chad' },
        { 'CHG',  'Chagos Islands' },               -- missing template country data
        { 'CHI',  'Chile' },
        { 'CHN',  'China' },
        { 'CIV',  'Ivory Coast' },
        { 'CMR',  'Cameroon' },
        { 'COD',  'Democratic Republic of Congo' },     -- 'DR Congo' also used
        { 'COK',  'Cook Islands' },
        { 'COL',  'Colombia' },
        { 'COM',  'Comoros' },
        { 'CPV',  'Cape Verde' },
        { 'CRC',  'Costa Rica' },
        { 'CRO',  'Croatia' },
        { 'CTA',  'Central African Republic' },
        { 'CUB',  'Cuba' },
        { 'CUW',  'Curaçao' },
        { 'CYP',  'Cyprus' },
        { 'CZE',  'Czechia' },
        { 'DEN',  'Denmark' },
        { 'DJI',  'Djibouti' },
        { 'DMA',  'Dominica' },
        { 'DOM',  'Dominican Republic' },
        { 'ECU',  'Ecuador' },
        { 'EGY',  'Egypt' },
        { 'ENG',  'England' },
        { 'EQG',  'Equatorial Guinea' },
        { 'ERI',  'Eritrea' },
        { 'ESH',  'Western Sahara' },
        { 'ESP',  'Spain' },
        { 'EST',  'Estonia' },
        { 'ETH',  'Ethiopia' },
        { 'EUS',  'Sint Eustatius' },
        { 'FIJ',  'Fiji' },
        { 'FIN',  'Finland' },
        { 'FLK',  'Falkland Islands' },
        { 'FRA',  'France' },
        { 'FRO',  'Faroe Islands' },
        { 'FSM',  'Federated States of Micronesia' },    -- 'FS of Micronesia' and 'FS Micronesia' also used
        { 'GAB',  'Gabon' },
        { 'GAM',  'Gambia' },
        { 'GEO',  'Georgia' },
        { 'GER',  'Germany' },
        { 'GHA',  'Ghana' },
        { 'GIB',  'Gibraltar' },
        { 'GLP',  'Guadeloupe' },
        { 'GNB',  'Guinea-Bissau' },
        { 'GRE',  'Greece' },
        { 'GRL',  'Greenland' },
        { 'GRN',  'Grenada' },
        { 'GUA',  'Guatemala' },
        { 'GUF',  'French Guiana' },
        { 'GUI',  'Guinea' },
        { 'GUM',  'Guam' },
        { 'GUY',  'Guyana' },
        { 'HAI',  'Haiti' },
        { 'HKG',  'Hong Kong' },
        { 'HON',  'Honduras' },
        { 'HUN',  'Hungary' },
        { 'IDN',  'Indonesia' },
        { 'IND',  'India' },
        { 'IRL',  'Ireland' },
        { 'IRN',  'Iran' },
        { 'IRQ',  'Iraq' },
        { 'ISL',  'Iceland' },
        { 'ISR',  'Israel' },
        { 'ITA',  'Italy' },
        { 'JAM',  'Jamaica' },
        { 'JOR',  'Jordan' },
        { 'JPN',  'Japan' },
        { 'KAZ',  'Kazakhstan' },
        { 'KEN',  'Kenya' },
        { 'KGZ',  'Kyrgyzstan' },
        { 'KIR',  'Kiribati' },
        { 'KOR',  'South Korea' },
        { 'KRD',  'Kurdistan' },                         -- missing template country data
        { 'KSA',  'Saudi Arabia' },
        { 'KUW',  'Kuwait' },
        { 'KVX',  'Kosovo' },
        { 'LAO',  'Laos' },
        { 'LBR',  'Liberia' },
        { 'LBY',  'Libya' },
        { 'LCA',  'Saint Lucia' },
        { 'LES',  'Lesotho' },
        { 'LIB',  'Lebanon' },
        { 'LIE',  'Liechtenstein' },
        { 'LTU',  'Lithuania' },
        { 'LUX',  'Luxembourg' },
        { 'LVA',  'Latvia' },
        { 'MAC',  'Macao' },
        { 'MAD',  'Madagascar' },
        { 'MAR',  'Morocco' },
        { 'MAS',  'Malaysia' },
        { 'MCO',  'Monaco' },
        { 'MDA',  'Moldova' },
        { 'MDV',  'Maldives' },
        { 'MEX',  'Mexico' },
        { 'MKD',  'North Macedonia' },
        { 'MLI',  'Mali' },
        { 'MLT',  'Malta' },
        { 'MNE',  'Montenegro' },
        { 'MNG',  'Mongolia' },
        { 'MOZ',  'Mozambique' },
        { 'MRI',  'Mauritius' },
        { 'MSR',  'Montserrat' },
        { 'MTN',  'Mauritania' },
        { 'MTQ',  'Martinique' },
        { 'MWI',  'Malawi' },
        { 'MYA',  'Myanmar' },
        { 'MYT',  'Mayotte' },
        { 'NAM',  'Namibia' },
        { 'NCA',  'Nicaragua' },
        { 'NCL',  'New Caledonia' },
        { 'NED',  'Netherlands' },
        { 'NEP',  'Nepal' },
        { 'NGA',  'Nigeria' },
        { 'NIG',  'Niger' },
        { 'NIR',  'Northern Ireland' },
        { 'NIU',  'Niue' },
        { 'NMI',  'Northern Mariana Islands' },
        { 'NOR',  'Norway' },
        { 'NZL',  'New Zealand' },
        { 'OMA',  'Oman' },
        { 'PAK',  'Pakistan' },
        { 'PAN',  'Panama' },
        { 'PAR',  'Paraguay' },
        { 'PER',  'Peru' },
        { 'PHI',  'Philippines' },
        { 'PLE',  'Palestine' },
        { 'PLW',  'Palau' },
        { 'PNG',  'Papua New Guinea' },
        { 'POL',  'Poland' },
        { 'POR',  'Portugal' },
        { 'PRK',  'North Korea' },
        { 'PUR',  'Puerto Rico' },
        { 'QAT',  'Qatar' },
        { 'REU',  'Réunion' },
        { 'TRNC', 'Northern Cyprus' },
        { 'ROU',  'Romania' },
        { 'RSA',  'South Africa' },
        { 'RUS',  'Russia' },
        { 'RWA',  'Rwanda' },
        { 'SAB',  'Saba' },
        { 'SAM',  'Samoa' },
        { 'SCO',  'Scotland' },
        { 'SDN',  'Sudan' },
        { 'SEN',  'Senegal' },
        { 'SEY',  'Seychelles' },
        { 'SIN',  'Singapore' },
        { 'SKN',  'Saint Kitts and Nevis' },
        { 'SLD',  'Somaliland' },                         -- missing template country data
        { 'SLE',  'Sierra Leone' },
        { 'SLV',  'El Salvador' },
        { 'SMN',  'Saint Martin' },
        { 'SMR',  'San Marino' },
        { 'SOL',  'Solomon Islands' },
        { 'SOM',  'Somalia' },
        { 'SPM',  'Saint Pierre and Miquelon' },
        { 'SRB',  'Serbia' },
        { 'SRI',  'Sri Lanka' },
        { 'SSD',  'South Sudan' },
        { 'STP',  'São Tomé and Príncipe' },
        { 'SUI',  'Switzerland' },
        { 'SUR',  'Suriname' },
        { 'SVK',  'Slovakia' },
        { 'SVN',  'Slovenia' },
        { 'SWE',  'Sweden' },
        { 'SWZ',  'Eswatini' },
        { 'SXM',  'Sint Maarten' },
        { 'SYR',  'Syria' },
        { 'TAH',  'Tahiti' },
        { 'TAN',  'Tanzania' },
        { 'TCA',  'Turks and Caicos Islands' },
        { 'TGA',  'Tonga' },
        { 'THA',  'Thailand' },
        { 'TIB',  'Tibet' },                      -- missing template country data
        { 'TJK',  'Tajikistan' },
        { 'TKM',  'Turkmenistan' },
        { 'TLS',  'East Timor' },
        { 'TOG',  'Togo' },
        { 'TPE',  'Taiwan' },
        { 'TRI',  'Trinidad and Tobago' },
        { 'TUN',  'Tunisia' },
        { 'TUR',  'Turkey' },
        { 'TUV',  'Tuvalu' },
        { 'UAE',  'United Arab Emirates' },
        { 'UGA',  'Uganda' },
        { 'UKR',  'Ukraine' },
        { 'URU',  'Uruguay' },
        { 'USA',  'United States' },
        { 'UZB',  'Uzbekistan' },
        { 'VAN',  'Vanuatu' },
        { 'VAT',  'Vatican' },
        { 'VEN',  'Venezuela' },
        { 'VGB',  'British Virgin Islands' },
        { 'VIE',  'Vietnam' },
        { 'VIN',  'Saint Vincent and the Grenadines' },   -- 'St Vincent & Grenadines' also used
        { 'VIR',  'US Virgin Islands' },
        { 'WAL',  'Wales' },
        { 'WLF',  'Wallis and Futuna' },
        { 'YEM',  'Yemen' },
        { 'ZAM',  'Zambia' },
        { 'ZAN',  'Zanzibar' },
        { 'ZIM',  'Zimbabwe' },
}

return data