Module:SportsRankings/data/World Football Elo Ratings

Documentation for this module may be created at Module:SportsRankings/data/World Football Elo Ratings/doc

local data = {}

-- information about other templates used by module
data.templates = { flagged_team_link = "fb" } -- template for flag icon and team link

-- 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 = 14,
	month = 'July',
	year = 2021
}

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

data.rankings = {
     { 'Belgium', 1, 0, 2126 },
     { 'Brazil', 2, 0, 2114 },
     { 'Italy', 3, 5, 2092 },
     { 'France', 4, -1, 2074 },
     { 'Argentina', 5, 4, 2063 },
     { 'England', 6, 6, 2036 },
     { 'Spain', 7, -3, 2024 },
     { 'Portugal', 8, -2, 2007 },
     { 'Denmark', 9, 7, 1965 },
     { 'Uruguay', 10, -1, 1935 },
     { 'Colombia', 11, -4, 1924 },
     { 'Netherlands', 12, -7, 1922 },
     { 'Germany', 13, -2, 1916 },
     { 'Switzerland', 14, 1, 1915 },
     { 'Mexico', 15, -1, 1881 },
     { 'Sweden', 16, 2, 1864 },
     { 'Czechia', 17, 17, 1837 },
     { 'Croatia', 18, -5, 1825 },
     { 'Wales', 19, 6, 1822 },
     { 'Paraguay', 20, 13, 1810 },
     { 'Peru', 21, -4, 1809 },
     { 'United States', 22, 15, 1805 },
     { 'Iran', 23, 9, 1804 },
     { 'Ukraine', 24, -5, 1795 },
     { 'Chile', 25, -4, 1794 },
     { 'Serbia', 26, -3, 1785 },
     { 'Ecuador', 27, 11, 1783 },
     { 'Austria', 28, 3, 1778 },
     { 'Japan', 29, 1, 1771 },
     { 'Algeria', 30, -1, 1765 },
     { 'South Korea', 31, -4, 1763 },
     { 'Poland', 32, -8, 1762 },
     { 'Hungary', 33, 22, 1755 },
     { 'Venezuela', 34, -14, 1751 },
     { 'Norway', 35, 4, 1738 },
     { 'Australia', 36, 4, 1737 },
     { 'Turkey', 37, -11, 1731 },
     { 'Russia', 38, -16, 1730 },
     { 'Senegal', 39, -11, 1709 },
     { 'Finland', 40, 9, 1706 },
     { 'Canada', 41, 17, 1692 },
     { 'Morocco', 42, 5, 1683 },
     { 'Slovakia', 43, -8, 1670 },
     { 'Nigeria', 44, -3, 1664 },
     { 'Greece', 45, 12, 1661 },
     { 'Qatar', 46, 0, 1653 },
     { 'Ivory Coast', 47, 9, 1645 },
     { 'Tunisia', 48, 5, 1640 },
     { 'Costa Rica', 49, -1, 1635 },
     { 'Scotland', 50, 0, 1629 },
     { 'Romania', 50, -8, 1629 },
     { 'Bosnia and Herzegovina', 52, -8, 1628 },
     { 'Ireland', 53, -17, 1622 },
     { 'Iraq', 54, -1, 1621 },
     { 'Slovenia', 55, 5, 1617 },
     { 'Honduras', 56, -4, 1612 },
     { 'Iceland', 56, -13, 1612 },
     { 'Israel', 58, 13, 1607 },
     { 'Saudi Arabia', 59, 9, 1606 },
     { 'Egypt', 60, 1, 1602 },
     { 'Ghana', 61, -10, 1600 },
     { 'Jamaica', 62, -1, 1595 },
     { 'Armenia', 63, 30, 1584 },
     { 'Bolivia', 64, -5, 1580 },
     { 'Northern Ireland', 65, -20, 1567 },
     { 'Cameroon', 65, -2, 1567 },
     { 'North Macedonia', 67, 3, 1564 },
     { 'Bahrain', 68, 5, 1563 },
     { 'Panama', 69, 11, 1558 },
     { 'El Salvador', 70, 14, 1557 },
     { 'Albania', 71, 4, 1556 },
     { 'Burkina Faso', 72, 4, 1547 },
     { 'Uzbekistan', 73, -9, 1546 },
     { 'Mali', 74, -2, 1545 },
     { 'Haiti', 75, -8, 1533 },
     { 'Georgia', 76, -7, 1527 },
     { 'Montenegro', 77, 0, 1518 },
     { 'China', 78, 12, 1504 },
     { 'Bulgaria', 79, -13, 1500 },
     { 'Oman', 79, 3, 1500 },
     { 'South Africa', 81, -7, 1495 },
     { 'Belarus', 82, -3, 1491 },
     { 'United Arab Emirates', 83, 11, 1489 },
     { 'New Zealand', 84, -1, 1486 },
     { 'Kosovo', 85, -20, 1482 },
     { 'Democratic Republic of Congo', 86, -5, 1480 },
     { 'Jordan', 87, 0, 1468 },
     { 'Northern Cyprus', 88, 4, 1456 },
     { 'Guatemala', 89, -4, 1455 },
     { 'Uganda', 90, -12, 1453 },
     { 'Syria', 91, -6, 1448 },
     { 'Zambia', 92, 7, 1446 },
     { 'Palestine', 92, 15, 1446 },
     { 'Cape Verde', 94, 11, 1444 },
     { 'Guinea', 95, 1, 1442 },
     { 'Benin', 96, -7, 1436 },
     { 'Gabon', 97, -7, 1434 },
     { 'Curaçao', 98, 4, 1427 },
     { 'Kurdistan', 99, 1, 1424 },
     { 'Vietnam', 100, 4, 1418 },
     { 'Martinique', 101, -6, 1412 },
     { 'Estonia', 102, -6, 1405 },
     { 'Sudan', 103, 35, 1404 },
     { 'Mauritania', 104, 6, 1400 },
     { 'Kenya', 105, 6, 1391 },
     { 'Luxembourg', 106, 16, 1386 },
     { 'North Korea', 107, 6, 1375 },
     { 'Namibia', 107, 18, 1375 },
     { 'Azerbaijan', 107, 5, 1375 },
     { 'Gambia', 110, 13, 1374 },
     { 'Kuwait', 111, -10, 1372 },
     { 'Madagascar', 111, -13, 1372 },
     { 'Angola', 113, 7, 1370 },
     { 'Réunion', 113, 1, 1370 },
     { 'Congo', 115, -6, 1367 },
     { 'Cyprus', 116, -9, 1365 },
     { 'Trinidad and Tobago', 117, 1, 1362 },
     { 'Lebanon', 118, -12, 1361 },
     { 'Zimbabwe', 119, -16, 1358 },
     { 'Liberia', 120, 6, 1357 },
     { 'Guinea-Bissau', 121, 15, 1355 },
     { 'Equatorial Guinea', 121, 11, 1355 },
     { 'Sierra Leone', 123, 1, 1350 },
     { 'Kazakhstan', 124, -9, 1347 },
     { 'Mozambique', 125, -5, 1338 },
     { 'Libya', 126, -38, 1330 },
     { 'Ethiopia', 127, 10, 1329 },
     { 'Zanzibar', 128, -1, 1328 },
     { 'Rwanda', 129, 15, 1327 },
     { 'Suriname', 130, 0, 1323 },
     { 'Lithuania', 131, -3, 1319 },
     { 'Tanzania', 132, -1, 1311 },
     { 'Malawi', 133, -14, 1308 },
     { 'Botswana', 134, 0, 1300 },
     { 'Togo', 135, -6, 1291 },
     { 'Turkmenistan', 136, 6, 1289 },
     { 'Thailand', 137, -21, 1288 },
     { 'Central African Republic', 138, -21, 1285 },
     { 'Latvia', 139, 7, 1281 },
     { 'Cuba', 140, 1, 1270 },
     { 'New Caledonia', 140, 0, 1270 },
     { 'French Guiana', 140, 3, 1270 },
     { 'Tajikistan', 143, 5, 1265 },
     { 'Faroe Islands', 144, 6, 1263 },
     { 'Kyrgyzstan', 145, -6, 1254 },
     { 'Burundi', 146, 15, 1251 },
     { 'Bermuda', 147, -13, 1248 },
     { 'Guadeloupe', 148, 7, 1239 },
     { 'Niger', 149, -4, 1233 },
     { 'Nicaragua', 150, 9, 1232 },
     { 'Fiji', 151, -2, 1231 },
     { 'Mayotte', 152, -1, 1225 },
     { 'Eswatini', 153, 25, 1222 },
     { 'Moldova', 154, -7, 1220 },
     { 'Malta', 155, 13, 1219 },
     { 'Comoros', 156, 7, 1215 },
     { 'Lesotho', 157, -24, 1203 },
     { 'Malaysia', 158, -1, 1202 },
     { 'Saint Kitts and Nevis', 159, -1, 1198 },
     { 'Tahiti', 160, -1, 1196 },
     { 'India', 161, 0, 1194 },
     { 'Chad', 162, -8, 1183 },
     { 'Vanuatu', 163, 3, 1174 },
     { 'Dominican Republic', 164, 0, 1171 },
     { 'Yemen', 165, -9, 1169 },
     { 'Antigua and Barbuda', 166, 5, 1165 },
     { 'Solomon Islands', 167, 2, 1162 },
     { 'Hong Kong', 168, -1, 1160 },
     { 'Papua New Guinea', 169, 3, 1152 },
     { 'Grenada', 170, -17, 1148 },
     { 'Guyana', 171, -19, 1144 },
     { 'Eritrea', 172, 2, 1143 },
     { 'Saint Vincent and the Grenadines', 173, -8, 1141 },
     { 'Philippines', 174, -2, 1138 },
     { 'Singapore', 175, -5, 1134 },
     { 'Afghanistan', 176, 1, 1132 },
     { 'Belize', 177, -1, 1127 },
     { 'Indonesia', 178, 1, 1100 },
     { 'Liechtenstein', 179, -4, 1093 },
     { 'Gibraltar', 180, 3, 1089 },
     { 'South Sudan', 181, 3, 1082 },
     { 'Barbados', 182, -1, 1079 },
     { 'São Tomé and Príncipe', 183, -1, 1068 },
     { 'Puerto Rico', 184, 7, 1059 },
     { 'Saint Lucia', 185, 1, 1036 },
     { 'Andorra', 186, -6, 1026 },
     { 'Dominica', 187, 0, 1023 },
     { 'Mauritius', 188, 0, 1009 },
     { 'Myanmar', 189, -4, 1007 },
     { 'Somaliland', 190, -1, 1002 },
     { 'Western Sahara', 191, -1, 996 },
     { 'Greenland', 192, 0, 963 },
     { 'Bonaire', 193, 0, 960 },
     { 'Maldives', 194, 0, 951 },
     { 'Nepal', 195, 2, 935 },
     { 'Montserrat', 196, 10, 933 },
     { 'Aruba', 197, 6, 912 },
     { 'Somalia', 197, -1, 912 },
     { 'Seychelles', 199, 0, 909 },
     { 'Taiwan', 200, -5, 905 },
     { 'Djibouti', 200, 2, 905 },
     { 'Monaco', 202, -2, 903 },
     { 'Cayman Islands', 203, -5, 893 },
     { 'Pakistan', 204, 0, 873 },
     { 'Bahamas', 205, -4, 867 },
     { 'Saint Martin', 206, -1, 855 },
     { 'Bangladesh', 207, 1, 843 },
     { 'Cambodia', 208, -1, 835 },
     { 'San Marino', 209, 0, 827 },
     { 'Turks and Caicos Islands', 210, 0, 777 },
     { 'Chagos Islands', 211, 0, 776 },
     { 'Sint Maarten', 212, 0, 767 },
     { 'Mongolia', 213, 2, 766 },
     { 'Tuvalu', 214, -1, 739 },
     { 'Guam', 215, -1, 726 },
     { 'Saint Barthélemy', 216, 0, 715 },
     { 'Wallis and Futuna', 217, 1, 701 },
     { 'Macao', 218, 1, 696 },
     { 'Vatican', 219, 1, 692 },
     { 'Laos', 220, 1, 689 },
     { 'Cook Islands', 221, 1, 687 },
     { 'Samoa', 222, 1, 680 },
     { 'Saint Pierre and Miquelon', 223, 1, 677 },
     { 'US Virgin Islands', 224, -7, 659 },
     { 'Sri Lanka', 225, 0, 657 },
     { 'East Timor', 226, 0, 638 },
     { 'Tibet', 227, 0, 630 },
     { 'Brunei', 228, 0, 619 },
     { 'British Virgin Islands', 229, 0, 604 },
     { 'Falkland Islands', 230, 0, 580 },
     { 'Federated States of Micronesia', 231, 0, 565 },
     { 'Bhutan', 232, 0, 563 },
     { 'Anguilla', 233, 0, 560 },
     { 'Kiribati', 234, 0, 545 },
     { 'Tonga', 235, 0, 529 },
     { 'Niue', 236, 0, 496 },
     { 'Eastern Samoa', 237, 0, 473 },
     { 'Northern Mariana Islands', 238, 0, 409 },
     { 'Palau', 239, 0, 403 },
}
-- 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' },
        { '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' },
        { '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