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 = 13,
	month = 'March',
	year = 2023
}

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

data.rankings = {
     { 'Argentina', 1, 1, 2143 },
     { 'Brazil', 2, -1, 2134 },
     { 'France', 3, -1, 2082 },
     { 'Netherlands', 4, 8, 2073 },
     { 'Portugal', 5, 3, 1999 },
     { 'Spain', 6, -1, 1996 },
     { 'Italy', 7, 0, 1974 },
     { 'England', 8, -2, 1967 },
     { 'Germany', 9, 0, 1956 },
     { 'Croatia', 10, 6, 1951 },
     { 'Belgium', 11, -7, 1948 },
     { 'Colombia', 12, 2, 1919 },
     { 'Uruguay', 13, 0, 1905 },
     { 'Denmark', 14, -4, 1883 },
     { 'Switzerland', 15, -4, 1879 },
     { 'Morocco', 16, 16, 1867 },
     { 'Peru', 17, 0, 1851 },
     { 'Japan', 18, 11, 1850 },
     { 'Serbia', 19, -1, 1847 },
     { 'Ecuador', 20, -5, 1842 },
     { 'Hungary', 21, 18, 1825 },
     { 'Ukraine', 22, 4, 1822 },
     { 'Mexico', 23, -4, 1813 },
     { 'United States', 24, -2, 1807 },
     { 'Poland', 25, 5, 1802 },
     { 'South Korea', 26, 1, 1788 },
     { 'Czechia', 27, -3, 1779 },
     { 'Iran', 27, -8, 1779 },
     { 'Sweden', 29, -4, 1774 },
     { 'Australia', 30, 6, 1772 },
     { 'Norway', 31, 2, 1754 },
     { 'Russia', 32, -1, 1753 },
     { 'Scotland', 33, 4, 1752 },
     { 'Austria', 33, 1, 1752 },
     { 'Tunisia', 35, 28, 1747 },
     { 'Senegal', 35, -1, 1747 },
     { 'Costa Rica', 37, 11, 1737 },
     { 'Paraguay', 38, 3, 1726 },
     { 'Wales', 39, -16, 1717 },
     { 'Turkey', 40, -2, 1712 },
     { 'Canada', 40, -19, 1712 },
     { 'Algeria', 42, 0, 1707 },
     { 'Chile', 43, -15, 1697 },
     { 'Greece', 44, 3, 1690 },
     { 'Venezuela', 45, -1, 1684 },
     { 'Cameroon', 46, 13, 1679 },
     { 'Ireland', 47, -1, 1676 },
     { 'Ivory Coast', 48, -3, 1670 },
     { 'Slovenia', 49, 11, 1667 },
     { 'Egypt', 50, -7, 1662 },
     { 'Finland', 51, -11, 1661 },
     { 'Georgia', 52, 15, 1652 },
     { 'Panama', 53, 4, 1641 },
     { 'Nigeria', 54, -2, 1631 },
     { 'Iraq', 55, 13, 1625 },
     { 'Mali', 56, -2, 1620 },
     { 'Israel', 56, -2, 1620 },
     { 'Bolivia', 58, -5, 1618 },
     { 'Bosnia and Herzegovina', 59, 3, 1616 },
     { 'Romania', 60, -10, 1610 },
     { 'Burkina Faso', 61, 4, 1604 },
     { 'Oman', 62, 13, 1597 },
     { 'Ghana', 63, 9, 1596 },
     { 'Saudi Arabia', 64, -6, 1594 },
     { 'Jordan', 65, 4, 1590 },
     { 'Slovakia', 66, -17, 1580 },
     { 'Uzbekistan', 67, 7, 1573 },
     { 'Qatar', 68, -17, 1546 },
     { 'South Africa', 69, -3, 1543 },
     { 'Albania', 69, -5, 1543 },
     { 'Montenegro', 71, 8, 1540 },
     { 'Northern Ireland', 71, -10, 1540 },
     { 'Jamaica', 73, -3, 1539 },
     { 'Haiti', 74, -2, 1536 },
     { 'Iceland', 74, -3, 1536 },
     { 'North Macedonia', 76, -22, 1534 },
     { 'New Zealand', 77, 3, 1527 },
     { 'Bulgaria', 78, 0, 1522 },
     { 'Bahrain', 79, -3, 1511 },
     { 'Kosovo', 80, 5, 1507 },
     { 'Gabon', 81, 9, 1490 },
     { 'Cape Verde', 82, 4, 1485 },
     { 'El Salvador', 83, -6, 1484 },
     { 'Honduras', 84, 11, 1472 },
     { 'China', 85, 2, 1468 },
     { 'Zambia', 86, 11, 1466 },
     { 'Democratic Republic of Congo', 87, -6, 1458 },
     { 'Northern Cyprus', 88, 1, 1457 },
     { 'Guatemala', 89, -1, 1455 },
     { 'Armenia', 90, -7, 1452 },
     { 'United Arab Emirates', 91, -9, 1450 },
     { 'Estonia', 92, 4, 1449 },
     { 'Luxembourg', 93, 6, 1443 },
     { 'Equatorial Guinea', 94, -10, 1434 },
     { 'Palestine', 95, 7, 1430 },
     { 'Kurdistan', 96, 2, 1425 },
     { 'Gambia', 97, -4, 1424 },
     { 'Azerbaijan', 98, 29, 1423 },
     { 'Belarus', 99, -8, 1415 },
     { 'Syria', 100, 1, 1412 },
     { 'Angola', 101, 12, 1407 },
     { 'Martinique', 102, 1, 1400 },
     { 'Thailand', 102, 3, 1400 },
     { 'Uganda', 104, -13, 1394 },
     { 'Benin', 105, -12, 1392 },
     { 'Mauritania', 105, 28, 1392 },
     { 'Kazakhstan', 107, 11, 1391 },
     { 'Vietnam', 108, 1, 1390 },
     { 'Guinea', 109, -3, 1386 },
     { 'Guinea-Bissau', 110, 2, 1383 },
     { 'North Korea', 111, -4, 1375 },
     { 'Kenya', 111, -4, 1375 },
     { 'Namibia', 113, 3, 1369 },
     { 'Réunion', 113, -4, 1369 },
     { 'Curaçao', 115, -15, 1364 },
     { 'Botswana', 115, 20, 1364 },
     { 'Trinidad and Tobago', 117, -6, 1358 },
     { 'Cyprus', 118, 18, 1355 },
     { 'Libya', 119, 0, 1352 },
     { 'Latvia', 119, 4, 1352 },
     { 'Ethiopia', 119, 2, 1352 },
     { 'Kuwait', 122, -8, 1342 },
     { 'Sierra Leone', 123, -9, 1338 },
     { 'French Guiana', 124, 17, 1336 },
     { 'Zanzibar', 125, -3, 1328 },
     { 'Cuba', 126, 12, 1327 },
     { 'Tajikistan', 127, 18, 1325 },
     { 'Mozambique', 128, 4, 1322 },
     { 'Suriname', 128, -8, 1322 },
     { 'Togo', 130, -5, 1320 },
     { 'Zimbabwe', 131, -3, 1318 },
     { 'Lebanon', 132, -28, 1316 },
     { 'Tanzania', 133, -3, 1315 },
     { 'Liberia', 134, -17, 1311 },
     { 'Faroe Islands', 135, 15, 1308 },
     { 'Sudan', 136, -2, 1305 },
     { 'Madagascar', 137, -14, 1303 },
     { 'Congo', 138, -10, 1302 },
     { 'Eswatini', 139, 7, 1299 },
     { 'Malawi', 140, -9, 1291 },
     { 'Rwanda', 141, 1, 1280 },
     { 'Indonesia', 142, 13, 1276 },
     { 'Central African Republic', 143, -3, 1265 },
     { 'Kyrgyzstan', 144, -6, 1264 },
     { 'Malta', 145, 8, 1260 },
     { 'Nicaragua', 146, 6, 1258 },
     { 'Burundi', 147, 0, 1257 },
     { 'Turkmenistan', 148, -11, 1249 },
     { 'Fiji', 148, 3, 1249 },
     { 'Lithuania', 150, -24, 1248 },
     { 'Comoros', 151, -7, 1247 },
     { 'Niger', 152, -5, 1244 },
     { 'Malaysia', 153, 17, 1239 },
     { 'Moldova', 154, 7, 1233 },
     { 'Lesotho', 155, 4, 1228 },
     { 'Mayotte', 156, -2, 1225 },
     { 'Papua New Guinea', 157, 12, 1223 },
     { 'India', 158, -1, 1217 },
     { 'Guadeloupe', 159, -3, 1215 },
     { 'Solomon Islands', 160, 6, 1208 },
     { 'Bermuda', 161, -12, 1205 },
     { 'Chad', 162, 0, 1189 },
     { 'Guyana', 163, 11, 1184 },
     { 'Saint Kitts and Nevis', 164, -6, 1177 },
     { 'Dominican Republic', 165, -2, 1176 },
     { 'New Caledonia', 166, -24, 1172 },
     { 'Antigua and Barbuda', 167, -2, 1164 },
     { 'Tahiti', 168, -8, 1158 },
     { 'Eritrea', 169, 1, 1144 },
     { 'Hong Kong', 170, -3, 1139 },
     { 'Singapore', 171, 7, 1128 },
     { 'Vanuatu', 172, -4, 1126 },
     { 'Grenada', 173, 2, 1113 },
     { 'Andorra', 174, 10, 1108 },
     { 'South Sudan', 175, 5, 1104 },
     { 'Afghanistan', 176, -4, 1095 },
     { 'Yemen', 177, -13, 1092 },
     { 'Puerto Rico', 178, 5, 1088 },
     { 'Belize', 179, -2, 1077 },
     { 'São Tomé and Príncipe', 180, 2, 1071 },
     { 'Gibraltar', 181, 4, 1069 },
     { 'Saint Vincent and the Grenadines', 182, -9, 1064 },
     { 'Saint Lucia', 183, 3, 1055 },
     { 'Philippines', 184, -8, 1047 },
     { 'Barbados', 185, -4, 1024 },
     { 'Somaliland', 186, 2, 1002 },
     { 'Western Sahara', 187, 2, 996 },
     { 'Dominica', 188, -1, 991 },
     { 'Liechtenstein', 189, -10, 978 },
     { 'Bonaire', 190, 3, 974 },
     { 'Montserrat', 191, 4, 965 },
     { 'Greenland', 192, -1, 963 },
     { 'Aruba', 193, 4, 959 },
     { 'Mauritius', 194, -4, 951 },
     { 'Nepal', 195, -1, 933 },
     { 'Maldives', 196, 3, 927 },
     { 'Monaco', 197, 1, 903 },
     { 'Taiwan', 198, 5, 900 },
     { 'Somalia', 199, -3, 899 },
     { 'Myanmar', 200, -8, 894 },
     { 'Seychelles', 201, -1, 884 },
     { 'Cambodia', 202, 4, 877 },
     { 'Pakistan', 203, 1, 870 },
     { 'Djibouti', 204, -2, 864 },
     { 'Bahamas', 205, 0, 852 },
     { 'Bangladesh', 206, 1, 844 },
     { 'Saint Martin', 207, 1, 841 },
     { 'Cayman Islands', 208, -7, 840 },
     { 'Mongolia', 209, 4, 803 },
     { 'San Marino', 210, -1, 784 },
     { 'Chagos Islands', 211, 0, 776 },
     { 'Sint Maarten', 212, 0, 763 },
     { 'Turks and Caicos Islands', 213, -3, 739 },
     { 'Tuvalu', 214, 0, 738 },
     { 'Saint Barthélemy', 215, 0, 727 },
     { 'Guam', 216, 0, 705 },
     { 'Wallis and Futuna', 217, 0, 701 },
     { 'Macao', 218, 0, 698 },
     { 'Vatican', 219, 0, 692 },
     { 'Cook Islands', 220, 0, 683 },
     { 'Samoa', 221, 1, 678 },
     { 'Saint Pierre and Miquelon', 222, 1, 677 },
     { 'Sri Lanka', 223, -2, 675 },
     { 'US Virgin Islands', 224, 1, 662 },
     { 'Laos', 225, -1, 659 },
     { 'Tibet', 226, 0, 630 },
     { 'Anguilla', 227, 3, 624 },
     { 'East Timor', 228, -1, 623 },
     { 'British Virgin Islands', 229, 0, 616 },
     { 'Brunei', 230, -3, 601 },
     { 'Falkland Islands', 231, 0, 580 },
     { 'Federated States of Micronesia', 232, 0, 564 },
     { 'Bhutan', 233, 0, 563 },
     { 'Kiribati', 234, 0, 545 },
     { 'Tonga', 235, 0, 528 },
     { 'Niue', 236, 0, 496 },
     { 'Eastern Samoa', 237, 0, 472 },
     { 'Northern Mariana Islands', 238, 0, 404 },
     { '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