跳转到内容

模組:SportsRankings/data/World Football Elo Ratings

维基百科,自由的百科全书
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 = 16,
	month = 10,
	year = 2024
}

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

data.rankings = {
     { 'Spain', 1, 4, 2166 },
     { 'Argentina', 2, -1, 2139 },
     { 'France', 3, -1, 2041 },
     { 'Colombia', 4, 7, 2031 },
     { 'Brazil', 5, -2, 2014 },
     { 'Portugal', 6, -2, 1984 },
     { 'Germany', 7, 5, 1975 },
     { 'England', 8, -2, 1972 },
     { 'Netherlands', 9, -1, 1941 },
     { 'Italy', 10, -1, 1940 },
     { 'Uruguay', 11, 2, 1919 },
     { 'Croatia', 12, -2, 1913 },
     { 'Belgium', 13, -6, 1909 },
     { 'Austria', 14, 11, 1876 },
     { 'Japan', 15, -1, 1875 },
     { 'Ecuador', 16, -1, 1867 },
     { 'Denmark', 17, -1, 1863 },
     { 'Turkey', 18, 14, 1835 },
     { 'Iran', 19, 3, 1831 },
     { 'Greece', 20, 22, 1824 },
     { 'Switzerland', 21, -3, 1823 },
     { 'Serbia', 22, 1, 1807 },
     { 'Mexico', 23, -2, 1801 },
     { 'Hungary', 24, -7, 1787 },
     { 'Morocco', 25, -5, 1786 },
     { 'Russia', 26, 4, 1785 },
     { 'Ukraine', 27, -8, 1783 },
     { 'South Korea', 28, 0, 1781 },
     { 'Canada', 29, 10, 1776 },
     { 'Venezuela', 30, 8, 1766 },
     { 'Senegal', 31, 3, 1760 },
     { 'Slovenia', 32, 14, 1759 },
     { 'Norway', 33, 0, 1755 },
     { 'Czechia', 34, -3, 1741 },
     { 'Paraguay', 34, 11, 1741 },
     { 'Australia', 36, -7, 1740 },
     { 'Poland', 37, 4, 1734 },
     { 'Peru', 37, -10, 1734 },
     { 'Romania', 39, 14, 1729 },
     { 'United States', 39, -13, 1729 },
     { 'Sweden', 41, -6, 1724 },
     { 'Panama', 42, 1, 1714 },
     { 'Slovakia', 43, 9, 1713 },
     { 'Scotland', 44, -21, 1709 },
     { 'Wales', 45, -1, 1705 },
     { 'Georgia', 46, 4, 1704 },
     { 'Uzbekistan', 47, 9, 1699 },
     { 'Algeria', 48, -8, 1687 },
     { 'Egypt', 49, -2, 1682 },
     { 'Chile', 50, -15, 1675 },
     { 'Bolivia', 51, 12, 1669 },
     { 'Costa Rica', 52, 4, 1666 },
     { 'Iraq', 53, 9, 1654 },
     { 'Albania', 53, -4, 1654 },
     { 'Tunisia', 55, -18, 1631 },
     { 'Jordan', 56, 10, 1619 },
     { 'Democratic Republic of Congo', 57, 16, 1607 },
     { 'Ivory Coast', 58, -7, 1605 },
     { 'Cameroon', 58, -4, 1605 },
     { 'Jamaica', 58, 3, 1605 },
     { 'North Macedonia', 61, 9, 1604 },
     { 'Ireland', 62, -2, 1600 },
     { 'Nigeria', 63, -5, 1598 },
     { 'Angola', 64, 44, 1594 },
     { 'Mali', 65, -6, 1591 },
     { 'New Zealand', 66, 5, 1581 },
     { 'Finland', 67, -19, 1570 },
     { 'Qatar', 68, 7, 1565 },
     { 'Saudi Arabia', 69, -2, 1562 },
     { 'Iceland', 70, 11, 1557 },
     { 'South Africa', 71, 3, 1551 },
     { 'Israel', 72, -17, 1548 },
     { 'Northern Ireland', 73, 15, 1544 },
     { 'Burkina Faso', 74, -6, 1543 },
     { 'Equatorial Guinea', 75, 4, 1541 },
     { 'Kosovo', 76, 7, 1535 },
     { 'Honduras', 77, 4, 1529 },
     { 'Haiti', 78, 0, 1525 },
     { 'United Arab Emirates', 79, 6, 1518 },
     { 'Guatemala', 80, -3, 1507 },
     { 'Montenegro', 81, -13, 1506 },
     { 'Oman', 82, -17, 1495 },
     { 'Cape Verde', 83, -3, 1493 },
     { 'Guinea', 84, 13, 1485 },
     { 'Bahrain', 85, 1, 1475 },
     { 'Bosnia and Herzegovina', 86, -14, 1472 },
     { 'Luxembourg', 87, -3, 1470 },
     { 'Bulgaria', 88, 10, 1468 },
     { 'Belarus', 89, 6, 1467 },
     { 'Northern Cyprus', 90, -1, 1457 },
     { 'Ghana', 91, -27, 1454 },
     { 'Thailand', 92, 19, 1451 },
     { 'Gabon', 93, 9, 1447 },
     { 'Sudan', 93, 53, 1447 },
     { 'Mozambique', 95, 25, 1445 },
     { 'Kazakhstan', 96, -5, 1443 },
     { 'Syria', 97, 4, 1438 },
     { 'Armenia', 98, -11, 1425 },
     { 'Kurdistan', 98, 2, 1425 },
     { 'Benin', 100, 15, 1421 },
     { 'Martinique', 101, -7, 1417 },
     { 'Azerbaijan', 102, -10, 1414 },
     { 'Kenya', 103, 13, 1412 },
     { 'Uganda', 104, 3, 1407 },
     { 'Trinidad and Tobago', 105, -10, 1400 },
     { 'Palestine', 105, -2, 1400 },
     { 'North Korea', 107, 7, 1395 },
     { 'Comoros', 108, 54, 1393 },
     { 'El Salvador', 109, -5, 1388 },
     { 'China', 110, -20, 1387 },
     { 'Zimbabwe', 111, 17, 1385 },
     { 'Libya', 112, 10, 1373 },
     { 'Estonia', 113, -2, 1372 },
     { 'Suriname', 114, 24, 1366 },
     { 'Tanzania', 114, 6, 1366 },
     { 'Gambia', 116, -23, 1364 },
     { 'Guinea-Bissau', 117, -12, 1363 },
     { 'Nicaragua', 117, 8, 1363 },
     { 'Zambia', 119, -43, 1357 },
     { 'Indonesia', 120, 21, 1356 },
     { 'Togo', 120, -10, 1356 },
     { 'Moldova', 122, 3, 1350 },
     { 'Kuwait', 123, -15, 1349 },
     { 'Rwanda', 123, 26, 1349 },
     { 'Botswana', 125, -8, 1348 },
     { 'Réunion', 126, -7, 1346 },
     { 'Mauritania', 127, -28, 1336 },
     { 'Sierra Leone', 128, 1, 1333 },
     { 'Central African Republic', 129, 0, 1328 },
     { 'Guadeloupe', 130, 4, 1327 },
     { 'Zanzibar', 131, -4, 1326 },
     { 'Curaçao', 132, 4, 1324 },
     { 'Madagascar', 133, 12, 1310 },
     { 'Lebanon', 134, 1, 1304 },
     { 'Namibia', 134, -21, 1304 },
     { 'Lithuania', 136, -7, 1303 },
     { 'Latvia', 137, -20, 1300 },
     { 'Tajikistan', 138, -15, 1294 },
     { 'Cuba', 139, 3, 1291 },
     { 'Cyprus', 140, -7, 1290 },
     { 'Kyrgyzstan', 140, 13, 1290 },
     { 'Burundi', 142, 6, 1286 },
     { 'Malaysia', 142, -5, 1286 },
     { 'Malta', 144, 6, 1281 },
     { 'Congo', 145, 2, 1268 },
     { 'Dominican Republic', 146, 10, 1262 },
     { 'Malawi', 147, -23, 1259 },
     { 'French Guiana', 148, -4, 1254 },
     { 'Liberia', 149, -9, 1252 },
     { 'New Caledonia', 150, 10, 1251 },
     { 'Ethiopia', 151, -19, 1250 },
     { 'Vietnam', 152, -46, 1248 },
     { 'Faroe Islands', 153, -1, 1247 },
     { 'Niger', 154, 5, 1234 },
     { 'Fiji', 155, 6, 1217 },
     { 'Eswatini', 155, -12, 1217 },
     { 'Mayotte', 155, 3, 1217 },
     { 'Guyana', 155, -2, 1217 },
     { 'Lesotho', 159, -2, 1208 },
     { 'Turkmenistan', 160, -5, 1204 },
     { 'Tahiti', 161, 4, 1181 },
     { 'Solomon Islands', 162, -24, 1176 },
     { 'India', 163, -12, 1174 },
     { 'Chad', 164, -1, 1165 },
     { 'Bermuda', 165, -1, 1154 },
     { 'Eritrea', 166, 0, 1144 },
     { 'Afghanistan', 167, 11, 1126 },
     { 'Puerto Rico', 168, -1, 1120 },
     { 'Saint Vincent and the Grenadines', 169, 15, 1111 },
     { 'Singapore', 170, 0, 1109 },
     { 'Hong Kong', 171, 1, 1106 },
     { 'South Sudan', 172, -3, 1102 },
     { 'Yemen', 173, 2, 1100 },
     { 'Vanuatu', 174, 0, 1097 },
     { 'Saint Kitts and Nevis', 175, 2, 1093 },
     { 'Philippines', 176, 7, 1084 },
     { 'Saint Lucia', 177, -6, 1081 },
     { 'Andorra', 178, -5, 1080 },
     { 'Grenada', 179, -3, 1076 },
     { 'Papua New Guinea', 180, -12, 1062 },
     { 'Gibraltar', 181, 1, 1061 },
     { 'Belize', 181, 0, 1061 },
     { 'São Tomé and Príncipe', 183, -4, 1049 },
     { 'Mauritius', 184, 1, 1041 },
     { 'Somaliland', 185, 1, 1002 },
     { 'Western Sahara', 186, 1, 996 },
     { 'Dominica', 187, 1, 992 },
     { 'Barbados', 188, 3, 978 },
     { 'Saint Martin', 189, 11, 977 },
     { 'Liechtenstein', 190, 2, 966 },
     { 'Montserrat', 190, -1, 966 },
     { 'Greenland', 192, 1, 946 },
     { 'Djibouti', 193, 3, 945 },
     { 'Aruba', 194, -4, 936 },
     { 'Antigua and Barbuda', 195, -16, 922 },
     { 'Sint Maarten', 196, 10, 916 },
     { 'Myanmar', 197, -2, 911 },
     { 'Bangladesh', 197, 0, 911 },
     { 'Monaco', 199, 0, 903 },
     { 'Somalia', 200, 1, 899 },
     { 'Nepal', 201, -3, 898 },
     { 'Taiwan', 202, -8, 890 },
     { 'Maldives', 203, -1, 879 },
     { 'Seychelles', 204, 1, 860 },
     { 'Bonaire', 205, -1, 850 },
     { 'Cayman Islands', 206, 3, 838 },
     { 'Cambodia', 207, -4, 832 },
     { 'Pakistan', 208, -1, 824 },
     { 'Bahamas', 209, -1, 793 },
     { 'San Marino', 210, 2, 790 },
     { 'Chagos Islands', 211, 0, 785 },
     { 'Sint Eustatius', 212, 1, 757 },
     { 'Tuvalu', 213, 1, 756 },
     { 'Mongolia', 214, -4, 754 },
     { 'Samoa', 215, 6, 735 },
     { 'Saint Barthélemy', 216, -1, 725 },
     { 'Sri Lanka', 217, 8, 706 },
     { 'Wallis and Futuna', 218, 0, 701 },
     { 'Vatican', 219, 0, 692 },
     { 'Guam', 220, -3, 680 },
     { 'Saint Pierre and Miquelon', 221, 2, 677 },
     { 'East Timor', 222, 8, 673 },
     { 'Saba', 223, 1, 671 },
     { 'Laos', 224, -3, 665 },
     { 'Brunei', 224, 7, 665 },
     { 'Turks and Caicos Islands', 226, -10, 650 },
     { 'Tibet', 227, 2, 630 },
     { 'British Virgin Islands', 228, -2, 627 },
     { 'Cook Islands', 229, -9, 623 },
     { 'Anguilla', 229, 4, 623 },
     { 'Bhutan', 231, 3, 619 },
     { 'Macao', 232, -5, 614 },
     { 'US Virgin Islands', 233, -5, 587 },
     { 'Falkland Islands', 234, -2, 571 },
     { 'Federated States of Micronesia', 235, -1, 564 },
     { 'Kiribati', 236, 0, 545 },
     { 'Tonga', 237, 0, 521 },
     { 'Niue', 238, 0, 496 },
     { 'Northern Mariana Islands', 239, 1, 452 },
     { 'Palau', 240, 1, 403 },
     { 'Eastern Samoa', 241, -2, 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