Jump to content

Module:SportsRankings/data/World Football Elo Ratings

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GazThomas402 (talk | contribs) at 05:02, 14 October 2024 (13 October update). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 = 13,
	month = 'October',
	year = 2024
}

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

data.rankings = {
     { 'Spain', 1, 4, 2161 },
     { 'Argentina', 2, -1, 2136 },
     { 'Colombia', 3, 8, 2026 },
     { 'France', 4, -2, 2020 },
     { 'Brazil', 5, -2, 2006 },
     { 'Portugal', 6, -2, 1994 },
     { 'England', 7, -1, 1972 },
     { 'Germany', 8, 5, 1961 },
     { 'Netherlands', 9, 0, 1955 },
     { 'Italy', 10, -1, 1936 },
     { 'Belgium', 11, -4, 1930 },
     { 'Uruguay', 12, 0, 1928 },
     { 'Croatia', 13, -5, 1918 },
     { 'Japan', 14, 0, 1888 },
     { 'Austria', 15, 11, 1876 },
     { 'Denmark', 16, 0, 1859 },
     { 'Ecuador', 17, -2, 1858 },
     { 'Switzerland', 18, -1, 1827 },
     { 'Greece', 19, 20, 1824 },
     { 'Iran', 20, 3, 1817 },
     { 'Turkey', 21, 12, 1816 },
     { 'Serbia', 22, -1, 1812 },
     { 'Mexico', 23, -3, 1792 },
     { 'Ukraine', 24, -3, 1786 },
     { 'Russia', 25, 5, 1785 },
     { 'Venezuela', 26, 12, 1784 },
     { 'Morocco', 27, -8, 1783 },
     { 'South Korea', 28, 0, 1772 },
     { 'Hungary', 28, -10, 1772 },
     { 'Canada', 30, 11, 1770 },
     { 'Slovenia', 31, 17, 1759 },
     { 'Senegal', 32, 4, 1756 },
     { 'Norway', 33, -2, 1755 },
     { 'Peru', 34, -7, 1742 },
     { 'Czechia', 35, -3, 1738 },
     { 'United States', 35, -11, 1738 },
     { 'Georgia', 37, 15, 1735 },
     { 'Poland', 38, -1, 1729 },
     { 'Australia', 39, -10, 1727 },
     { 'Paraguay', 40, 4, 1723 },
     { 'Romania', 40, 13, 1723 },
     { 'Panama', 42, 1, 1720 },
     { 'Sweden', 43, -4, 1709 },
     { 'Scotland', 44, -20, 1699 },
     { 'Wales', 44, 3, 1699 },
     { 'Slovakia', 46, 14, 1696 },
     { 'Uzbekistan', 47, 11, 1692 },
     { 'Chile', 48, -14, 1680 },
     { 'Algeria', 49, -7, 1678 },
     { 'Egypt', 50, -4, 1674 },
     { 'Bolivia', 51, 13, 1672 },
     { 'Iraq', 52, 9, 1663 },
     { 'Costa Rica', 53, 2, 1651 },
     { 'Tunisia', 54, -19, 1644 },
     { 'Ivory Coast', 55, -4, 1640 },
     { 'Albania', 56, -7, 1623 },
     { 'Jamaica', 57, 5, 1615 },
     { 'North Macedonia', 58, 9, 1604 },
     { 'Ireland', 59, 0, 1600 },
     { 'Jordan', 59, 7, 1600 },
     { 'Mali', 61, -5, 1599 },
     { 'Nigeria', 62, -6, 1598 },
     { 'Cameroon', 63, -13, 1594 },
     { 'Angola', 64, 44, 1589 },
     { 'Democratic Republic of Congo', 65, 8, 1585 },
     { 'Qatar', 66, 9, 1579 },
     { 'New Zealand', 67, 5, 1577 },
     { 'Iceland', 68, 15, 1576 },
     { 'Saudi Arabia', 69, -1, 1573 },
     { 'Finland', 70, -25, 1570 },
     { 'South Africa', 71, 3, 1562 },
     { 'Israel', 72, -18, 1552 },
     { 'Burkina Faso', 73, -4, 1543 },
     { 'Equatorial Guinea', 74, 6, 1530 },
     { 'Kosovo', 75, 7, 1526 },
     { 'United Arab Emirates', 76, 8, 1525 },
     { 'Guatemala', 77, 2, 1522 },
     { 'Haiti', 78, -2, 1521 },
     { 'Honduras', 79, 7, 1519 },
     { 'Northern Ireland', 80, 10, 1518 },
     { 'Cape Verde', 80, 1, 1518 },
     { 'Oman', 82, -17, 1514 },
     { 'Montenegro', 83, -14, 1512 },
     { 'Bulgaria', 84, 1, 1494 },
     { 'Ghana', 85, -22, 1491 },
     { 'Bosnia and Herzegovina', 86, -15, 1487 },
     { 'Luxembourg', 87, -10, 1470 },
     { 'Guinea', 88, 9, 1468 },
     { 'Belarus', 89, 14, 1467 },
     { 'Bahrain', 90, -4, 1464 },
     { 'Northern Cyprus', 91, 0, 1457 },
     { 'Syria', 92, 7, 1449 },
     { 'Kazakhstan', 93, 0, 1443 },
     { 'Benin', 94, 20, 1442 },
     { 'Thailand', 95, 16, 1440 },
     { 'Gabon', 96, 5, 1433 },
     { 'Azerbaijan', 97, -6, 1431 },
     { 'Martinique', 98, -3, 1428 },
     { 'Mozambique', 98, 20, 1428 },
     { 'Armenia', 100, -12, 1425 },
     { 'Kurdistan', 100, -2, 1425 },
     { 'Kenya', 102, 15, 1423 },
     { 'North Korea', 103, 12, 1418 },
     { 'Sudan', 104, 40, 1410 },
     { 'Palestine', 105, -3, 1403 },
     { 'Uganda', 106, 1, 1397 },
     { 'El Salvador', 107, -3, 1388 },
     { 'Tanzania', 107, 14, 1388 },
     { 'Estonia', 109, 2, 1387 },
     { 'Trinidad and Tobago', 110, -14, 1384 },
     { 'Comoros', 111, 51, 1380 },
     { 'Libya', 112, 12, 1373 },
     { 'China', 112, -23, 1373 },
     { 'Indonesia', 114, 26, 1370 },
     { 'Togo', 115, -5, 1365 },
     { 'Zimbabwe', 116, 12, 1357 },
     { 'Guinea-Bissau', 117, -12, 1355 },
     { 'Nicaragua', 118, 8, 1353 },
     { 'Moldova', 119, 13, 1350 },
     { 'Suriname', 120, 21, 1349 },
     { 'Zambia', 121, -43, 1346 },
     { 'Kuwait', 121, -13, 1346 },
     { 'Réunion', 121, -3, 1346 },
     { 'Gambia', 124, -30, 1345 },
     { 'Mauritania', 125, -25, 1344 },
     { 'Tajikistan', 126, -4, 1339 },
     { 'Namibia', 127, -14, 1332 },
     { 'Central African Republic', 128, 1, 1331 },
     { 'Madagascar', 129, 13, 1329 },
     { 'Rwanda', 130, 18, 1328 },
     { 'Zanzibar', 131, -6, 1326 },
     { 'Botswana', 132, -14, 1323 },
     { 'Curaçao', 133, 1, 1316 },
     { 'Guadeloupe', 133, 5, 1316 },
     { 'Lithuania', 135, 14, 1309 },
     { 'Cuba', 136, 1, 1307 },
     { 'Lebanon', 137, -4, 1304 },
     { 'Latvia', 138, -22, 1300 },
     { 'Cyprus', 139, -12, 1299 },
     { 'Sierra Leone', 140, -10, 1298 },
     { 'Malaysia', 141, -5, 1290 },
     { 'Burundi', 142, 5, 1286 },
     { 'Malta', 143, 7, 1281 },
     { 'Ethiopia', 144, -13, 1267 },
     { 'Kyrgyzstan', 144, 8, 1267 },
     { 'French Guiana', 146, -2, 1264 },
     { 'Liberia', 147, -13, 1263 },
     { 'Malawi', 147, -24, 1263 },
     { 'Congo', 149, -5, 1257 },
     { 'New Caledonia', 150, 5, 1251 },
     { 'Dominican Republic', 150, 8, 1251 },
     { 'Vietnam', 152, -46, 1248 },
     { 'Faroe Islands', 153, 0, 1247 },
     { 'Niger', 154, 5, 1239 },
     { 'Eswatini', 155, -16, 1234 },
     { 'Guyana', 155, 5, 1234 },
     { 'Lesotho', 157, -1, 1222 },
     { 'Fiji', 158, 3, 1217 },
     { 'Mayotte', 158, -1, 1217 },
     { 'Turkmenistan', 160, -6, 1204 },
     { 'Tahiti', 161, 6, 1181 },
     { 'Chad', 162, 1, 1176 },
     { 'Solomon Islands', 162, -19, 1176 },
     { 'India', 164, -13, 1174 },
     { 'Saint Lucia', 165, 4, 1146 },
     { 'Bermuda', 165, -1, 1146 },
     { 'Eritrea', 167, 1, 1144 },
     { 'Afghanistan', 168, 10, 1126 },
     { 'South Sudan', 169, 1, 1112 },
     { 'Saint Vincent and the Grenadines', 170, 12, 1111 },
     { 'Puerto Rico', 171, -6, 1110 },
     { 'Saint Kitts and Nevis', 172, -1, 1109 },
     { 'Singapore', 172, 0, 1109 },
     { 'Hong Kong', 174, -1, 1102 },
     { 'Yemen', 175, 1, 1100 },
     { 'Vanuatu', 176, 1, 1097 },
     { 'Grenada', 177, -2, 1084 },
     { 'Andorra', 178, -4, 1080 },
     { 'Papua New Guinea', 179, -13, 1062 },
     { 'Gibraltar', 180, 0, 1061 },
     { 'Belize', 181, -1, 1057 },
     { 'São Tomé and Príncipe', 182, -3, 1049 },
     { 'Mauritius', 183, 2, 1041 },
     { 'Philippines', 184, 0, 1039 },
     { 'Somaliland', 185, 1, 1002 },
     { 'Dominica', 186, 2, 1000 },
     { 'Western Sahara', 187, 0, 996 },
     { 'Liechtenstein', 188, 4, 966 },
     { 'Montserrat', 188, 1, 966 },
     { 'Barbados', 190, 0, 964 },
     { 'Greenland', 191, 2, 946 },
     { 'Djibouti', 192, 4, 945 },
     { 'Aruba', 193, -2, 940 },
     { 'Antigua and Barbuda', 194, -11, 933 },
     { 'Sint Maarten', 195, 13, 926 },
     { 'Saint Martin', 196, 6, 912 },
     { 'Myanmar', 197, -2, 911 },
     { 'Bangladesh', 197, 0, 911 },
     { 'Monaco', 199, 0, 903 },
     { 'Somalia', 200, 0, 899 },
     { 'Nepal', 201, -3, 898 },
     { 'Taiwan', 202, -8, 890 },
     { 'Maldives', 203, -2, 879 },
     { 'Seychelles', 204, 1, 860 },
     { 'Bonaire', 205, -1, 850 },
     { 'Cambodia', 206, -3, 836 },
     { 'Pakistan', 207, 0, 824 },
     { 'Cayman Islands', 208, 1, 822 },
     { 'Bahamas', 209, -3, 807 },
     { '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, 674 },
     { 'Saba', 223, 1, 671 },
     { 'Laos', 224, -3, 665 },
     { 'Brunei', 225, 6, 664 },
     { 'Turks and Caicos Islands', 226, -10, 654 },
     { 'Tibet', 227, 2, 630 },
     { 'British Virgin Islands', 228, -2, 627 },
     { 'Cook Islands', 229, -9, 623 },
     { 'Anguilla', 229, 3, 623 },
     { 'Bhutan', 231, 3, 619 },
     { 'Macao', 232, -5, 614 },
     { 'US Virgin Islands', 233, -5, 587 },
     { 'Falkland Islands', 234, -1, 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