跳转到内容

模組: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 = 11,
	month = 9,
	year = 2024
}

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

data.rankings = {
     { 'Spain', 1, 5, 2157 },
     { 'Argentina', 2, -1, 2149 },
     { 'Colombia', 3, 7, 2061 },
     { 'France', 4, -2, 2015 },
     { 'Brazil', 5, -2, 1997 },
     { 'England', 6, 1, 1996 },
     { 'Portugal', 7, -3, 1975 },
     { 'Netherlands', 8, 1, 1960 },
     { 'Germany', 9, 4, 1957 },
     { 'Uruguay', 10, 2, 1956 },
     { 'Italy', 11, 0, 1943 },
     { 'Belgium', 12, -4, 1923 },
     { 'Croatia', 13, -8, 1912 },
     { 'Japan', 14, 0, 1873 },
     { 'Ecuador', 15, 2, 1871 },
     { 'Denmark', 16, -1, 1863 },
     { 'Switzerland', 17, -1, 1855 },
     { 'Austria', 18, 10, 1853 },
     { 'Iran', 19, 7, 1819 },
     { 'Turkey', 20, 19, 1812 },
     { 'Mexico', 21, 2, 1792 },
     { 'Russia', 22, 8, 1785 },
     { 'Serbia', 23, 1, 1784 },
     { 'Greece', 24, 22, 1781 },
     { 'Morocco', 25, -4, 1780 },
     { 'Slovenia', 26, 22, 1777 },
     { 'Venezuela', 27, 16, 1771 },
     { 'Canada', 28, 8, 1770 },
     { 'Hungary', 29, -11, 1767 },
     { 'Ukraine', 29, -9, 1767 },
     { 'Georgia', 31, 21, 1754 },
     { 'Senegal', 31, 2, 1754 },
     { 'Poland', 33, 4, 1748 },
     { 'Norway', 34, 0, 1746 },
     { 'South Korea', 35, -4, 1743 },
     { 'Panama', 36, 4, 1731 },
     { 'United States', 37, -12, 1727 },
     { 'Czechia', 38, -11, 1723 },
     { 'Australia', 38, -9, 1723 },
     { 'Peru', 40, -21, 1714 },
     { 'Romania', 41, 13, 1713 },
     { 'Paraguay', 42, -4, 1710 },
     { 'Scotland', 43, -22, 1705 },
     { 'Sweden', 44, -12, 1703 },
     { 'Slovakia', 45, 12, 1702 },
     { 'Wales', 46, 1, 1701 },
     { 'Uzbekistan', 47, 13, 1690 },
     { 'Chile', 48, -7, 1689 },
     { 'Tunisia', 49, -15, 1681 },
     { 'Algeria', 50, -8, 1671 },
     { 'Egypt', 51, -7, 1669 },
     { 'Costa Rica', 52, -3, 1662 },
     { 'Iraq', 53, 9, 1658 },
     { 'Albania', 54, 3, 1638 },
     { 'Bolivia', 55, 5, 1637 },
     { 'Ivory Coast', 56, -5, 1635 },
     { 'Jordan', 57, 7, 1629 },
     { 'Finland', 58, -14, 1607 },
     { 'Jamaica', 59, 4, 1595 },
     { 'Mali', 60, -1, 1594 },
     { 'Nigeria', 61, -6, 1592 },
     { 'Saudi Arabia', 62, 5, 1588 },
     { 'Angola', 63, 47, 1585 },
     { 'Ireland', 64, -14, 1582 },
     { 'Cameroon', 65, -13, 1580 },
     { 'Democratic Republic of Congo', 66, 7, 1578 },
     { 'Qatar', 67, 12, 1574 },
     { 'Iceland', 67, 16, 1574 },
     { 'New Zealand', 69, 3, 1570 },
     { 'Israel', 70, -14, 1557 },
     { 'South Africa', 71, 4, 1554 },
     { 'North Macedonia', 71, -1, 1554 },
     { 'Cape Verde', 71, 10, 1554 },
     { 'United Arab Emirates', 74, 18, 1537 },
     { 'Equatorial Guinea', 75, 7, 1526 },
     { 'Northern Ireland', 76, 13, 1521 },
     { 'Haiti', 77, 0, 1517 },
     { 'Montenegro', 78, -9, 1516 },
     { 'Burkina Faso', 79, -11, 1514 },
     { 'Kosovo', 80, 4, 1511 },
     { 'Honduras', 81, 4, 1506 },
     { 'Guatemala', 82, -8, 1504 },
     { 'Ghana', 83, -18, 1502 },
     { 'Bulgaria', 83, 3, 1502 },
     { 'Oman', 85, -19, 1499 },
     { 'Bosnia and Herzegovina', 86, -15, 1491 },
     { 'Bahrain', 87, 0, 1475 },
     { 'Belarus', 88, 17, 1464 },
     { 'Luxembourg', 89, -9, 1462 },
     { 'Azerbaijan', 90, 17, 1461 },
     { 'Armenia', 91, -13, 1459 },
     { 'Kazakhstan', 92, -1, 1457 },
     { 'Northern Cyprus', 92, -2, 1457 },
     { 'Guinea', 94, 4, 1448 },
     { 'Gabon', 94, 6, 1448 },
     { 'Mozambique', 96, 23, 1443 },
     { 'Syria', 97, 9, 1438 },
     { 'Thailand', 97, 13, 1438 },
     { 'Kenya', 99, 17, 1437 },
     { 'Kurdistan', 100, -5, 1425 },
     { 'Benin', 101, 13, 1413 },
     { 'El Salvador', 102, -8, 1411 },
     { 'Palestine', 103, -2, 1408 },
     { 'North Korea', 104, 11, 1406 },
     { 'Martinique', 104, -7, 1406 },
     { 'Sudan', 106, 39, 1399 },
     { 'Tanzania', 107, 12, 1395 },
     { 'Uganda', 108, 0, 1393 },
     { 'Trinidad and Tobago', 109, -6, 1383 },
     { 'Libya', 110, 14, 1379 },
     { 'China', 111, -23, 1377 },
     { 'Nicaragua', 112, 20, 1373 },
     { 'Togo', 113, -1, 1372 },
     { 'Moldova', 114, 20, 1365 },
     { 'Kuwait', 115, -6, 1361 },
     { 'Zambia', 116, -40, 1360 },
     { 'Guinea-Bissau', 116, -14, 1360 },
     { 'Indonesia', 118, 22, 1359 },
     { 'Rwanda', 119, 29, 1357 },
     { 'Estonia', 119, -23, 1357 },
     { 'Namibia', 121, -8, 1353 },
     { 'Tajikistan', 122, -1, 1350 },
     { 'Mauritania', 123, -24, 1349 },
     { 'Gambia', 124, -31, 1346 },
     { 'Réunion', 124, -6, 1346 },
     { 'Comoros', 126, 35, 1343 },
     { 'Guadeloupe', 127, -1, 1338 },
     { 'Suriname', 127, 11, 1338 },
     { 'Zimbabwe', 129, 1, 1336 },
     { 'Central African Republic', 130, -3, 1334 },
     { 'Curaçao', 131, 2, 1329 },
     { 'Madagascar', 132, 10, 1328 },
     { 'Zanzibar', 133, -8, 1326 },
     { 'Lithuania', 134, 15, 1324 },
     { 'Latvia', 135, -7, 1319 },
     { 'Burundi', 136, 7, 1315 },
     { 'Cyprus', 137, -15, 1309 },
     { 'Cuba', 138, 5, 1308 },
     { 'Lebanon', 139, -4, 1304 },
     { 'Sierra Leone', 140, -12, 1303 },
     { 'Malaysia', 141, -2, 1290 },
     { 'Ethiopia', 142, -12, 1287 },
     { 'Botswana', 142, -25, 1287 },
     { 'French Guiana', 144, -7, 1277 },
     { 'Kyrgyzstan', 145, 7, 1272 },
     { 'Liberia', 146, -10, 1267 },
     { 'Congo', 147, -2, 1265 },
     { 'Malawi', 147, -24, 1265 },
     { 'Malta', 149, -2, 1260 },
     { 'Vietnam', 150, -46, 1253 },
     { 'Guyana', 151, 8, 1252 },
     { 'Faroe Islands', 152, -1, 1244 },
     { 'Niger', 153, 4, 1243 },
     { 'Dominican Republic', 154, 10, 1238 },
     { 'New Caledonia', 155, 8, 1234 },
     { 'Eswatini', 156, -15, 1219 },
     { 'Mayotte', 157, -1, 1217 },
     { 'Lesotho', 158, -3, 1207 },
     { 'Turkmenistan', 159, -5, 1204 },
     { 'Fiji', 160, 0, 1203 },
     { 'Solomon Islands', 161, -8, 1190 },
     { 'Tahiti', 162, 4, 1188 },
     { 'India', 163, -13, 1169 },
     { 'Chad', 164, -2, 1162 },
     { 'Eritrea', 165, 2, 1144 },
     { 'Puerto Rico', 166, 2, 1142 },
     { 'Saint Lucia', 167, 9, 1141 },
     { 'Bermuda', 168, -3, 1128 },
     { 'Afghanistan', 169, 9, 1126 },
     { 'South Sudan', 170, 4, 1116 },
     { 'Hong Kong', 171, 2, 1114 },
     { 'Singapore', 172, -1, 1109 },
     { 'Saint Kitts and Nevis', 173, -3, 1107 },
     { 'Yemen', 174, 3, 1100 },
     { 'Vanuatu', 175, 0, 1092 },
     { 'Saint Vincent and the Grenadines', 176, 5, 1088 },
     { 'Andorra', 177, -8, 1083 },
     { 'Papua New Guinea', 178, -20, 1079 },
     { 'Grenada', 179, -7, 1071 },
     { 'Gibraltar', 180, 2, 1056 },
     { 'Belize', 181, 4, 1055 },
     { 'São Tomé and Príncipe', 182, -2, 1049 },
     { 'Mauritius', 183, 0, 1041 },
     { 'Philippines', 183, 1, 1041 },
     { 'Dominica', 185, 5, 1018 },
     { 'Somaliland', 186, 1, 1002 },
     { 'Western Sahara', 187, 1, 996 },
     { 'Montserrat', 188, 1, 983 },
     { 'Barbados', 189, -3, 958 },
     { 'Liechtenstein', 190, 2, 954 },
     { 'Antigua and Barbuda', 191, -12, 946 },
     { 'Greenland', 191, 2, 946 },
     { 'Djibouti', 193, 3, 945 },
     { 'Aruba', 194, -3, 944 },
     { 'Saint Martin', 195, 7, 917 },
     { 'Myanmar', 196, 1, 914 },
     { 'Bangladesh', 197, 1, 911 },
     { 'Monaco', 198, 1, 903 },
     { 'Taiwan', 199, -5, 899 },
     { 'Somalia', 199, 1, 899 },
     { 'Nepal', 201, -7, 898 },
     { 'Sint Maarten', 202, 5, 894 },
     { 'Maldives', 203, -2, 879 },
     { 'Seychelles', 204, 0, 860 },
     { 'Bonaire', 205, 0, 833 },
     { 'Cambodia', 206, -3, 827 },
     { 'Pakistan', 207, 1, 824 },
     { 'Cayman Islands', 208, 2, 811 },
     { 'San Marino', 209, 3, 798 },
     { 'Bahamas', 210, -4, 792 },
     { 'Chagos Islands', 211, 0, 785 },
     { 'Sint Eustatius', 212, 1, 757 },
     { 'Tuvalu', 213, 2, 756 },
     { 'Mongolia', 214, -6, 754 },
     { 'Samoa', 215, 6, 740 },
     { 'Saint Barthélemy', 216, 0, 725 },
     { 'Sri Lanka', 217, 6, 703 },
     { 'Wallis and Futuna', 218, 0, 701 },
     { 'Brunei', 219, 12, 692 },
     { 'Vatican', 219, 0, 692 },
     { 'Guam', 221, -4, 680 },
     { 'Saint Pierre and Miquelon', 222, 0, 677 },
     { 'Saba', 223, 1, 671 },
     { 'Laos', 224, 2, 665 },
     { 'East Timor', 225, 5, 646 },
     { 'Anguilla', 225, 7, 646 },
     { 'British Virgin Islands', 227, 0, 640 },
     { 'Turks and Caicos Islands', 228, -14, 633 },
     { 'Tibet', 229, 0, 630 },
     { 'Cook Islands', 230, -10, 623 },
     { 'Bhutan', 231, 3, 619 },
     { 'Macao', 232, -7, 614 },
     { 'US Virgin Islands', 233, -5, 608 },
     { 'Falkland Islands', 234, -1, 571 },
     { 'Federated States of Micronesia', 235, 0, 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