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 15:08, 7 June 2024 (6 June 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 = 6,
	month = 'June',
	year = 2024
}

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

data.rankings = {
     { 'Argentina', 1, 0, 2139 },
     { 'France', 2, 1, 2086 },
     { 'Brazil', 3, -1, 2028 },
     { 'Spain', 4, 4, 2019 },
     { 'Portugal', 5, 0, 2015 },
     { 'England', 6, 0, 2000 },
     { 'Colombia', 7, 5, 1998 },
     { 'Uruguay', 8, 5, 1992 },
     { 'Belgium', 9, -2, 1987 },
     { 'Netherlands', 10, -6, 1972 },
     { 'Croatia', 11, -2, 1955 },
     { 'Italy', 12, -1, 1949 },
     { 'Germany', 13, -3, 1917 },
     { 'Ecuador', 14, 5, 1873 },
     { 'Ukraine', 15, 7, 1867 },
     { 'Austria', 16, 16, 1862 },
     { 'Japan', 17, 3, 1852 },
     { 'Hungary', 18, 3, 1828 },
     { 'Denmark', 19, -2, 1826 },
     { 'Iran', 20, 9, 1819 },
     { 'Switzerland', 21, -7, 1806 },
     { 'United States', 22, 1, 1800 },
     { 'Mexico', 23, 1, 1795 },
     { 'Serbia', 24, -8, 1783 },
     { 'Scotland', 25, 0, 1776 },
     { 'Czechia', 26, 0, 1772 },
     { 'Russia', 26, 5, 1772 },
     { 'Australia', 28, 2, 1769 },
     { 'Morocco', 29, -14, 1767 },
     { 'Senegal', 30, 4, 1761 },
     { 'Turkey', 31, 12, 1757 },
     { 'Peru', 32, -14, 1746 },
     { 'Venezuela', 33, 11, 1744 },
     { 'Norway', 34, 2, 1742 },
     { 'Slovenia', 35, 12, 1741 },
     { 'Greece', 36, 9, 1740 },
     { 'South Korea', 37, -9, 1735 },
     { 'Poland', 38, -11, 1721 },
     { 'Chile', 39, 3, 1713 },
     { 'Canada', 40, -2, 1712 },
     { 'Panama', 41, 10, 1710 },
     { 'Paraguay', 42, -3, 1705 },
     { 'Wales', 43, -6, 1700 },
     { 'Sweden', 44, -9, 1693 },
     { 'Tunisia', 45, -12, 1688 },
     { 'Uzbekistan', 46, 20, 1668 },
     { 'Romania', 47, 7, 1657 },
     { 'Iraq', 47, 8, 1657 },
     { 'Slovakia', 49, 15, 1655 },
     { 'Georgia', 50, 2, 1650 },
     { 'Egypt', 51, -3, 1645 },
     { 'Jamaica', 52, 17, 1640 },
     { 'Algeria', 53, -12, 1632 },
     { 'Ivory Coast', 54, -8, 1631 },
     { 'Nigeria', 55, 2, 1629 },
     { 'Qatar', 55, 16, 1629 },
     { 'Finland', 57, -8, 1621 },
     { 'Ireland', 57, -8, 1621 },
     { 'Mali', 59, 3, 1617 },
     { 'Costa Rica', 60, -20, 1614 },
     { 'Albania', 60, 14, 1614 },
     { 'Saudi Arabia', 62, 5, 1613 },
     { 'Jordan', 63, 2, 1609 },
     { 'Bolivia', 64, -9, 1600 },
     { 'Cape Verde', 65, 17, 1581 },
     { 'South Africa', 66, 6, 1575 },
     { 'Montenegro', 67, 1, 1571 },
     { 'Cameroon', 68, -15, 1558 },
     { 'Israel', 68, -9, 1558 },
     { 'North Macedonia', 70, 3, 1550 },
     { 'Democratic Republic of Congo', 71, 12, 1549 },
     { 'Equatorial Guinea', 71, 17, 1549 },
     { 'Iceland', 73, 3, 1545 },
     { 'Oman', 73, -13, 1545 },
     { 'Ghana', 75, -12, 1535 },
     { 'New Zealand', 76, -1, 1526 },
     { 'Northern Ireland', 77, 0, 1516 },
     { 'Guinea', 78, 19, 1513 },
     { 'Luxembourg', 79, 13, 1512 },
     { 'United Arab Emirates', 80, 11, 1510 },
     { 'Angola', 81, 22, 1508 },
     { 'Kosovo', 82, -4, 1504 },
     { 'Honduras', 83, 2, 1498 },
     { 'Haiti', 84, -14, 1496 },
     { 'Burkina Faso', 85, -25, 1495 },
     { 'Azerbaijan', 86, 16, 1494 },
     { 'Zambia', 87, -6, 1485 },
     { 'Guatemala', 87, -3, 1485 },
     { 'Bulgaria', 89, -9, 1480 },
     { 'Bosnia and Herzegovina', 90, -32, 1477 },
     { 'Kazakhstan', 91, 10, 1470 },
     { 'Northern Cyprus', 92, -2, 1457 },
     { 'Armenia', 93, 3, 1454 },
     { 'Belarus', 93, 11, 1454 },
     { 'Bahrain', 95, -17, 1443 },
     { 'Martinique', 96, 11, 1437 },
     { 'Gabon', 97, -11, 1433 },
     { 'Kurdistan', 98, 0, 1425 },
     { 'Syria', 99, 0, 1421 },
     { 'Thailand', 99, 11, 1421 },
     { 'Libya', 101, 20, 1411 },
     { 'Palestine', 101, -7, 1411 },
     { 'Trinidad and Tobago', 103, 12, 1410 },
     { 'Kenya', 104, 9, 1406 },
     { 'China', 105, -16, 1399 },
     { 'North Korea', 106, 5, 1391 },
     { 'El Salvador', 107, -21, 1382 },
     { 'Tajikistan', 108, 18, 1378 },
     { 'Togo', 109, 19, 1376 },
     { 'Benin', 110, -1, 1372 },
     { 'Sudan', 111, 15, 1370 },
     { 'Mozambique', 112, 20, 1366 },
     { 'Namibia', 113, -13, 1363 },
     { 'Uganda', 113, -7, 1363 },
     { 'Gambia', 115, -22, 1357 },
     { 'Estonia', 116, -22, 1354 },
     { 'Guinea-Bissau', 117, -12, 1353 },
     { 'Mauritania', 118, -7, 1352 },
     { 'Moldova', 119, 30, 1347 },
     { 'Tanzania', 120, 10, 1346 },
     { 'Réunion', 120, -6, 1346 },
     { 'Curaçao', 122, -5, 1343 },
     { 'Botswana', 122, 2, 1343 },
     { 'Latvia', 124, -5, 1341 },
     { 'Central African Republic', 125, -3, 1333 },
     { 'Lithuania', 126, 17, 1331 },
     { 'Kuwait', 127, -10, 1328 },
     { 'Guadeloupe', 128, 37, 1327 },
     { 'Nicaragua', 128, 14, 1327 },
     { 'Zanzibar', 130, -6, 1326 },
     { 'Indonesia', 131, 9, 1324 },
     { 'Zimbabwe', 132, -3, 1323 },
     { 'Rwanda', 133, 6, 1321 },
     { 'Cyprus', 134, -18, 1318 },
     { 'Suriname', 135, -5, 1317 },
     { 'Sierra Leone', 136, -13, 1315 },
     { 'Malawi', 137, 8, 1309 },
     { 'Comoros', 138, 15, 1305 },
     { 'Ethiopia', 139, -7, 1304 },
     { 'Madagascar', 140, 15, 1296 },
     { 'Cuba', 141, -21, 1295 },
     { 'Solomon Islands', 142, 1, 1290 },
     { 'Lebanon', 143, -9, 1289 },
     { 'French Guiana', 144, -8, 1288 },
     { 'Burundi', 145, 3, 1281 },
     { 'Congo', 146, -6, 1275 },
     { 'Vietnam', 147, -39, 1274 },
     { 'Malaysia', 148, -1, 1270 },
     { 'Faroe Islands', 149, -12, 1268 },
     { 'Kyrgyzstan', 150, 4, 1263 },
     { 'Malta', 151, -5, 1261 },
     { 'Guyana', 152, 7, 1260 },
     { 'Liberia', 153, -18, 1259 },
     { 'Lesotho', 154, 1, 1253 },
     { 'Eswatini', 155, -17, 1250 },
     { 'Niger', 156, -5, 1241 },
     { 'New Caledonia', 157, 7, 1234 },
     { 'Fiji', 158, 3, 1222 },
     { 'Turkmenistan', 159, -9, 1217 },
     { 'Mayotte', 159, -2, 1217 },
     { 'Dominican Republic', 161, -1, 1206 },
     { 'India', 162, -10, 1196 },
     { 'Tahiti', 163, 5, 1186 },
     { 'Chad', 164, -1, 1178 },
     { 'South Sudan', 165, 8, 1152 },
     { 'Puerto Rico', 166, 10, 1146 },
     { 'Eritrea', 167, 2, 1144 },
     { 'Bermuda', 168, -1, 1141 },
     { 'Afghanistan', 169, 8, 1132 },
     { 'Singapore', 170, 0, 1114 },
     { 'Andorra', 171, 3, 1113 },
     { 'Yemen', 172, 6, 1111 },
     { 'Saint Lucia', 173, 6, 1092 },
     { 'Grenada', 174, 1, 1089 },
     { 'Papua New Guinea', 175, -17, 1083 },
     { 'Saint Vincent and the Grenadines', 176, 9, 1080 },
     { 'Saint Kitts and Nevis', 177, -15, 1078 },
     { 'Belize', 178, 4, 1075 },
     { 'São Tomé and Príncipe', 179, 1, 1059 },
     { 'Gibraltar', 180, 1, 1057 },
     { 'Hong Kong', 181, -9, 1055 },
     { 'Vanuatu', 182, -11, 1046 },
     { 'Philippines', 183, 1, 1040 },
     { 'Montserrat', 184, 5, 1016 },
     { 'Antigua and Barbuda', 185, -19, 1014 },
     { 'Mauritius', 186, 6, 1010 },
     { 'Dominica', 186, 2, 1010 },
     { 'Somaliland', 188, -2, 1002 },
     { 'Aruba', 189, 4, 998 },
     { 'Western Sahara', 190, -3, 996 },
     { 'Liechtenstein', 191, -1, 958 },
     { 'Greenland', 192, -1, 946 },
     { 'Saint Martin', 193, 15, 942 },
     { 'Barbados', 194, -11, 934 },
     { 'Bangladesh', 195, 11, 931 },
     { 'Djibouti', 196, 7, 929 },
     { 'Myanmar', 197, -1, 918 },
     { 'Somalia', 198, 1, 906 },
     { 'Taiwan', 199, -1, 903 },
     { 'Monaco', 199, -2, 903 },
     { 'Nepal', 201, -6, 887 },
     { 'Maldives', 202, -8, 879 },
     { 'Sint Maarten', 203, 4, 855 },
     { 'Seychelles', 203, -3, 855 },
     { 'Cambodia', 205, -4, 842 },
     { 'Bonaire', 206, -5, 827 },
     { 'Pakistan', 207, -4, 826 },
     { 'Bahamas', 208, -3, 817 },
     { 'Cayman Islands', 209, 0, 799 },
     { 'Mongolia', 210, 0, 790 },
     { 'Chagos Islands', 211, 2, 785 },
     { 'San Marino', 212, -1, 777 },
     { 'Sint Eustatius', 213, 1, 757 },
     { 'Tuvalu', 214, 1, 756 },
     { 'Samoa', 215, 7, 745 },
     { 'Saint Barthélemy', 216, 0, 725 },
     { 'Sri Lanka', 217, 7, 707 },
     { 'Wallis and Futuna', 218, 0, 701 },
     { 'Vatican', 219, 1, 692 },
     { 'Turks and Caicos Islands', 220, -9, 690 },
     { 'Cook Islands', 221, 0, 685 },
     { 'Guam', 222, -5, 680 },
     { 'Saint Pierre and Miquelon', 223, 0, 677 },
     { 'Saba', 224, 1, 671 },
     { 'Laos', 225, 1, 665 },
     { 'Macao', 225, -6, 665 },
     { 'British Virgin Islands', 227, 4, 654 },
     { 'Tibet', 228, 0, 630 },
     { 'Brunei', 229, 3, 621 },
     { 'US Virgin Islands', 230, -3, 618 },
     { 'East Timor', 231, -2, 610 },
     { 'Bhutan', 232, 2, 607 },
     { 'Anguilla', 233, -3, 603 },
     { 'Falkland Islands', 234, -1, 571 },
     { 'Federated States of Micronesia', 235, 0, 564 },
     { 'Kiribati', 236, 0, 545 },
     { 'Niue', 237, 1, 496 },
     { 'Tonga', 238, -1, 481 },
     { 'Northern Mariana Islands', 239, 1, 452 },
     { '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