Mô đun: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

-- 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 = 30,
month = 'tháng 11',
year = 'năm 2022'
}

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

data.rankings = {
{ 'Brazil', 1, 0, 2195 },
{ 'Argentina', 2, 1, 2118 },
{ 'Spain', 3, 2, 2056 },
{ 'Netherlands', 4, 8, 2047 },
{ 'Portugal', 5, 3, 2044 },
{ 'France', 6, -4, 1993 },
{ 'Italy', 7, 0, 1974 },
{ 'England', 8, -2, 1969 },
{ 'Belgium', 9, -5, 1948 },
{ 'Croatia', 10, 4, 1945 },
{ 'Germany', 11, -2, 1931 },
{ 'Colombia', 12, 1, 1919 },
{ 'Switzerland', 13, -2, 1901 },
{ 'Uruguay', 14, 3, 1890 },
{ 'Denmark', 15, -5, 1883 },
{ 'Serbia', 16, 2, 1862 },
{ 'Morocco', 17, 24, 1851 },
{ 'Peru', 17, 5, 1851 },
{ 'Ecuador', 19, -3, 1842 },
{ 'United States', 20, -6, 1840 },
{ 'Poland', 21, 8, 1827 },
{ 'Hungary', 22, 17, 1825 },
{ 'Ukraine', 23, 2, 1822 },
{ 'Mexico', 24, -5, 1813 },
{ 'Japan', 25, 6, 1792 },
{ 'Czechia', 26, -3, 1779 },
{ 'Australia', 26, 7, 1779 },
{ 'Iran', 26, -6, 1779 },
{ 'Senegal', 29, 13, 1773 },
{ 'Costa Rica', 30, 29, 1762 },
{ 'Sweden', 31, -7, 1758 },
{ 'Norway', 32, 1, 1754 },
{ 'Russia', 33, -3, 1753 },
{ 'Scotland', 34, 2, 1752 },
{ 'Austria', 34, 1, 1752 },
{ 'South Korea', 36, -9, 1750 },
{ 'Tunisia', 37, 13, 1747 },
{ 'Canada', 38, -10, 1732 },
{ 'Paraguay', 39, -2, 1726 },
{ 'Wales', 40, -20, 1717 },
{ 'Turkey', 41, -3, 1712 },
{ 'Algeria', 42, -10, 1707 },
{ 'Chile', 43, -17, 1697 },
{ 'Greece', 44, 3, 1690 },
{ 'Finland', 45, -5, 1689 },
{ 'Venezuela', 46, 0, 1684 },
{ 'Ireland', 47, -3, 1676 },
{ 'Ivory Coast', 48, 4, 1670 },
{ 'Slovenia', 49, 11, 1667 },
{ 'Egypt', 50, 6, 1662 },
{ 'Georgia', 51, 19, 1652 },
{ 'Panama', 52, 5, 1646 },
{ 'Saudi Arabia', 53, -9, 1643 },
{ 'Nigeria', 54, -1, 1631 },
{ 'Cameroon', 55, 6, 1621 },
{ 'Mali', 56, 2, 1620 },
{ 'Israel', 56, -2, 1620 },
{ 'Bolivia', 58, -15, 1618 },
{ 'Bosnia and Herzegovina', 59, 4, 1616 },
{ 'Ghana', 60, 2, 1611 },
{ 'Romania', 61, -12, 1610 },
{ 'Burkina Faso', 62, 5, 1604 },
{ 'Jordan', 63, 16, 1590 },
{ 'Slovakia', 64, -16, 1580 },
{ 'Qatar', 65, -14, 1578 },
{ 'Uzbekistan', 66, 9, 1573 },
{ 'Iraq', 67, 1, 1572 },
{ 'Jamaica', 68, -3, 1556 },
{ 'Oman', 69, 11, 1553 },
{ 'South Africa', 70, -1, 1543 },
{ 'Iceland', 70, 1, 1543 },
{ 'Albania', 70, -4, 1543 },
{ 'Montenegro', 73, 4, 1540 },
{ 'Northern Ireland', 73, -10, 1540 },
{ 'Haiti', 75, -1, 1536 },
{ 'North Macedonia', 76, -22, 1534 },
{ 'New Zealand', 77, -4, 1527 },
{ 'Bulgaria', 78, -2, 1522 },
{ 'Kosovo', 79, 8, 1507 },
{ 'Bahrain', 80, -8, 1494 },
{ 'Gabon', 81, 17, 1490 },
{ 'United Arab Emirates', 82, -1, 1488 },
{ 'Cape Verde', 83, 3, 1485 },
{ 'El Salvador', 84, 0, 1484 },
{ 'Honduras', 85, -1, 1472 },
{ 'China', 86, -5, 1468 },
{ 'Zambia', 87, 9, 1466 },
{ 'Democratic Republic of Congo', 88, -11, 1458 },
{ 'Northern Cyprus', 89, 0, 1457 },
{ 'Armenia', 90, -7, 1452 },
{ 'Guatemala', 91, -3, 1450 },
{ 'Luxembourg', 92, 8, 1443 },
{ 'Equatorial Guinea', 93, 0, 1434 },
{ 'Palestine', 94, 0, 1430 },
{ 'Estonia', 94, 0, 1430 },
{ 'Kurdistan', 96, 1, 1425 },
{ 'Syria', 97, 4, 1424 },
{ 'Gambia', 97, 19, 1424 },
{ 'Azerbaijan', 99, 30, 1423 },
{ 'Belarus', 100, -10, 1415 },
{ 'Angola', 101, 10, 1407 },
{ 'Uganda', 102, -11, 1394 },
{ 'Benin', 103, -11, 1392 },
{ 'Mauritania', 103, 19, 1392 },
{ 'Kazakhstan', 105, 12, 1391 },
{ 'Vietnam', 105, 10, 1391 },
{ 'Thailand', 107, 28, 1390 },
{ 'Martinique', 108, -4, 1387 },
{ 'Guinea', 109, -10, 1386 },
{ 'Guinea-Bissau', 110, -7, 1383 },
{ 'North Korea', 111, -5, 1375 },
{ 'Kenya', 111, -5, 1375 },
{ 'Namibia', 113, 0, 1369 },
{ 'Réunion', 113, -4, 1369 },
{ 'Curaçao', 115, -14, 1364 },
{ 'Botswana', 115, 18, 1364 },
{ 'Cyprus', 117, 17, 1355 },
{ 'Libya', 118, 3, 1352 },
{ 'Latvia', 118, 6, 1352 },
{ 'Ethiopia', 118, 0, 1352 },
{ 'French Guiana', 121, 20, 1349 },
{ 'Trinidad and Tobago', 122, -13, 1340 },
{ 'Sierra Leone', 123, -4, 1338 },
{ 'Zanzibar', 124, -1, 1328 },
{ 'Cuba', 125, 12, 1327 },
{ 'Tajikistan', 126, 18, 1325 },
{ 'Mozambique', 127, 5, 1322 },
{ 'Suriname', 127, -7, 1322 },
{ 'Lebanon', 129, -24, 1320 },
{ 'Togo', 129, -3, 1320 },
{ 'Zimbabwe', 131, 0, 1318 },
{ 'Kuwait', 132, -24, 1315 },
{ 'Tanzania', 132, -6, 1315 },
{ 'Liberia', 134, -20, 1311 },
{ 'Faroe Islands', 135, 15, 1308 },
{ 'Sudan', 136, -24, 1305 },
{ 'Madagascar', 137, -13, 1303 },
{ 'Congo', 138, -8, 1302 },
{ 'Eswatini', 139, 10, 1299 },
{ 'Malawi', 140, -1, 1296 },
{ 'Rwanda', 141, 2, 1280 },
{ 'Indonesia', 142, 34, 1271 },
{ 'Central African Republic', 143, -3, 1265 },
{ 'Kyrgyzstan', 144, -7, 1264 },
{ 'Malta', 145, 6, 1260 },
{ 'Nicaragua', 146, 6, 1258 },
{ 'Burundi', 147, -1, 1257 },
{ 'Turkmenistan', 148, -13, 1249 },
{ 'Fiji', 148, 5, 1249 },
{ 'Lithuania', 150, -22, 1248 },
{ 'Comoros', 151, -6, 1247 },
{ 'Niger', 152, -6, 1244 },
{ 'Moldova', 153, 7, 1233 },
{ 'Mayotte', 154, 0, 1225 },
{ 'Papua New Guinea', 155, 14, 1223 },
{ 'Lesotho', 155, 2, 1223 },
{ 'India', 157, -1, 1217 },
{ 'Guadeloupe', 158, -3, 1215 },
{ 'Solomon Islands', 159, 8, 1208 },
{ 'Malaysia', 160, 0, 1207 },
{ 'Bermuda', 161, -13, 1205 },
{ 'Chad', 162, 0, 1189 },
{ 'Guyana', 163, 7, 1184 },
{ 'Saint Kitts and Nevis', 164, -6, 1177 },
{ 'Dominican Republic', 165, -1, 1176 },
{ 'New Caledonia', 166, -24, 1172 },
{ 'Antigua and Barbuda', 167, -1, 1164 },
{ 'Tahiti', 168, -9, 1158 },
{ 'Eritrea', 169, 2, 1144 },
{ 'Hong Kong', 170, -2, 1139 },
{ 'Grenada', 171, 4, 1136 },
{ 'Vanuatu', 172, -9, 1126 },
{ 'Singapore', 173, 3, 1122 },
{ 'Andorra', 174, 10, 1108 },
{ 'South Sudan', 175, 5, 1104 },
{ 'Yemen', 176, -11, 1098 },
{ 'Philippines', 177, -3, 1095 },
{ 'Afghanistan', 177, -5, 1095 },
{ 'Puerto Rico', 179, 4, 1088 },
{ 'Belize', 180, -2, 1077 },
{ 'São Tomé and Príncipe', 181, 1, 1071 },
{ 'Gibraltar', 182, 3, 1069 },
{ 'Saint Vincent and the Grenadines', 183, -10, 1064 },
{ 'Saint Lucia', 184, 2, 1049 },
{ 'Barbados', 185, -4, 1007 },
{ 'Somaliland', 186, 3, 1002 },
{ 'Western Sahara', 187, 3, 996 },
{ 'Dominica', 188, -1, 991 },
{ 'Liechtenstein', 189, -10, 978 },
{ 'Bonaire', 190, 3, 974 },
{ 'Montserrat', 191, 3, 965 },
{ 'Greenland', 192, 0, 963 },
{ 'Aruba', 193, 4, 959 },
{ 'Mauritius', 194, -6, 951 },
{ 'Maldives', 195, 4, 936 },
{ 'Nepal', 196, -1, 933 },
{ 'Myanmar', 197, -6, 930 },
{ 'Monaco', 198, 0, 903 },
{ 'Somalia', 199, -3, 899 },
{ 'Seychelles', 200, 0, 884 },
{ 'Taiwan', 201, 2, 881 },
{ 'Pakistan', 202, 2, 870 },
{ 'Djibouti', 203, -1, 864 },
{ 'Bahamas', 204, 1, 861 },
{ 'Cambodia', 205, 1, 847 },
{ 'Bangladesh', 206, 2, 844 },
{ 'Cayman Islands', 207, -6, 840 },
{ 'Saint Martin', 207, 0, 840 },
{ 'Mongolia', 209, 4, 803 },
{ 'San Marino', 210, -1, 784 },
{ 'Sint Maarten', 211, 1, 780 },
{ 'Chagos Islands', 212, -1, 776 },
{ 'Tuvalu', 213, 1, 738 },
{ 'Turks and Caicos Islands', 214, -4, 730 },
{ 'Saint Barthélemy', 215, 0, 715 },
{ 'Guam', 216, 1, 705 },
{ 'Wallis and Futuna', 217, -1, 701 },
{ 'Macao', 218, 0, 698 },
{ 'Vatican', 219, 0, 692 },
{ 'Cook Islands', 220, 1, 683 },
{ 'Samoa', 221, 2, 678 },
{ 'Saint Pierre and Miquelon', 222, 2, 677 },
{ 'Sri Lanka', 223, -1, 675 },
{ 'US Virgin Islands', 224, 1, 662 },
{ 'Laos', 225, -5, 653 },
{ 'Tibet', 226, 1, 630 },
{ 'East Timor', 227, -1, 623 },
{ 'Anguilla', 228, 4, 621 },
{ 'British Virgin Islands', 229, 0, 616 },
{ 'Brunei', 230, -2, 615 },
{ 'Falkland Islands', 231, -1, 580 },
{ 'Federated States of Micronesia', 232, -1, 564 },
{ 'Bhutan', 233, -1, 563 },
{ 'Kiribati', 234, 0, 545 },
{ 'Tonga', 235, 0, 528 },
{ 'Niue', 236, 0, 496 },
{ 'Eastern Samoa', 237, 0, 472 },
{ 'Northern Mariana Islands', 238, 0, 404 },
{ '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' },
{ 'TRNC', 'Northern Cyprus' },
{ '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