Jump to content

Module:SportsRankings/data/World Football Elo Ratings

Permanently protected module
From Wikipedia, the free encyclopedia

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 = 'November',
	year = 2024
}

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

data.rankings = {
     { 'Spain', 1, 2, 2178 },
     { 'Argentina', 2, -1, 2107 },
     { 'France', 3, -1, 2056 },
     { 'England', 4, 1, 2007 },
     { 'Brazil', 5, 1, 1997 },
     { 'Portugal', 6, -2, 1993 },
     { 'Colombia', 7, 2, 1979 },
     { 'Germany', 8, 6, 1972 },
     { 'Uruguay', 9, -2, 1949 },
     { 'Netherlands', 10, 0, 1939 },
     { 'Italy', 11, 1, 1930 },
     { 'Ecuador', 12, 3, 1910 },
     { 'Japan', 13, 0, 1888 },
     { 'Croatia', 14, -3, 1887 },
     { 'Austria', 15, 3, 1871 },
     { 'Denmark', 16, 5, 1857 },
     { 'Belgium', 17, -9, 1851 },
     { 'Iran', 18, 2, 1837 },
     { 'Switzerland', 19, 7, 1814 },
     { 'Greece', 20, 18, 1813 },
     { 'Serbia', 21, 1, 1810 },
     { 'Norway', 22, 12, 1805 },
     { 'Morocco', 23, -6, 1804 },
     { 'Ukraine', 24, -8, 1802 },
     { 'Russia', 25, 8, 1788 },
     { 'Canada', 26, 16, 1785 },
     { 'Hungary', 27, -8, 1779 },
     { 'Paraguay', 28, 15, 1774 },
     { 'Turkey', 28, 1, 1774 },
     { 'South Korea', 30, -5, 1773 },
     { 'Senegal', 31, 6, 1771 },
     { 'Mexico', 32, -8, 1769 },
     { 'Scotland', 33, -10, 1760 },
     { 'United States', 34, -6, 1759 },
     { 'Czechia', 35, -3, 1754 },
     { 'Sweden', 36, 10, 1745 },
     { 'Venezuela', 36, -5, 1745 },
     { 'Wales', 38, 7, 1733 },
     { 'Slovenia', 39, 1, 1727 },
     { 'Panama', 39, -10, 1727 },
     { 'Peru', 41, -6, 1723 },
     { 'Romania', 42, 6, 1719 },
     { 'Australia', 43, -16, 1717 },
     { 'Chile', 44, 0, 1713 },
     { 'Slovakia', 45, 4, 1702 },
     { 'Poland', 46, -6, 1700 },
     { 'Georgia', 47, 5, 1691 },
     { 'Algeria', 48, -9, 1688 },
     { 'Uzbekistan', 49, 3, 1683 },
     { 'Iraq', 50, 5, 1665 },
     { 'Egypt', 51, -4, 1659 },
     { 'Bolivia', 52, 7, 1658 },
     { 'Costa Rica', 53, 11, 1653 },
     { 'Albania', 54, 0, 1635 },
     { 'Jordan', 55, 21, 1616 },
     { 'Mali', 56, 2, 1613 },
     { 'North Macedonia', 57, 8, 1611 },
     { 'Ireland', 58, 2, 1608 },
     { 'Israel', 59, 2, 1601 },
     { 'Tunisia', 60, -24, 1600 },
     { 'Cameroon', 61, -6, 1597 },
     { 'New Zealand', 62, 11, 1584 },
     { 'Ivory Coast', 63, -13, 1581 },
     { 'South Africa', 64, 18, 1580 },
     { 'Iceland', 65, 23, 1576 },
     { 'Jamaica', 66, -9, 1575 },
     { 'Angola', 67, 41, 1572 },
     { 'United Arab Emirates', 68, 4, 1562 },
     { 'Honduras', 69, 2, 1561 },
     { 'Northern Ireland', 70, 12, 1559 },
     { 'Nigeria', 71, -9, 1553 },
     { 'Kosovo', 71, 7, 1553 },
     { 'Qatar', 73, -3, 1552 },
     { 'Democratic Republic of Congo', 74, 3, 1543 },
     { 'Haiti', 75, 5, 1539 },
     { 'Finland', 76, -25, 1538 },
     { 'Saudi Arabia', 77, -14, 1535 },
     { 'Montenegro', 78, -10, 1521 },
     { 'Guatemala', 79, 2, 1507 },
     { 'Equatorial Guinea', 80, -5, 1498 },
     { 'Guinea', 81, 17, 1491 },
     { 'Oman', 82, -13, 1487 },
     { 'Bulgaria', 83, 9, 1486 },
     { 'Bosnia and Herzegovina', 84, 1, 1485 },
     { 'Burkina Faso', 85, -19, 1483 },
     { 'Cape Verde', 86, 0, 1475 },
     { 'Belarus', 87, 3, 1459 },
     { 'Northern Cyprus', 88, 4, 1457 },
     { 'Bahrain', 89, 5, 1455 },
     { 'Mozambique', 90, 27, 1450 },
     { 'Gabon', 91, 4, 1445 },
     { 'Luxembourg', 91, -17, 1445 },
     { 'Syria', 93, 6, 1435 },
     { 'Thailand', 93, 16, 1435 },
     { 'Benin', 95, 26, 1434 },
     { 'Ghana', 96, -29, 1433 },
     { 'Kazakhstan', 97, -11, 1430 },
     { 'Comoros', 98, 49, 1425 },
     { 'Kurdistan', 98, 1, 1425 },
     { 'Martinique', 100, -4, 1417 },
     { 'Armenia', 101, -12, 1412 },
     { 'Zambia', 102, -20, 1410 },
     { 'China', 102, -11, 1410 },
     { 'Tanzania', 104, 14, 1407 },
     { 'Palestine', 105, -2, 1406 },
     { 'Kenya', 106, 12, 1405 },
     { 'Trinidad and Tobago', 107, -10, 1400 },
     { 'Sudan', 108, 25, 1399 },
     { 'Azerbaijan', 108, -29, 1399 },
     { 'Uganda', 108, 5, 1399 },
     { 'Libya', 111, 5, 1393 },
     { 'El Salvador', 112, -10, 1391 },
     { 'Indonesia', 113, 33, 1390 },
     { 'North Korea', 114, 0, 1386 },
     { 'Togo', 115, -8, 1382 },
     { 'Zimbabwe', 116, 11, 1381 },
     { 'Gambia', 116, -12, 1381 },
     { 'Estonia', 118, -3, 1377 },
     { 'Mauritania', 119, -14, 1365 },
     { 'Nicaragua', 120, 8, 1363 },
     { 'Rwanda', 121, 15, 1361 },
     { 'Botswana', 122, 0, 1359 },
     { 'Suriname', 123, 16, 1357 },
     { 'Moldova', 124, 1, 1356 },
     { 'Kuwait', 125, -14, 1351 },
     { 'Réunion', 126, -2, 1346 },
     { 'Curaçao', 127, -2, 1337 },
     { 'Guadeloupe', 128, 2, 1336 },
     { 'Guinea-Bissau', 129, -28, 1333 },
     { 'Zanzibar', 130, -1, 1326 },
     { 'Niger', 131, 26, 1325 },
     { 'Namibia', 132, -22, 1323 },
     { 'Lebanon', 133, 9, 1313 },
     { 'Malawi', 134, -16, 1312 },
     { 'Tajikistan', 135, -23, 1304 },
     { 'Cyprus', 136, -5, 1301 },
     { 'Sierra Leone', 137, -3, 1299 },
     { 'Madagascar', 138, -4, 1291 },
     { 'Dominican Republic', 139, 21, 1289 },
     { 'Central African Republic', 140, -3, 1288 },
     { 'Malaysia', 141, 0, 1287 },
     { 'Lithuania', 142, -10, 1284 },
     { 'Burundi', 143, 0, 1282 },
     { 'Cuba', 144, 0, 1281 },
     { 'Kyrgyzstan', 145, 9, 1278 },
     { 'Faroe Islands', 146, 4, 1277 },
     { 'Latvia', 147, -25, 1276 },
     { 'Malta', 148, 7, 1270 },
     { 'Liberia', 149, 2, 1268 },
     { 'Ethiopia', 150, -11, 1267 },
     { 'New Caledonia', 151, 10, 1264 },
     { 'Vietnam', 152, -47, 1248 },
     { 'Guyana', 153, -5, 1245 },
     { 'Lesotho', 154, 2, 1233 },
     { 'Congo', 155, -6, 1226 },
     { 'French Guiana', 156, -11, 1221 },
     { 'Eswatini', 157, -4, 1220 },
     { 'Fiji', 158, 4, 1217 },
     { 'Mayotte', 158, 1, 1217 },
     { 'Tahiti', 160, 4, 1208 },
     { 'Turkmenistan', 161, -3, 1204 },
     { 'Solomon Islands', 162, -24, 1180 },
     { 'India', 163, -11, 1174 },
     { 'Chad', 164, -1, 1170 },
     { 'Eritrea', 165, 3, 1144 },
     { 'Bermuda', 166, -1, 1143 },
     { 'Saint Vincent and the Grenadines', 167, 10, 1133 },
     { 'South Sudan', 168, -2, 1123 },
     { 'Hong Kong', 169, 10, 1121 },
     { 'Puerto Rico', 169, -3, 1121 },
     { 'Saint Kitts and Nevis', 171, 5, 1103 },
     { 'Singapore', 172, -1, 1095 },
     { 'Belize', 173, 8, 1094 },
     { 'Yemen', 174, -2, 1085 },
     { 'Afghanistan', 175, 3, 1083 },
     { 'Andorra', 175, -3, 1083 },
     { 'Philippines', 177, 6, 1074 },
     { 'Vanuatu', 178, -8, 1072 },
     { 'Grenada', 179, -5, 1065 },
     { 'Gibraltar', 180, 0, 1057 },
     { 'São Tomé and Príncipe', 181, 0, 1049 },
     { 'Papua New Guinea', 182, -13, 1045 },
     { 'Mauritius', 183, 1, 1036 },
     { 'Saint Lucia', 183, -8, 1036 },
     { 'Saint Martin', 185, 8, 1020 },
     { 'Somaliland', 186, 1, 1002 },
     { 'Western Sahara', 187, 3, 996 },
     { 'Dominica', 188, 1, 980 },
     { 'Montserrat', 189, -4, 952 },
     { 'Barbados', 190, 4, 950 },
     { 'Greenland', 191, 1, 946 },
     { 'Djibouti', 192, 5, 945 },
     { 'Sint Maarten', 193, 9, 934 },
     { 'Nepal', 194, 7, 931 },
     { 'Antigua and Barbuda', 195, -9, 918 },
     { 'Liechtenstein', 196, -5, 914 },
     { 'Taiwan', 197, -1, 907 },
     { 'Myanmar', 198, 0, 905 },
     { 'Bangladesh', 199, -4, 904 },
     { 'Aruba', 200, -13, 903 },
     { 'Monaco', 200, -1, 903 },
     { 'Somalia', 202, -2, 899 },
     { 'Maldives', 203, 0, 886 },
     { 'Seychelles', 204, 0, 860 },
     { 'San Marino', 205, 7, 848 },
     { 'Bonaire', 206, 0, 839 },
     { 'Cambodia', 207, -2, 832 },
     { 'Cayman Islands', 208, 1, 829 },
     { 'Pakistan', 209, -2, 824 },
     { 'Bahamas', 210, -2, 793 },
     { 'Chagos Islands', 211, 0, 785 },
     { 'Sint Eustatius', 212, 1, 757 },
     { 'Tuvalu', 213, 1, 756 },
     { 'Mongolia', 214, -4, 754 },
     { 'Samoa', 215, 2, 730 },
     { 'Saint Barthélemy', 216, -1, 725 },
     { 'Sri Lanka', 217, 5, 721 },
     { 'Wallis and Futuna', 218, 0, 701 },
     { 'Vatican', 219, 1, 692 },
     { 'Guam', 220, -1, 680 },
     { 'Saint Pierre and Miquelon', 221, 2, 677 },
     { 'Laos', 222, 4, 674 },
     { 'East Timor', 223, 8, 673 },
     { 'Saba', 224, 0, 671 },
     { 'Brunei', 225, 7, 665 },
     { 'Turks and Caicos Islands', 226, -10, 650 },
     { 'Tibet', 227, 1, 630 },
     { 'British Virgin Islands', 228, -1, 627 },
     { 'Cook Islands', 229, -9, 623 },
     { 'Anguilla', 229, 6, 623 },
     { 'Bhutan', 231, -2, 619 },
     { 'Macao', 232, -7, 614 },
     { 'US Virgin Islands', 233, -3, 587 },
     { 'Falkland Islands', 234, -1, 571 },
     { 'Federated States of Micronesia', 235, -1, 564 },
     { 'Kiribati', 236, 0, 545 },
     { 'Tonga', 237, 0, 521 },
     { 'Niue', 238, 0, 496 },
     { 'Northern Mariana Islands', 239, 1, 452 },
     { 'Palau', 240, 0, 403 },
     { 'Eastern Samoa', 241, -2, 389 },
}
-- 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