Module:SportsRankings/data/World Football Elo Ratings

From blackwiki
Jump to navigation Jump to search
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 = 16,
	month = 'September',
	year = 2020
}

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

data.rankings = {
     { 'Belgium', 1, 1, 2109 },
     { 'Brazil', 2, -1, 2082 },
     { 'France', 3, 0, 2073 },
     { 'Spain', 4, 0, 2045 },
     { 'Portugal', 5, 2, 2030 },
     { 'Netherlands', 6, -1, 1993 },
     { 'Colombia', 7, -1, 1985 },
     { 'Italy', 8, 3, 1982 },
     { 'England', 9, 1, 1967 },
     { 'Argentina', 9, 2, 1967 },
     { 'Uruguay', 9, -1, 1967 },
     { 'Germany', 12, -3, 1964 },
     { 'Mexico', 13, 2, 1904 },
     { 'Croatia', 14, -1, 1890 },
     { 'Switzerland', 15, -1, 1880 },
     { 'Denmark', 16, 0, 1869 },
     { 'Peru', 17, 0, 1866 },
     { 'Ukraine', 18, 0, 1857 },
     { 'Russia', 19, 4, 1831 },
     { 'Venezuela', 20, 0, 1830 },
     { 'Sweden', 21, -2, 1824 },
     { 'Chile', 22, -1, 1807 },
     { 'Poland', 23, 5, 1806 },
     { 'Wales', 23, 6, 1806 },
     { 'South Korea', 25, -1, 1771 },
     { 'Senegal', 26, 3, 1766 },
     { 'Serbia', 27, -2, 1764 },
     { 'Turkey', 28, -2, 1753 },
     { 'Algeria', 29, 11, 1746 },
     { 'Norway', 30, 12, 1745 },
     { 'Japan', 31, -4, 1744 },
     { 'Czechia', 32, 1, 1742 },
     { 'Iran', 33, -12, 1739 },
     { 'Paraguay', 34, 2, 1738 },
     { 'Austria', 35, -3, 1737 },
     { 'United States', 36, 2, 1727 },
     { 'Ecuador', 37, -1, 1726 },
     { 'Romania', 38, -4, 1723 },
     { 'Australia', 39, 4, 1712 },
     { 'Nigeria', 40, 5, 1711 },
     { 'Ireland', 41, -6, 1695 },
     { 'Slovakia', 42, -11, 1693 },
     { 'Bosnia and Herzegovina', 43, -2, 1678 },
     { 'Iceland', 44, 5, 1671 },
     { 'Qatar', 45, -6, 1670 },
     { 'Scotland', 46, 6, 1662 },
     { 'Morocco', 47, -3, 1661 },
     { 'Finland', 48, -1, 1659 },
     { 'Costa Rica', 49, -3, 1653 },
     { 'Northern Ireland', 50, -2, 1638 },
     { 'Hungary', 51, -1, 1636 },
     { 'Greece', 52, 16, 1634 },
     { 'Ghana', 53, 1, 1633 },
     { 'Honduras', 54, 2, 1630 },
     { 'Iraq', 55, 10, 1622 },
     { 'Tunisia', 55, 1, 1622 },
     { 'Ivory Coast', 57, -7, 1617 },
     { 'Canada', 58, 1, 1600 },
     { 'Bolivia', 59, -1, 1595 },
     { 'Egypt', 60, -5, 1585 },
     { 'Jamaica', 60, -1, 1585 },
     { 'Slovenia', 62, -9, 1584 },
     { 'Cameroon', 63, -1, 1580 },
     { 'Uzbekistan', 64, -3, 1568 },
     { 'Montenegro', 65, 7, 1566 },
     { 'Georgia', 66, 4, 1564 },
     { 'North Macedonia', 67, 8, 1563 },
     { 'Bulgaria', 68, -4, 1559 },
     { 'Haiti', 69, -2, 1558 },
     { 'Saudi Arabia', 70, 17, 1554 },
     { 'Israel', 71, -8, 1552 },
     { 'Mali', 72, -2, 1538 },
     { 'Bahrain', 73, 10, 1534 },
     { 'South Africa', 74, 0, 1533 },
     { 'Albania', 74, -2, 1533 },
     { 'Burkina Faso', 76, -8, 1529 },
     { 'Kosovo', 77, -11, 1524 },
     { 'Uganda', 78, 11, 1521 },
     { 'Panama', 79, -3, 1519 },
     { 'Democratic Republic of Congo', 80, -3, 1505 },
     { 'Belarus', 81, -3, 1503 },
     { 'Oman', 82, -3, 1501 },
     { 'New Zealand', 83, -2, 1486 },
     { 'El Salvador', 84, 4, 1484 },
     { 'Syria', 85, 8, 1483 },
     { 'Guatemala', 85, -2, 1483 },
     { 'Jordan', 87, -7, 1475 },
     { 'Libya', 88, 3, 1467 },
     { 'Benin', 89, 1, 1464 },
     { 'Armenia', 90, -8, 1461 },
     { 'China', 91, -5, 1460 },
     { 'Gabon', 91, 11, 1460 },
     { 'Northern Cyprus', 93, -1, 1456 },
     { 'United Arab Emirates', 94, -11, 1449 },
     { 'Martinique', 95, 0, 1446 },
     { 'Guinea', 96, 1, 1434 },
     { 'Madagascar', 97, 14, 1432 },
     { 'Zambia', 98, -4, 1429 },
     { 'Kurdistan', 99, 0, 1424 },
     { 'Kuwait', 100, 0, 1416 },
     { 'Curaçao', 101, 0, 1414 },
     { 'Zimbabwe', 102, 4, 1412 },
     { 'Vietnam', 103, 12, 1408 },
     { 'Cape Verde', 104, 1, 1407 },
     { 'Lebanon', 105, 2, 1404 },
     { 'Palestine', 106, -9, 1399 },
     { 'Estonia', 107, -11, 1395 },
     { 'Congo', 108, 6, 1393 },
     { 'Mauritania', 109, 15, 1384 },
     { 'Kenya', 110, 0, 1380 },
     { 'North Korea', 111, -4, 1375 },
     { 'Kazakhstan', 111, -4, 1375 },
     { 'Azerbaijan', 111, 1, 1375 },
     { 'Réunion', 114, 3, 1369 },
     { 'Thailand', 115, 3, 1358 },
     { 'Luxembourg', 116, 7, 1352 },
     { 'Central African Republic', 117, 9, 1348 },
     { 'Trinidad and Tobago', 118, -5, 1346 },
     { 'Cyprus', 119, -16, 1344 },
     { 'Mozambique', 120, 18, 1343 },
     { 'Malawi', 120, 0, 1343 },
     { 'Angola', 122, -18, 1342 },
     { 'Gambia', 123, 7, 1335 },
     { 'Sierra Leone', 124, -4, 1334 },
     { 'Namibia', 125, -6, 1331 },
     { 'Liberia', 126, -1, 1329 },
     { 'Zanzibar', 127, -11, 1326 },
     { 'Lithuania', 128, 3, 1321 },
     { 'Togo', 129, -7, 1316 },
     { 'Suriname', 130, -2, 1314 },
     { 'Tanzania', 131, -2, 1301 },
     { 'Equatorial Guinea', 132, -5, 1300 },
     { 'Lesotho', 133, 4, 1299 },
     { 'Bermuda', 134, 1, 1298 },
     { 'Botswana', 135, 4, 1297 },
     { 'Guinea-Bissau', 136, 0, 1295 },
     { 'Ethiopia', 137, 8, 1285 },
     { 'Sudan', 138, 7, 1280 },
     { 'Kyrgyzstan', 139, 3, 1271 },
     { 'New Caledonia', 140, 3, 1270 },
     { 'Cuba', 141, 6, 1269 },
     { 'Turkmenistan', 142, 8, 1265 },
     { 'French Guiana', 143, -11, 1264 },
     { 'Rwanda', 144, -3, 1256 },
     { 'Faroe Islands', 144, 9, 1256 },
     { 'Niger', 146, -13, 1255 },
     { 'Moldova', 147, -7, 1251 },
     { 'Latvia', 148, 0, 1243 },
     { 'Tajikistan', 149, -5, 1231 },
     { 'Fiji', 150, -2, 1230 },
     { 'Mayotte', 151, 0, 1225 },
     { 'Guyana', 152, 10, 1220 },
     { 'Grenada', 153, 15, 1213 },
     { 'Chad', 154, -2, 1212 },
     { 'Guadeloupe', 155, 3, 1210 },
     { 'Yemen', 156, 1, 1207 },
     { 'Malaysia', 157, 14, 1201 },
     { 'Saint Kitts and Nevis', 158, -4, 1198 },
     { 'Tahiti', 159, 1, 1196 },
     { 'Nicaragua', 159, -1, 1196 },
     { 'Burundi', 161, -27, 1190 },
     { 'India', 161, -5, 1190 },
     { 'Comoros', 163, 14, 1189 },
     { 'Dominican Republic', 164, -9, 1183 },
     { 'Saint Vincent and the Grenadines', 165, 4, 1179 },
     { 'Vanuatu', 166, -2, 1174 },
     { 'Hong Kong', 167, -2, 1170 },
     { 'Solomon Islands', 168, -2, 1162 },
     { 'Singapore', 169, 4, 1159 },
     { 'Antigua and Barbuda', 170, -7, 1158 },
     { 'Malta', 171, -10, 1156 },
     { 'Liechtenstein', 172, 3, 1155 },
     { 'Philippines', 173, 3, 1152 },
     { 'Papua New Guinea', 174, -4, 1151 },
     { 'Eritrea', 175, 9, 1143 },
     { 'Belize', 176, 2, 1139 },
     { 'Afghanistan', 177, -4, 1137 },
     { 'Eswatini', 178, -6, 1123 },
     { 'Indonesia', 179, -12, 1117 },
     { 'Barbados', 180, -1, 1101 },
     { 'Andorra', 181, 2, 1099 },
     { 'São Tomé and Príncipe', 182, 3, 1092 },
     { 'Gibraltar', 183, -3, 1090 },
     { 'South Sudan', 184, 2, 1057 },
     { 'Myanmar', 185, 3, 1047 },
     { 'Saint Lucia', 186, -5, 1036 },
     { 'Dominica', 187, 0, 1024 },
     { 'Mauritius', 188, -6, 1008 },
     { 'Somaliland', 189, 0, 1002 },
     { 'Western Sahara', 190, 0, 996 },
     { 'Puerto Rico', 191, 0, 975 },
     { 'Greenland', 192, 1, 963 },
     { 'Bonaire', 193, 1, 960 },
     { 'Maldives', 194, 1, 947 },
     { 'Taiwan', 195, 1, 941 },
     { 'Somalia', 196, 6, 920 },
     { 'Nepal', 197, 1, 918 },
     { 'Cayman Islands', 198, -6, 914 },
     { 'Seychelles', 199, -2, 908 },
     { 'Monaco', 200, 0, 903 },
     { 'Bahamas', 201, 0, 902 },
     { 'Djibouti', 202, 2, 900 },
     { 'Aruba', 203, -4, 892 },
     { 'Pakistan', 204, -1, 873 },
     { 'Saint Martin', 205, 6, 855 },
     { 'Montserrat', 206, 3, 854 },
     { 'Cambodia', 207, -2, 838 },
     { 'Bangladesh', 208, 0, 828 },
     { 'San Marino', 209, -2, 803 },
     { 'Turks and Caicos Islands', 210, 2, 802 },
     { 'Chagos Islands', 211, -1, 776 },
     { 'Sint Maarten', 212, -6, 767 },
     { 'Tuvalu', 213, 2, 739 },
     { 'Guam', 214, 0, 734 },
     { 'Mongolia', 215, 1, 730 },
     { 'Saint Barthélemy', 216, 1, 715 },
     { 'US Virgin Islands', 217, -4, 706 },
     { 'Wallis and Futuna', 218, 0, 701 },
     { 'Macao', 219, 0, 696 },
     { 'Vatican', 220, 0, 692 },
     { 'Laos', 221, 0, 689 },
     { 'Cook Islands', 222, 0, 687 },
     { 'Samoa', 223, 0, 680 },
     { 'Saint Pierre and Miquelon', 224, 0, 677 },
     { 'Sri Lanka', 225, 0, 659 },
     { 'East Timor', 226, 0, 638 },
     { 'Tibet', 227, 1, 630 },
     { 'Brunei', 228, 1, 619 },
     { 'British Virgin Islands', 229, -3, 611 },
     { 'Falkland Islands', 230, 0, 580 },
     { 'Federated States of Micronesia', 231, 1, 565 },
     { 'Bhutan', 232, -1, 563 },
     { 'Anguilla', 233, 0, 552 },
     { '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' },
        { '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',  '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