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 = 3,
	month = 'March',
	year =2019
}

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

data.rankings = {
     { 'Brazil', 1, 0, 2137 },
     { 'France', 2, 3, 2093 },
     { 'Belgium', 3, 5, 2036 },
     { 'Spain', 4, -1, 2012 },
     { 'Netherlands', 5, 6, 1985 },
     { 'Colombia', 6, 3, 1961 },
     { 'England', 7, 0, 1960 },
     { 'Portugal', 7, -3, 1960 },
     { 'Germany', 9, -7, 1938 },
     { 'Croatia', 10, 6, 1925 },
     { 'Uruguay', 11, 2, 1923 },
     { 'Switzerland', 12, 1, 1922 },
     { 'Argentina', 13, -7, 1914 },
     { 'Denmark', 14, 4, 1898 },
     { 'Italy', 15, -5, 1889 },
     { 'Peru', 16, -4, 1854 },
     { 'Chile', 17, -2, 1851 },
     { 'Sweden', 18, 2, 1831 },
     { 'Serbia', 19, 4, 1807 },
     { 'Bosnia and Herzegovina', 20, 16, 1795 },
     { 'Iran', 21, 1, 1788 },
     { 'Mexico', 22, -5, 1787 },
     { 'Japan', 23, 19, 1781 },
     { 'Ukraine', 24, 9, 1772 },
     { 'Ecuador', 24, 5, 1772 },
     { 'Qatar', 24, 68, 1772 },
     { 'South Korea', 27, -2, 1767 },
     { 'Austria', 28, 12, 1765 },
     { 'Wales', 29, -5, 1760 },
     { 'United States', 30, -1, 1759 },
     { 'Senegal', 31, -4, 1758 },
     { 'Venezuela', 32, 0, 1756 },
     { 'Romania', 33, 13, 1753 },
     { 'Russia', 33, 10, 1753 },
     { 'Poland', 35, -17, 1752 },
     { 'Slovakia', 36, -8, 1748 },
     { 'Czechia', 37, 1, 1729 },
     { 'Morocco', 37, 8, 1729 },
     { 'Paraguay', 39, -13, 1726 },
     { 'Scotland', 40, -4, 1721 },
     { 'Costa Rica', 41, -10, 1715 },
     { 'Nigeria', 42, 2, 1712 },
     { 'Ireland', 43, -9, 1705 },
     { 'Turkey', 44, -5, 1691 },
     { 'Norway', 45, 22, 1678 },
     { 'Australia', 45, -10, 1678 },
     { 'Iceland', 47, -26, 1667 },
     { 'Tunisia', 48, 5, 1649 },
     { 'Bolivia', 49, -8, 1646 },
     { 'Bulgaria', 50, 4, 1629 },
     { 'Ghana', 51, 4, 1626 },
     { 'Northern Ireland', 52, -5, 1623 },
     { 'Finland', 53, 12, 1622 },
     { 'Egypt', 54, -4, 1619 },
     { 'Greece', 55, -6, 1613 },
     { 'Uzbekistan', 56, 3, 1612 },
     { 'Hungary', 57, 0, 1611 },
     { 'Ivory Coast', 58, 6, 1605 },
     { 'Cameroon', 59, -8, 1599 },
     { 'Honduras', 60, -2, 1591 },
     { 'Montenegro', 61, -5, 1589 },
     { 'Iraq', 62, 4, 1588 },
     { 'Saudi Arabia', 63, 6, 1575 },
     { 'Jamaica', 64, 4, 1570 },
     { 'Panama', 65, -17, 1562 },
     { 'Slovenia', 66, -14, 1561 },
     { 'Israel', 66, 8, 1561 },
     { 'Canada', 68, 8, 1548 },
     { 'DR Congo', 69, -7, 1547 },
     { 'Georgia', 69, 16, 1547 },
     { 'South Africa', 71, 1, 1546 },
     { 'Algeria', 72, 1, 1544 },
     { 'Belarus', 73, 10, 1538 },
     { 'Mali', 74, 5, 1530 },
     { 'Burkina Faso', 75, -13, 1526 },
     { 'Syria', 76, -17, 1521 },
     { 'Macedonia', 77, 1, 1519 },
     { 'China', 77, -7, 1519 },
     { 'Albania', 79, -20, 1515 },
     { 'Haiti', 80, 4, 1514 },
     { 'Jordan', 81, 9, 1509 },
     { 'Oman', 82, -7, 1505 },
     { 'New Zealand', 83, -7, 1503 },
     { 'Kosovo', 84, 33, 1496 },
     { 'Guatemala', 85, -4, 1495 },
     { 'Estonia', 86, -7, 1488 },
     { 'Libya', 87, 0, 1476 },
     { 'United Arab Emirates', 87, -16, 1476 },
     { 'Uganda', 87, 4, 1476 },
     { 'Zimbabwe', 90, -2, 1474 },
     { 'Guinea', 91, -3, 1469 },
     { 'Northern Cyprus', 92, 3, 1456 },
     { 'El Salvador', 93, -1, 1454 },
     { 'Martinique', 94, 5, 1452 },
     { 'Armenia', 95, -9, 1449 },
     { 'Lebanon', 96, -4, 1447 },
     { 'Kuwait', 97, 0, 1443 },
     { 'Trinidad and Tobago', 98, 3, 1434 },
     { 'Kurdistan', 99, 1, 1424 },
     { 'Bahrain', 100, 7, 1417 },
     { 'Zambia', 101, -19, 1416 },
     { 'Cyprus', 102, 2, 1415 },
     { 'Gabon', 103, -1, 1407 },
     { 'Cape Verde', 104, -6, 1406 },
     { 'Azerbaijan', 105, 4, 1403 },
     { 'Congo', 106, 5, 1392 },
     { 'Benin', 107, -5, 1390 },
     { 'Kenya', 108, 2, 1388 },
     { 'Palestine', 109, -1, 1386 },
     { 'Réunion', 110, 3, 1381 },
     { 'Namibia', 111, 4, 1378 },
     { 'Zanzibar', 112, 5, 1371 },
     { 'Burundi', 113, 12, 1364 },
     { 'Togo', 114, -3, 1361 },
     { 'Sierra Leone', 115, -1, 1358 },
     { 'Mauritania', 116, 15, 1353 },
     { 'Vietnam', 117, 23, 1352 },
     { 'Luxembourg', 118, 6, 1347 },
     { 'Thailand', 119, -14, 1346 },
     { 'Liberia', 120, 8, 1343 },
     { 'Cuba', 121, 6, 1341 },
     { 'Madagascar', 121, -2, 1341 },
     { 'Kazakhstan', 123, -2, 1340 },
     { 'Lithuania', 124, -19, 1337 },
     { 'Curaçao', 125, 17, 1334 },
     { 'Central African Republic', 126, 6, 1333 },
     { 'North Korea', 127, -31, 1332 },
     { 'Tanzania', 128, 2, 1327 },
     { 'Angola', 129, 24, 1324 },
     { 'French Guiana', 130, -14, 1322 },
     { 'Moldova', 131, -8, 1315 },
     { 'Guinea-Bissau', 131, 4, 1315 },
     { 'Botswana', 133, 15, 1314 },
     { 'Niger', 134, 0, 1312 },
     { 'Gambia', 135, 3, 1306 },
     { 'Lesotho', 136, 5, 1300 },
     { 'Mozambique', 137, -11, 1299 },
     { 'Latvia', 138, -18, 1298 },
     { 'Equatorial Guinea', 139, -17, 1295 },
     { 'Kyrgyzstan', 140, 21, 1291 },
     { 'Nicaragua', 141, 2, 1289 },
     { 'Sudan', 142, 9, 1279 },
     { 'Dominican Republic', 143, 7, 1272 },
     { 'Rwanda', 144, -8, 1267 },
     { 'Ethiopia', 145, -7, 1263 },
     { 'Suriname', 146, 6, 1258 },
     { 'Chad', 147, 0, 1255 },
     { 'Faroe Islands', 147, -10, 1255 },
     { 'Malawi', 149, -20, 1253 },
     { 'India', 150, 19, 1252 },
     { 'Saint Kitts and Nevis', 151, -6, 1247 },
     { 'Tahiti', 152, 4, 1224 },
     { 'New Caledonia', 153, 7, 1223 },
     { 'Turkmenistan', 154, -6, 1221 },
     { 'Mayotte', 155, 2, 1219 },
     { 'Hong Kong', 156, 10, 1211 },
     { 'Fiji', 157, -12, 1210 },
     { 'Tajikistan', 158, 1, 1209 },
     { 'Vanuatu', 158, -3, 1209 },
     { 'Solomon Islands', 160, 3, 1207 },
     { 'Swatini', 161, -28, 1203 },
     { 'Indonesia', 162, -8, 1199 },
     { 'Guadeloupe', 163, -20, 1198 },
     { 'Guyana', 164, 1, 1185 },
     { 'Bermuda', 165, -1, 1179 },
     { 'Malta', 165, -7, 1179 },
     { 'Antigua and Barbuda', 167, -5, 1172 },
     { 'Yemen', 168, -2, 1155 },
     { 'Belize', 169, 1, 1154 },
     { 'Afghanistan', 170, 2, 1148 },
     { 'Liechtenstein', 171, -3, 1138 },
     { 'Philippines', 172, -2, 1133 },
     { 'Malaysia', 173, 10, 1127 },
     { 'Barbados', 174, -1, 1114 },
     { 'Saint Lucia', 175, 1, 1111 },
     { 'Saint Vincent and the Grenadines', 175, 0, 1111 },
     { 'Gibraltar', 177, 3, 1103 },
     { 'Papua New Guinea', 178, 0, 1092 },
     { 'Comoros', 179, 7, 1088 },
     { 'Andorra', 180, 8, 1081 },
     { 'São Tomé and Príncipe', 181, -2, 1080 },
     { 'Singapore', 182, 2, 1078 },
     { 'Eritrea', 183, -2, 1077 },
     { 'Mauritius', 184, -2, 1072 },
     { 'Grenada', 184, -10, 1072 },
     { 'Dominica', 186, 3, 1061 },
     { 'Myanmar', 187, -10, 1057 },
     { 'South Sudan', 188, -4, 1022 },
     { 'Puerto Rico', 189, -2, 1007 },
     { 'Somaliland', 190, 0, 1002 },
     { 'Western Sahara', 191, 0, 996 },
     { 'Maldives', 192, 5, 978 },
     { 'Bonaire', 193, -1, 976 },
     { 'Taiwan', 194, -1, 973 },
     { 'Seychelles', 195, 2, 968 },
     { 'Greenland', 196, -1, 946 },
     { 'Cayman Islands', 197, -3, 945 },
     { 'Aruba', 198, 1, 936 },
     { 'Pakistan', 199, -3, 932 },
     { 'Monaco', 200, 1, 903 },
     { 'Nepal', 201, 1, 876 },
     { 'Bahamas', 202, -2, 857 },
     { 'Somalia', 203, 3, 846 },
     { 'San Marino', 204, 1, 836 },
     { 'Saint Martin', 205, -1, 824 },
     { 'Sint Maarten', 206, -3, 805 },
     { 'Guam', 207, 0, 794 },
     { 'Cambodia', 208, 0, 792 },
     { 'Bangladesh', 209, 0, 791 },
     { 'Djibouti', 210, 1, 790 },
     { 'Tuvalu', 211, 3, 780 },
     { 'Turks and Caicos Islands', 211, 2, 780 },
     { 'Chagos Islands', 213, -3, 776 },
     { 'Montserrat', 214, 11, 723 },
     { 'US Virgin Islands', 215, 0, 714 },
     { 'Mongolia', 216, 8, 708 },
     { 'Sri Lanka', 217, 3, 706 },
     { 'Saint Barthélemy', 218, -1, 704 },
     { 'Wallis and Futuna', 219, -3, 701 },
     { 'Samoa', 220, -2, 693 },
     { 'Laos', 221, -9, 692 },
     { 'Vatican', 221, -2, 692 },
     { 'Cook Islands', 223, -2, 687 },
     { 'Saint Pierre and Miquelon', 224, -2, 677 },
     { 'Macao', 225, -3, 674 },
     { 'British Virgin Islands', 226, 3, 645 },
     { 'East Timor', 227, -1, 642 },
     { 'Tibet', 228, -1, 630 },
     { 'Brunei', 229, -1, 613 },
     { 'Anguilla', 230, 2, 586 },
     { 'Federated States of Micronesia', 231, 0, 564 },
     { 'Bhutan', 232, -2, 556 },
     { 'Tonga', 233, 0, 547 },
     { 'Kiribati', 234, 0, 545 },
     { 'Niue', 235, 0, 496 },
     { 'Eastern Samoa', 236, 0, 464 },
     { 'Northern Mariana Islands', 237, 0, 409 },
     { 'Palau', 238, 0, 402 },
	
}
-- 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' },
        { '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',  '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' },
        { 'RNC',  'Northern Cyprus' },                   -- missing template country data
        { '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',  'Swatini' },
        { '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