Moduli:SportsRankings/data/World Football Elo Ratings

Nga Wikipedia, enciklopedia e lirë
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',
	language= 'en'
}

-- date of latest update
data.updated = {
	day = 13,
	month = 'September',
	year = 2023
}

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

data.rankings = {
     { 'Argentina', 1, 1, 2156 },
     { 'Brazil', 2, -1, 2108 },
     { 'France', 3, 2, 2103 },
     { 'Portugal', 4, 3, 2022 },
     { 'Croatia', 5, 10, 2016 },
     { 'England', 6, 6, 2011 },
     { 'Spain', 7, -4, 2007 },
     { 'Belgium', 8, -4, 1983 },
     { 'Netherlands', 9, -3, 1972 },
     { 'Italy', 10, 0, 1956 },
     { 'Colombia', 11, 2, 1947 },
     { 'Uruguay', 12, -1, 1907 },
     { 'Germany', 13, -5, 1903 },
     { 'Japan', 14, 15, 1887 },
     { 'Denmark', 15, -6, 1868 },
     { 'Ecuador', 15, 3, 1868 },
     { 'Switzerland', 17, -3, 1863 },
     { 'Hungary', 18, 3, 1845 },
     { 'Morocco', 19, 16, 1842 },
     { 'Mexico', 20, 4, 1832 },
     { 'Serbia', 21, -2, 1831 },
     { 'Ukraine', 21, -4, 1831 },
     { 'Peru', 23, -7, 1830 },
     { 'Scotland', 24, 17, 1827 },
     { 'Austria', 25, 7, 1821 },
     { 'United States', 26, -3, 1817 },
     { 'Iran', 27, -2, 1808 },
     { 'Czechia', 28, -8, 1792 },
     { 'Australia', 29, 13, 1773 },
     { 'South Korea', 30, -2, 1765 },
     { 'Russia', 31, 1, 1758 },
     { 'Tunisia', 32, 12, 1751 },
     { 'Norway', 33, -7, 1745 },
     { 'Senegal', 34, 13, 1736 },
     { 'Canada', 35, -5, 1725 },
     { 'Poland', 36, -9, 1724 },
     { 'Sweden', 37, -6, 1721 },
     { 'Algeria', 38, 2, 1710 },
     { 'Venezuela', 38, 7, 1710 },
     { 'Chile', 40, -1, 1707 },
     { 'Turkey', 41, -7, 1706 },
     { 'Paraguay', 42, -6, 1704 },
     { 'Panama', 43, 9, 1703 },
     { 'Finland', 44, 4, 1689 },
     { 'Greece', 45, -7, 1688 },
     { 'Wales', 46, -24, 1674 },
     { 'Slovenia', 47, 14, 1673 },
     { 'Egypt', 48, 6, 1671 },
     { 'Ireland', 49, -6, 1649 },
     { 'Romania', 50, 15, 1641 },
     { 'Cameroon', 51, 5, 1638 },
     { 'Ivory Coast', 52, -6, 1633 },
     { 'Israel', 53, 0, 1626 },
     { 'Georgia', 54, -3, 1624 },
     { 'Costa Rica', 55, -18, 1623 },
     { 'Nigeria', 56, -6, 1621 },
     { 'Mali', 57, 3, 1616 },
     { 'Albania', 58, 10, 1615 },
     { 'Slovakia', 59, -1, 1614 },
     { 'Uzbekistan', 60, 10, 1608 },
     { 'Iraq', 61, 6, 1600 },
     { 'Bolivia', 62, -6, 1597 },
     { 'Ghana', 63, 12, 1590 },
     { 'Jamaica', 64, 7, 1584 },
     { 'Jordan', 65, 1, 1577 },
     { 'Oman', 66, 3, 1573 },
     { 'North Macedonia', 67, -6, 1558 },
     { 'Saudi Arabia', 68, -9, 1555 },
     { 'Burkina Faso', 69, -5, 1552 },
     { 'Montenegro', 70, -7, 1550 },
     { 'Bosnia and Herzegovina', 71, -16, 1536 },
     { 'New Zealand', 72, 1, 1535 },
     { 'South Africa', 73, 3, 1527 },
     { 'Democratic Republic of Congo', 74, 18, 1521 },
     { 'Guatemala', 74, 15, 1521 },
     { 'Haiti', 76, 1, 1520 },
     { 'Qatar', 77, -28, 1512 },
     { 'Zambia', 78, 8, 1511 },
     { 'Armenia', 79, 3, 1509 },
     { 'Luxembourg', 80, 20, 1503 },
     { 'Cape Verde', 81, 4, 1498 },
     { 'Iceland', 82, -10, 1495 },
     { 'Equatorial Guinea', 82, 11, 1495 },
     { 'Honduras', 84, 4, 1488 },
     { 'Bulgaria', 85, -2, 1481 },
     { 'United Arab Emirates', 86, -5, 1479 },
     { 'Kosovo', 87, -8, 1478 },
     { 'Bahrain', 88, -10, 1475 },
     { 'Northern Ireland', 89, -15, 1462 },
     { 'Northern Cyprus', 90, 1, 1457 },
     { 'China', 91, -5, 1456 },
     { 'Kazakhstan', 92, 6, 1454 },
     { 'Gambia', 93, 2, 1441 },
     { 'El Salvador', 94, -14, 1426 },
     { 'Kurdistan', 95, 0, 1425 },
     { 'Syria', 96, -6, 1423 },
     { 'Martinique', 97, 10, 1422 },
     { 'Guinea', 98, 6, 1421 },
     { 'Estonia', 98, 4, 1421 },
     { 'Mauritania', 100, 16, 1420 },
     { 'Gabon', 101, -17, 1418 },
     { 'Azerbaijan', 101, 25, 1418 },
     { 'Palestine', 103, -9, 1417 },
     { 'Guinea-Bissau', 104, 2, 1416 },
     { 'Trinidad and Tobago', 105, 12, 1414 },
     { 'Vietnam', 106, 7, 1412 },
     { 'Belarus', 107, -8, 1404 },
     { 'Uganda', 108, -8, 1397 },
     { 'Kuwait', 109, 28, 1390 },
     { 'Thailand', 110, -3, 1388 },
     { 'Angola', 111, -6, 1386 },
     { 'Togo', 112, 15, 1384 },
     { 'Namibia', 113, 2, 1381 },
     { 'Benin', 114, -17, 1376 },
     { 'North Korea', 115, -4, 1375 },
     { 'Botswana', 116, -6, 1350 },
     { 'Kenya', 117, -6, 1348 },
     { 'Réunion', 118, -4, 1346 },
     { 'Mozambique', 119, 6, 1345 },
     { 'Tanzania', 120, 13, 1344 },
     { 'Tajikistan', 121, 13, 1336 },
     { 'Cyprus', 122, 0, 1334 },
     { 'Malawi', 123, 15, 1333 },
     { 'Libya', 124, -3, 1331 },
     { 'Zanzibar', 125, -1, 1328 },
     { 'Guadeloupe', 126, 30, 1326 },
     { 'Central African Republic', 127, 16, 1320 },
     { 'Sierra Leone', 128, -9, 1319 },
     { 'Latvia', 129, -22, 1318 },
     { 'Zimbabwe', 130, -3, 1317 },
     { 'Ethiopia', 130, -12, 1317 },
     { 'Nicaragua', 132, 9, 1316 },
     { 'Curaçao', 133, -30, 1315 },
     { 'Moldova', 134, 24, 1314 },
     { 'Lebanon', 135, -15, 1313 },
     { 'Liberia', 136, -9, 1309 },
     { 'Cuba', 137, -6, 1295 },
     { 'Indonesia', 138, 12, 1293 },
     { 'Malaysia', 138, 23, 1293 },
     { 'Madagascar', 140, -1, 1289 },
     { 'Eswatini', 140, -4, 1289 },
     { 'Suriname', 142, -12, 1284 },
     { 'Congo', 143, -12, 1278 },
     { 'Sudan', 143, -8, 1278 },
     { 'Burundi', 145, 0, 1275 },
     { 'Rwanda', 146, -6, 1269 },
     { 'Lithuania', 147, -3, 1268 },
     { 'India', 148, 5, 1266 },
     { 'Faroe Islands', 149, -4, 1254 },
     { 'Malta', 150, 1, 1253 },
     { 'Kyrgyzstan', 150, -9, 1253 },
     { 'French Guiana', 152, -29, 1250 },
     { 'Solomon Islands', 153, 6, 1243 },
     { 'Turkmenistan', 154, -5, 1232 },
     { 'Lesotho', 155, 0, 1220 },
     { 'Mayotte', 156, -2, 1218 },
     { 'Niger', 157, -10, 1211 },
     { 'Papua New Guinea', 158, 8, 1207 },
     { 'Guyana', 158, 6, 1207 },
     { 'Fiji', 160, -8, 1197 },
     { 'Comoros', 161, -13, 1195 },
     { 'Chad', 162, 0, 1189 },
     { 'New Caledonia', 163, -6, 1183 },
     { 'Dominican Republic', 164, -1, 1180 },
     { 'Puerto Rico', 165, 13, 1167 },
     { 'Tahiti', 166, 2, 1151 },
     { 'Bermuda', 166, -6, 1151 },
     { 'Eritrea', 168, 2, 1144 },
     { 'South Sudan', 169, 5, 1135 },
     { 'Singapore', 170, 3, 1128 },
     { 'Andorra', 170, 10, 1128 },
     { 'Saint Kitts and Nevis', 172, -7, 1125 },
     { 'Hong Kong', 173, -2, 1118 },
     { 'Vanuatu', 174, -5, 1116 },
     { 'Grenada', 175, -3, 1115 },
     { 'Saint Lucia', 176, 8, 1110 },
     { 'Yemen', 177, -2, 1092 },
     { 'Saint Vincent and the Grenadines', 178, 4, 1086 },
     { 'Belize', 179, 0, 1084 },
     { 'Afghanistan', 180, -3, 1072 },
     { 'São Tomé and Príncipe', 181, 0, 1067 },
     { 'Gibraltar', 182, 1, 1062 },
     { 'Antigua and Barbuda', 183, -16, 1043 },
     { 'Philippines', 184, -8, 1040 },
     { 'Mauritius', 185, 8, 1032 },
     { 'Barbados', 186, 0, 1011 },
     { 'Somaliland', 187, 0, 1002 },
     { 'Dominica', 188, 2, 997 },
     { 'Western Sahara', 189, 0, 996 },
     { 'Montserrat', 190, 1, 990 },
     { 'Aruba', 191, 3, 970 },
     { 'Liechtenstein', 192, -7, 965 },
     { 'Greenland', 193, -1, 953 },
     { 'Nepal', 194, 2, 924 },
     { 'Taiwan', 195, 6, 919 },
     { 'Djibouti', 196, 7, 917 },
     { 'Myanmar', 197, -2, 916 },
     { 'Bangladesh', 198, 9, 904 },
     { 'Monaco', 199, -1, 903 },
     { 'Somalia', 200, -1, 899 },
     { 'Maldives', 201, -4, 898 },
     { 'Saint Martin', 202, 5, 882 },
     { 'Cambodia', 203, 2, 873 },
     { 'Seychelles', 204, -4, 861 },
     { 'Bonaire', 205, -17, 856 },
     { 'Bahamas', 206, -2, 833 },
     { 'Sint Maarten', 207, 4, 817 },
     { 'Pakistan', 208, -6, 810 },
     { 'Mongolia', 208, 1, 810 },
     { 'Cayman Islands', 210, -4, 807 },
     { 'Chagos Islands', 211, 1, 785 },
     { 'San Marino', 212, -2, 780 },
     { 'Sint Eustatius', 213, 0, 757 },
     { 'Tuvalu', 214, 0, 738 },
     { 'Saint Barthélemy', 215, 1, 725 },
     { 'Turks and Caicos Islands', 216, -1, 724 },
     { 'Guam', 217, 0, 705 },
     { 'Wallis and Futuna', 218, 0, 701 },
     { 'Vatican', 219, 1, 692 },
     { 'Cook Islands', 220, 1, 680 },
     { 'Samoa', 221, 1, 678 },
     { 'Saint Pierre and Miquelon', 222, 1, 677 },
     { 'Sri Lanka', 223, 2, 675 },
     { 'Saba', 224, 2, 671 },
     { 'Macao', 225, -6, 666 },
     { 'Laos', 226, -2, 662 },
     { 'British Virgin Islands', 227, 5, 643 },
     { 'US Virgin Islands', 228, -1, 639 },
     { 'Tibet', 229, -1, 630 },
     { 'East Timor', 230, -1, 623 },
     { 'Brunei', 231, 0, 600 },
     { 'Anguilla', 232, -2, 585 },
     { 'Falkland Islands', 233, 0, 571 },
     { 'Bhutan', 234, 1, 566 },
     { 'Federated States of Micronesia', 235, -1, 564 },
     { 'Kiribati', 236, 0, 545 },
     { 'Tonga', 237, 0, 528 },
     { 'Niue', 238, 0, 496 },
     { 'Eastern Samoa', 239, 0, 472 },
     { 'Northern Mariana Islands', 240, 0, 404 },
     { 'Palau', 241, 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' },
        { '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