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:58, 7 September 2024 (6 Sep 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 = 'September',
	year = 2024
}

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

data.rankings = {
     { 'Argentina', 1, 0, 2171 },
     { 'Spain', 2, 5, 2137 },
     { 'Colombia', 3, 8, 2039 },
     { 'Brazil', 4, -1, 2029 },
     { 'France', 5, -3, 1998 },
     { 'England', 6, 0, 1981 },
     { 'Portugal', 7, -3, 1971 },
     { 'Netherlands', 8, 1, 1964 },
     { 'Uruguay', 9, 3, 1961 },
     { 'Belgium', 10, -2, 1940 },
     { 'Italy', 11, -1, 1939 },
     { 'Germany', 12, 1, 1934 },
     { 'Croatia', 13, -8, 1904 },
     { 'Austria', 14, 14, 1876 },
     { 'Switzerland', 15, -1, 1875 },
     { 'Ecuador', 16, 1, 1863 },
     { 'Japan', 17, -2, 1859 },
     { 'Denmark', 18, -2, 1845 },
     { 'Ukraine', 19, 4, 1816 },
     { 'Iran', 20, 6, 1808 },
     { 'Turkey', 21, 16, 1804 },
     { 'Serbia', 22, 2, 1802 },
     { 'Hungary', 23, -6, 1801 },
     { 'Mexico', 24, -4, 1785 },
     { 'Russia', 24, 7, 1785 },
     { 'Morocco', 26, -5, 1779 },
     { 'Slovenia', 27, 20, 1771 },
     { 'Venezuela', 28, 16, 1766 },
     { 'Poland', 29, 3, 1756 },
     { 'Canada', 29, 9, 1756 },
     { 'Senegal', 31, -1, 1751 },
     { 'United States', 32, -7, 1747 },
     { 'Greece', 33, 12, 1739 },
     { 'Australia', 34, -5, 1737 },
     { 'Czechia', 35, -8, 1732 },
     { 'Panama', 36, 4, 1731 },
     { 'Norway', 37, -2, 1723 },
     { 'Peru', 38, -19, 1722 },
     { 'South Korea', 39, -6, 1721 },
     { 'Chile', 40, 1, 1720 },
     { 'Scotland', 41, -19, 1709 },
     { 'Romania', 41, 11, 1709 },
     { 'Georgia', 43, 7, 1704 },
     { 'Sweden', 44, -10, 1698 },
     { 'Slovakia', 45, 10, 1694 },
     { 'Uzbekistan', 46, 13, 1684 },
     { 'Wales', 46, 2, 1684 },
     { 'Paraguay', 48, -9, 1678 },
     { 'Tunisia', 49, -14, 1676 },
     { 'Iraq', 50, 10, 1669 },
     { 'Costa Rica', 51, 0, 1666 },
     { 'Algeria', 52, -9, 1659 },
     { 'Egypt', 53, -7, 1655 },
     { 'Ivory Coast', 54, -1, 1631 },
     { 'Albania', 55, 11, 1630 },
     { 'Finland', 56, -14, 1627 },
     { 'Ireland', 57, -8, 1619 },
     { 'Jordan', 58, 4, 1614 },
     { 'Bolivia', 59, 2, 1606 },
     { 'Mali', 60, -2, 1590 },
     { 'Nigeria', 61, -6, 1589 },
     { 'Cameroon', 62, -9, 1587 },
     { 'Qatar', 63, 16, 1584 },
     { 'Iceland', 64, 16, 1582 },
     { 'Angola', 65, 45, 1578 },
     { 'Jamaica', 66, -2, 1572 },
     { 'Saudi Arabia', 66, 1, 1572 },
     { 'New Zealand', 68, 3, 1571 },
     { 'Democratic Republic of Congo', 69, 8, 1567 },
     { 'Israel', 70, -13, 1561 },
     { 'South Africa', 71, 2, 1549 },
     { 'United Arab Emirates', 72, 20, 1548 },
     { 'Cape Verde', 73, 2, 1544 },
     { 'Equatorial Guinea', 74, 8, 1539 },
     { 'Northern Ireland', 75, 12, 1538 },
     { 'North Macedonia', 76, -4, 1537 },
     { 'Montenegro', 77, -7, 1533 },
     { 'Honduras', 78, 5, 1529 },
     { 'Oman', 79, -14, 1521 },
     { 'Ghana', 80, -17, 1516 },
     { 'Haiti', 81, -5, 1515 },
     { 'Burkina Faso', 82, -14, 1501 },
     { 'Guatemala', 83, -5, 1500 },
     { 'Luxembourg', 84, 1, 1490 },
     { 'Bahrain', 85, 1, 1489 },
     { 'Bulgaria', 86, -3, 1485 },
     { 'Kosovo', 87, 2, 1477 },
     { 'Bosnia and Herzegovina', 88, -19, 1476 },
     { 'Guinea', 89, 10, 1474 },
     { 'Azerbaijan', 90, 14, 1469 },
     { 'Kazakhstan', 91, 4, 1463 },
     { 'Armenia', 92, -12, 1462 },
     { 'Northern Cyprus', 93, -3, 1457 },
     { 'Belarus', 94, 5, 1436 },
     { 'Gabon', 95, 1, 1433 },
     { 'Mozambique', 96, 30, 1432 },
     { 'Thailand', 97, 15, 1426 },
     { 'Kurdistan', 98, 0, 1425 },
     { 'Palestine', 99, -2, 1423 },
     { 'Syria', 100, 3, 1422 },
     { 'Kenya', 101, 14, 1420 },
     { 'Martinique', 102, -1, 1419 },
     { 'El Salvador', 103, -12, 1409 },
     { 'Sudan', 104, 35, 1406 },
     { 'Benin', 105, 4, 1404 },
     { 'Libya', 106, 17, 1399 },
     { 'North Korea', 107, 6, 1396 },
     { 'Trinidad and Tobago', 108, 3, 1395 },
     { 'China', 109, -21, 1393 },
     { 'Uganda', 110, -2, 1378 },
     { 'Namibia', 111, 2, 1376 },
     { 'Guinea-Bissau', 112, -7, 1371 },
     { 'Nicaragua', 112, 33, 1371 },
     { 'Tanzania', 114, 5, 1369 },
     { 'Estonia', 115, -21, 1362 },
     { 'Tajikistan', 116, 11, 1361 },
     { 'Togo', 117, -1, 1359 },
     { 'Suriname', 118, 17, 1354 },
     { 'Gambia', 119, -26, 1351 },
     { 'Kuwait', 120, -19, 1350 },
     { 'Moldova', 120, 17, 1350 },
     { 'Central African Republic', 122, 8, 1349 },
     { 'Rwanda', 122, 29, 1349 },
     { 'Zambia', 124, -50, 1347 },
     { 'Réunion', 125, -7, 1346 },
     { 'Mauritania', 125, -19, 1346 },
     { 'Indonesia', 127, 14, 1345 },
     { 'Comoros', 128, 34, 1344 },
     { 'Cyprus', 129, -9, 1343 },
     { 'Lithuania', 130, 17, 1328 },
     { 'Madagascar', 131, 7, 1327 },
     { 'Zanzibar', 132, -7, 1326 },
     { 'Zimbabwe', 133, -1, 1323 },
     { 'Curaçao', 134, -7, 1322 },
     { 'Guadeloupe', 134, -7, 1322 },
     { 'Latvia', 136, -14, 1321 },
     { 'Burundi', 137, 5, 1318 },
     { 'Lebanon', 138, -2, 1316 },
     { 'Sierra Leone', 138, -14, 1316 },
     { 'Botswana', 140, -23, 1314 },
     { 'Cuba', 141, 8, 1310 },
     { 'Ethiopia', 142, -12, 1298 },
     { 'Congo', 143, 6, 1280 },
     { 'Liberia', 144, -11, 1279 },
     { 'Malaysia', 145, -6, 1278 },
     { 'Malawi', 145, -24, 1278 },
     { 'Kyrgyzstan', 145, 9, 1278 },
     { 'Vietnam', 148, -41, 1265 },
     { 'French Guiana', 148, -14, 1265 },
     { 'Malta', 150, -2, 1257 },
     { 'Faroe Islands', 151, -7, 1256 },
     { 'Guyana', 152, 13, 1239 },
     { 'New Caledonia', 153, 9, 1234 },
     { 'Niger', 154, 3, 1229 },
     { 'Eswatini', 155, -9, 1223 },
     { 'Mayotte', 156, 0, 1217 },
     { 'Fiji', 157, 3, 1211 },
     { 'Lesotho', 158, -3, 1208 },
     { 'Dominican Republic', 158, 1, 1208 },
     { 'Turkmenistan', 160, -7, 1204 },
     { 'Solomon Islands', 161, -9, 1190 },
     { 'Tahiti', 162, 5, 1188 },
     { 'India', 163, -21, 1185 },
     { 'Chad', 164, -3, 1166 },
     { 'Eritrea', 165, 3, 1144 },
     { 'Puerto Rico', 166, 10, 1135 },
     { 'Bermuda', 167, -3, 1126 },
     { 'Afghanistan', 167, 12, 1126 },
     { 'South Sudan', 169, 2, 1121 },
     { 'Saint Lucia', 170, 8, 1117 },
     { 'Singapore', 171, -2, 1109 },
     { 'Hong Kong', 172, 1, 1106 },
     { 'Andorra', 173, -2, 1101 },
     { 'Yemen', 174, 3, 1100 },
     { 'Grenada', 175, 0, 1095 },
     { 'Vanuatu', 176, -2, 1092 },
     { 'Saint Kitts and Nevis', 177, -11, 1082 },
     { 'Papua New Guinea', 178, -20, 1079 },
     { 'Gibraltar', 179, 2, 1067 },
     { 'Saint Vincent and the Grenadines', 180, 4, 1063 },
     { 'São Tomé and Príncipe', 181, -1, 1049 },
     { 'Mauritius', 182, 3, 1041 },
     { 'Belize', 183, -1, 1039 },
     { 'Philippines', 184, 2, 1030 },
     { 'Dominica', 185, 4, 1008 },
     { 'Montserrat', 185, 5, 1008 },
     { 'Somaliland', 187, 0, 1002 },
     { 'Western Sahara', 188, 0, 996 },
     { 'Antigua and Barbuda', 189, -19, 988 },
     { 'Aruba', 190, 3, 951 },
     { 'Greenland', 191, 1, 946 },
     { 'Djibouti', 192, 4, 945 },
     { 'Liechtenstein', 193, -2, 943 },
     { 'Barbados', 194, -11, 930 },
     { 'Bangladesh', 195, 3, 927 },
     { 'Saint Martin', 196, 8, 924 },
     { 'Myanmar', 197, 0, 914 },
     { 'Monaco', 198, 1, 903 },
     { 'Taiwan', 199, -4, 899 },
     { 'Somalia', 199, 1, 899 },
     { 'Nepal', 201, -7, 898 },
     { 'Sint Maarten', 202, 6, 896 },
     { 'Maldives', 203, -2, 879 },
     { 'Seychelles', 204, 0, 860 },
     { 'Cambodia', 205, -2, 839 },
     { 'Bonaire', 206, -4, 835 },
     { 'Cayman Islands', 207, 0, 832 },
     { 'Pakistan', 208, 1, 824 },
     { 'Bahamas', 209, -3, 805 },
     { 'San Marino', 210, 3, 798 },
     { 'Chagos Islands', 211, 0, 785 },
     { 'Sint Eustatius', 212, 2, 757 },
     { 'Tuvalu', 213, 2, 756 },
     { 'Mongolia', 214, -5, 738 },
     { 'Samoa', 215, 6, 734 },
     { 'Saint Barthélemy', 216, 0, 725 },
     { 'Wallis and Futuna', 217, 1, 701 },
     { 'Vatican', 218, 1, 692 },
     { 'Sri Lanka', 219, 4, 691 },
     { 'Guam', 220, -3, 680 },
     { 'Saint Pierre and Miquelon', 221, 1, 677 },
     { 'Saba', 222, 3, 671 },
     { 'Brunei', 223, 8, 668 },
     { 'Laos', 224, 2, 665 },
     { 'East Timor', 225, 4, 662 },
     { 'Anguilla', 226, 6, 650 },
     { 'Turks and Caicos Islands', 227, -15, 645 },
     { 'British Virgin Islands', 228, 2, 644 },
     { 'Cook Islands', 229, -9, 639 },
     { 'Macao', 230, -6, 638 },
     { 'Tibet', 231, -3, 630 },
     { 'US Virgin Islands', 232, -5, 623 },
     { 'Bhutan', 233, 1, 603 },
     { 'Falkland Islands', 234, -1, 571 },
     { 'Federated States of Micronesia', 235, 0, 564 },
     { 'Kiribati', 236, 0, 545 },
     { 'Tonga', 237, 0, 527 },
     { 'Niue', 238, 0, 496 },
     { 'Northern Mariana Islands', 239, 1, 452 },
     { 'Palau', 240, 1, 403 },
     { 'Eastern Samoa', 241, -2, 373 },
}
-- 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