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 = 26,
	month = 'March',
	year = 2025
}

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

data.rankings = {
     { 'Spain', 1, 3, 2150 },
     { 'Argentina', 2, -1, 2140 },
     { 'France', 3, -1, 2031 },
     { 'England', 4, 2, 2012 },
     { 'Brazil', 5, -2, 1994 },
     { 'Germany', 6, 7, 1988 },
     { 'Portugal', 6, -1, 1988 },
     { 'Netherlands', 8, 2, 1967 },
     { 'Colombia', 9, -3, 1953 },
     { 'Uruguay', 10, -2, 1922 },
     { 'Italy', 11, 0, 1914 },
     { 'Croatia', 12, 0, 1912 },
     { 'Ecuador', 13, 1, 1911 },
     { 'Japan', 14, 3, 1875 },
     { 'Denmark', 15, 4, 1862 },
     { 'Belgium', 16, -7, 1844 },
     { 'Serbia', 16, 8, 1844 },
     { 'Turkey', 18, 13, 1837 },
     { 'Austria', 18, -2, 1837 },
     { 'Greece', 20, 14, 1830 },
     { 'Iran', 21, -1, 1829 },
     { 'Norway', 22, 14, 1828 },
     { 'Mexico', 23, -1, 1817 },
     { 'Switzerland', 24, -3, 1812 },
     { 'Ukraine', 25, -10, 1809 },
     { 'Morocco', 26, 4, 1807 },
     { 'Paraguay', 27, 16, 1799 },
     { 'Russia', 28, -1, 1790 },
     { 'Canada', 29, 10, 1779 },
     { 'Senegal', 30, -5, 1759 },
     { 'Czechia', 31, -4, 1756 },
     { 'South Korea', 32, 5, 1745 },
     { 'Slovenia', 33, 2, 1744 },
     { 'Scotland', 34, -9, 1743 },
     { 'Venezuela', 34, -1, 1743 },
     { 'Sweden', 36, 8, 1737 },
     { 'Wales', 36, 5, 1737 },
     { 'Australia', 38, -9, 1736 },
     { 'Peru', 39, -7, 1725 },
     { 'Panama', 40, 2, 1724 },
     { 'United States', 41, -19, 1723 },
     { 'Chile', 42, -2, 1722 },
     { 'Hungary', 43, -25, 1716 },
     { 'Georgia', 43, 7, 1716 },
     { 'Algeria', 45, 1, 1711 },
     { 'Poland', 46, -8, 1705 },
     { 'Uzbekistan', 47, -1, 1696 },
     { 'Romania', 48, 0, 1685 },
     { 'Slovakia', 48, 1, 1685 },
     { 'Egypt', 50, 5, 1668 },
     { 'Costa Rica', 51, 11, 1653 },
     { 'Bolivia', 52, 10, 1652 },
     { 'Ireland', 53, 8, 1635 },
     { 'Albania', 54, 5, 1633 },
     { 'Jordan', 55, 9, 1632 },
     { 'North Macedonia', 56, 15, 1614 },
     { 'Mali', 56, -5, 1614 },
     { 'Tunisia', 58, -13, 1613 },
     { 'South Africa', 59, 7, 1601 },
     { 'Kosovo', 60, 18, 1599 },
     { 'New Zealand', 61, 14, 1596 },
     { 'Israel', 61, 7, 1596 },
     { 'Ivory Coast', 63, -7, 1593 },
     { 'Cameroon', 64, 4, 1591 },
     { 'Democratic Republic of Congo', 65, 9, 1569 },
     { 'Nigeria', 66, -9, 1561 },
     { 'Honduras', 66, 19, 1561 },
     { 'Saudi Arabia', 66, -7, 1561 },
     { 'Jamaica', 69, -15, 1560 },
     { 'Northern Ireland', 70, 6, 1557 },
     { 'Haiti', 71, 12, 1554 },
     { 'Finland', 72, -14, 1540 },
     { 'United Arab Emirates', 72, 7, 1540 },
     { 'Iraq', 74, -21, 1538 },
     { 'Angola', 75, 4, 1536 },
     { 'Iceland', 76, -4, 1531 },
     { 'Montenegro', 77, -10, 1528 },
     { 'Bosnia and Herzegovina', 78, 11, 1526 },
     { 'Cape Verde', 79, -14, 1506 },
     { 'Burkina Faso', 80, 1, 1501 },
     { 'Qatar', 81, -29, 1499 },
     { 'Bahrain', 82, 10, 1498 },
     { 'Oman', 83, -10, 1496 },
     { 'Guatemala', 84, 1, 1495 },
     { 'Equatorial Guinea', 85, -15, 1492 },
     { 'Belarus', 86, 9, 1491 },
     { 'Gabon', 87, 11, 1469 },
     { 'Mozambique', 88, 23, 1466 },
     { 'Ghana', 89, -8, 1465 },
     { 'Bulgaria', 90, 0, 1460 },
     { 'Luxembourg', 91, -14, 1458 },
     { 'Northern Cyprus', 92, 1, 1457 },
     { 'Guinea', 93, -5, 1453 },
     { 'Syria', 94, 2, 1437 },
     { 'Trinidad and Tobago', 95, 6, 1431 },
     { 'Palestine', 96, 4, 1426 },
     { 'Kazakhstan', 97, -6, 1425 },
     { 'Kurdistan', 97, 2, 1425 },
     { 'Comoros', 99, 38, 1415 },
     { 'Benin', 100, 18, 1413 },
     { 'Zambia', 101, -14, 1407 },
     { 'Tanzania', 102, 15, 1406 },
     { 'Suriname', 103, 33, 1402 },
     { 'China', 104, 1, 1399 },
     { 'Zimbabwe', 105, 25, 1397 },
     { 'Sudan', 106, 28, 1396 },
     { 'Estonia', 107, 9, 1392 },
     { 'Uganda', 107, 6, 1392 },
     { 'El Salvador', 109, -3, 1391 },
     { 'Libya', 110, -7, 1387 },
     { 'Armenia', 110, -16, 1387 },
     { 'Kenya', 112, -8, 1381 },
     { 'Thailand', 112, -10, 1381 },
     { 'North Korea', 114, -3, 1380 },
     { 'Guadeloupe', 115, 13, 1377 },
     { 'Gambia', 116, -1, 1376 },
     { 'Martinique', 117, -20, 1372 },
     { 'Togo', 117, -9, 1372 },
     { 'Azerbaijan', 119, -35, 1369 },
     { 'Kuwait', 120, 7, 1365 },
     { 'Vietnam', 121, 27, 1357 },
     { 'Namibia', 122, -12, 1356 },
     { 'Botswana', 123, -2, 1349 },
     { 'Mauritania', 124, -17, 1347 },
     { 'Réunion', 125, -5, 1346 },
     { 'Lebanon', 126, 18, 1342 },
     { 'Indonesia', 127, -5, 1339 },
     { 'Sierra Leone', 128, 7, 1329 },
     { 'Rwanda', 129, -5, 1327 },
     { 'Zanzibar', 130, -1, 1326 },
     { 'Curaçao', 131, -6, 1325 },
     { 'Niger', 132, 24, 1324 },
     { 'Moldova', 133, -14, 1323 },
     { 'Nicaragua', 134, -1, 1322 },
     { 'Kyrgyzstan', 135, 13, 1319 },
     { 'Madagascar', 136, 4, 1303 },
     { 'Cyprus', 137, -5, 1298 },
     { 'Dominican Republic', 138, 23, 1292 },
     { 'Lithuania', 139, -13, 1291 },
     { 'Latvia', 140, -18, 1290 },
     { 'Tajikistan', 141, -32, 1288 },
     { 'New Caledonia', 142, 15, 1287 },
     { 'Guinea-Bissau', 143, -29, 1285 },
     { 'Burundi', 144, 1, 1283 },
     { 'Ethiopia', 145, -4, 1282 },
     { 'Malawi', 145, -6, 1282 },
     { 'Faroe Islands', 147, 1, 1272 },
     { 'Central African Republic', 148, -17, 1269 },
     { 'Guyana', 148, -1, 1269 },
     { 'Liberia', 150, 3, 1265 },
     { 'Malaysia', 151, 0, 1258 },
     { 'Malta', 152, 0, 1256 },
     { 'Cuba', 153, -16, 1248 },
     { 'Lesotho', 154, 0, 1240 },
     { 'Fiji', 155, 3, 1229 },
     { 'Congo', 156, -10, 1226 },
     { 'Eswatini', 156, -2, 1226 },
     { 'French Guiana', 158, -15, 1221 },
     { 'Mayotte', 159, 0, 1217 },
     { 'Turkmenistan', 160, 0, 1214 },
     { 'Tahiti', 161, 3, 1179 },
     { 'India', 162, 0, 1161 },
     { 'Chad', 163, 0, 1152 },
     { 'Eritrea', 164, 1, 1144 },
     { 'Hong Kong', 165, 15, 1137 },
     { 'Saint Vincent and the Grenadines', 165, 12, 1137 },
     { 'South Sudan', 167, 0, 1134 },
     { 'Bermuda', 168, -2, 1131 },
     { 'Philippines', 169, 14, 1128 },
     { 'Solomon Islands', 169, -27, 1128 },
     { 'Puerto Rico', 171, -3, 1118 },
     { 'Yemen', 172, 1, 1107 },
     { 'Saint Kitts and Nevis', 173, 3, 1104 },
     { 'Papua New Guinea', 173, 2, 1104 },
     { 'Belize', 175, 3, 1086 },
     { 'Grenada', 176, -4, 1073 },
     { 'Andorra', 177, -6, 1066 },
     { 'Singapore', 178, -9, 1057 },
     { 'Afghanistan', 179, -9, 1056 },
     { 'Gibraltar', 180, 1, 1054 },
     { 'Vanuatu', 181, 1, 1046 },
     { 'Mauritius', 182, 3, 1044 },
     { 'São Tomé and Príncipe', 183, -4, 1041 },
     { 'Saint Lucia', 184, -11, 1036 },
     { 'Saint Martin', 185, 8, 1020 },
     { 'Somaliland', 186, 1, 1002 },
     { 'Western Sahara', 187, 3, 996 },
     { 'Dominica', 188, 0, 980 },
     { 'Montserrat', 189, -5, 952 },
     { 'Barbados', 190, 4, 950 },
     { 'Greenland', 191, 1, 946 },
     { 'Nepal', 192, 9, 942 },
     { 'Myanmar', 193, 4, 938 },
     { 'Sint Maarten', 194, 9, 934 },
     { 'Djibouti', 195, 0, 932 },
     { 'Bangladesh', 196, 0, 920 },
     { 'Antigua and Barbuda', 197, -12, 919 },
     { 'Somalia', 198, 0, 915 },
     { 'Aruba', 199, -10, 914 },
     { 'Taiwan', 200, -2, 913 },
     { 'Liechtenstein', 201, -10, 907 },
     { 'Monaco', 202, -2, 903 },
     { 'Maldives', 203, -1, 874 },
     { 'Seychelles', 204, 0, 851 },
     { 'San Marino', 205, 7, 846 },
     { 'Bonaire', 206, -1, 837 },
     { 'Cambodia', 207, -2, 836 },
     { 'Cayman Islands', 208, 1, 829 },
     { 'Pakistan', 209, -2, 822 },
     { 'Bahamas', 210, -2, 794 },
     { 'Chagos Islands', 211, 0, 785 },
     { 'Sint Eustatius', 212, 1, 757 },
     { 'Tuvalu', 213, 1, 756 },
     { 'Sri Lanka', 214, 3, 732 },
     { 'Samoa', 215, 0, 730 },
     { 'Mongolia', 216, -6, 729 },
     { 'Saint Barthélemy', 217, -1, 725 },
     { 'Guam', 218, 1, 712 },
     { 'Wallis and Futuna', 219, -1, 701 },
     { 'Vatican', 220, 0, 692 },
     { 'Laos', 221, 4, 684 },
     { 'Saint Pierre and Miquelon', 222, 1, 677 },
     { 'Saba', 223, 1, 671 },
     { 'Brunei', 224, 5, 663 },
     { 'East Timor', 225, 6, 657 },
     { 'Turks and Caicos Islands', 226, -5, 650 },
     { 'Bhutan', 227, 5, 635 },
     { 'Tibet', 228, 0, 630 },
     { 'British Virgin Islands', 229, -2, 627 },
     { 'Cook Islands', 230, -8, 623 },
     { 'Anguilla', 230, 3, 623 },
     { 'Macao', 232, -7, 596 },
     { 'US Virgin Islands', 233, -3, 587 },
     { 'Falkland Islands', 234, -1, 571 },
     { 'Federated States of Micronesia', 235, 0, 564 },
     { 'Kiribati', 236, 0, 545 },
     { 'Tonga', 237, 1, 521 },
     { 'Niue', 238, -1, 496 },
     { 'Northern Mariana Islands', 239, 0, 432 },
     { 'Palau', 240, 0, 403 },
     { 'Eastern Samoa', 241, 0, 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