Mô đun:SportsRankings/data/FIBA World Rankings

local data = {}

-- information about other templates used by module
data.templates = { flagged_team_link = "bk" }

-- general information about ranking and website being cited
data.source = {
url = 'http://www.fiba.basketball/rankingmen',
title = 'FIBA Ranking Presented by Nike',
website = "FIBA"
}

-- date of latest update and previous one for movement
data.updated = { day = 15, month = 9, year =2025 }
data.previous = { day = 28, month = 3, year =2025 }

-- the rankings list
copy rankings from FIBA and use follow excel to generate table entre
=CONCAT(" { '", B1, "', ", A1, ", ", E1, ", ", TEXT(D1, "0.0"), " },")
must manual fix for apostrophe in "Cote d'Ivoire"
--
data.rankings = {
-- { country, rank, move, points },
{ 'USA', 1, 0, 845.8 },
{ 'Germany', 2, 1, 765.9 },
{ 'Serbia', 3, -1, 761.8 },
{ 'France', 4, 0, 756.5 },
{ 'Canada', 5, 1, 753.1 },
{ 'Australia', 6, 1, 740.2 },
{ 'Spain', 7, -2, 720.3 },
{ 'Argentina', 8, 0, 708.3 },
{ 'Lithuania', 9, 1, 702.5 },
{ 'Brazil', 10, 2, 699.4 },
{ 'Latvia', 11, -2, 687.2 },
{ 'Turkiye', 12, 15, 686.2 },
{ 'Greece', 13, 0, 684.1 },
{ 'Slovenia', 14, -3, 655.7 },
{ 'Italy', 15, -1, 640.5 },
{ 'Puerto Rico', 16, -1, 613.5 },
{ 'Finland', 17, 3, 602.4 },
{ 'Montenegro', 18, -2, 571.5 },
{ 'Poland', 19, -2, 539.5 },
{ 'Georgia', 20, 4, 509.2 },
{ 'Dominican Republic', 21, -3, 499.6 },
{ 'Japan', 22, -1, 475.1 },
{ 'Czechia', 23, -4, 451.2 },
{ 'South Sudan', 24, -1, 446.7 },
{ 'New Zealand', 25, -3, 440.9 },
{ 'Iran', 26, 2, 402.9 },
{ 'China', 27, 3, 398.4 },
{ 'Venezuela', 28, -3, 395.5 },
{ 'Angola', 29, 4, 391.0 },
{ 'Lebanon', 30, -1, 388.7 },
{ 'Mexico', 31, -5, 381.1 },
{ 'Israel', 32, 7, 378.5 },
{ 'Bosnia and Herzegovina', 33, 8, 369.5 },
{ 'Croatia', 34, -2, 350.5 },
{ 'Belgium', 35, 5, 346.7 },
{ "Cote d'Ivoire", 36, -5, 330.8 },
{ 'Philippines', 37, -3, 329.9 },
{ 'Jordan', 38, -3, 318.9 },
{ 'Estonia', 39, 4, 313.4 },
{ 'Sweden', 40, 9, 303.8 },
{ 'Ukraine', 41, -4, 300.4 },
{ 'Egypt', 42, -4, 296.8 },
{ 'Great Britain', 43, 5, 275.1 },
{ 'Uruguay', 44, 7, 272.0 },
{ 'Senegal', 45, 2, 270.6 },
{ 'Iceland', 46, 4, 270.5 },
{ 'Portugal', 47, 9, 268.1 },
{ 'Hungary', 48, -4, 262.3 },
{ 'Cape Verde', 49, -4, 257.8 },
{ 'Tunisia', 50, -14, 253.8 },
{ 'Bahamas', 51, 1, 249.6 },
{ 'Bulgaria', 52, -6, 249.0 },
{ 'Nigeria', 53, -11, 248.7 },
{ 'Netherlands', 54, 0, 230.1 },
{ 'Colombia', 55, 0, 227.9 },
{ 'Korea', 56, -3, 216.2 },
{ 'Cameroon', 57, 7, 209.3 },
{ 'Panama', 58, -1, 207.2 },
{ 'North Macedonia', 59, -1, 198.6 },
{ 'Denmark', 60, -1, 195.4 },
{ 'Switzerland', 61, 1, 187.0 },
{ 'Chile', 62, -1, 185.9 },
{ 'Slovakia', 63, -3, 183.6 },
{ 'Saudi Arabia', 64, 1, 179.5 },
{ 'Mali', 65, 18, 179.1 },
{ 'Romania', 66, -3, 177.1 },
{ 'Chinese Taipei', 67, 6, 164.5 },
{ 'Austria', 68, -1, 162.4 },
{ 'Cuba', 69, -1, 155.1 },
{ 'Bahrain', 70, -4, 151.3 },
{ 'Cyprus', 71, 13, 147.3 },
{ 'Guinea', 72, 3, 143.0 },
{ 'Congo DR', 73, -1, 141.8 },
{ 'Syria', 74, -3, 139.3 },
{ 'Kazakhstan', 75, -5, 137.7 },
{ 'India', 76, 0, 130.0 },
{ 'Nicaragua', 77, 3, 129.8 },
{ 'Costa Rica', 78, -4, 125.4 },
{ 'Virgin Islands', 79, -10, 124.8 },
{ 'Norway', 80, -2, 124.7 },
{ 'Guam', 81, 7, 119.4 },
{ 'Ireland', 82, -1, 118.1 },
{ 'Qatar', 83, 4, 117.9 },
{ 'Paraguay', 84, -2, 116.6 },
{ 'Kosovo', 85, -8, 116.0 },
{ 'Uganda', 86, -1, 113.4 },
{ 'Indonesia', 87, -8, 112.3 },
{ 'Luxembourg', 88, -2, 109.0 },
{ 'Iraq', 89, 3, 108.7 },
{ 'Rwanda', 90, 3, 106.7 },
{ 'Thailand', 91, -1, 105.1 },
{ 'Central African Rep.', 92, -3, 104.1 },
{ 'Armenia', 93, -2, 103.5 },
{ 'Andorra', 94, 2, 94.4 },
{ 'Jamaica', 95, 12, 93.3 },
{ 'Libya', 96, -2, 91.8 },
{ 'Albania', 97, -2, 91.0 },
{ 'Palestine', 98, 0, 90.9 },
{ 'Malta', 99, 0, 89.5 },
{ 'Kenya', 100, -3, 88.2 },
{ 'El Salvador', 101, 3, 87.0 },
{ 'Mongolia', 102, -1, 86.2 },
{ 'Madagascar', 103, 2, 85.4 },
{ 'UAE', 104, -1, 83.4 },
{ 'Barbados', 105, 4, 82.2 },
{ 'Ecuador', 106, -4, 81.8 },
{ 'Azerbaijan', 107, 3, 75.9 },
{ 'Bolivia', 108, -2, 75.1 },
{ 'Kuwait', 109, 3, 74.4 },
{ 'South Africa', 110, 17, 74.2 },
{ 'San Marino', 111, 2, 74.1 },
{ 'Burundi', 112, 2, 73.9 },
{ 'Guyana', 113, 6, 73.0 },
{ 'Malaysia', 114, -6, 72.8 },
{ 'Honduras', 115, 1, 72.3 },
{ 'Morocco', 116, -16, 72.1 },
{ 'St.Vincent and the Grenadines', 117, 1, 71.1 },
{ 'Hong Kong', 118, -7, 70.9 },
{ 'Mozambique', 119, -4, 70.6 },
{ 'Antigua & Barbuda', 120, 0, 70.1 },
{ 'Algeria', 121, 0, 69.5 },
{ 'Chad', 122, -5, 69.1 },
{ 'Belize', 123, -1, 68.2 },
{ 'Grenada', 124, -1, 68.0 },
{ 'Gibraltar', 125, -1, 66.0 },
{ 'Samoa', 126, -1, 64.4 },
{ 'Guatemala', 127, -1, 64.3 },
{ 'Suriname', 128, 0, 61.5 },
{ 'Bermuda', 129, 1, 60.2 },
{ 'Gabon', 130, 1, 58.5 },
{ 'Sri Lanka', 131, 1, 56.5 },
{ 'Montserrat', 132, 1, 56.5 },
{ 'Vietnam', 133, 2, 56.4 },
{ 'Maldives', 134, 0, 55.9 },
{ 'Somalia', 135, 1, 55.8 },
{ 'Singapore', 136, -7, 55.7 },
{ 'Tahiti', 137, 0, 53.4 },
{ 'Equatorial Guinea', 138, 0, 52.9 },
{ 'Tonga', 139, 0, 52.2 },
{ 'Bangladesh', 140, 0, 51.4 },
{ 'Zambia', 141, 0, 49.8 },
{ 'American Samoa', 142, 0, 49.1 },
{ 'Bhutan', 143, 1, 46.4 },
{ 'Brunei Darussalam', 144, 1, 45.8 },
{ 'Tanzania', 145, 1, 43.9 },
{ 'Oman', 146, 1, 43.1 },
{ 'Zimbabwe', 147, -4, 39.8 },
{ 'Macau', 148, 0, 37.0 },
{ 'St. Lucia', 149, 0, 36.8 },
{ 'Nepal', 150, 0, 34.9 },
{ 'Moldova', 151, 0, 34.1 },
{ 'Fiji', 152, 0, 33.7 },
{ 'Cambodia', 153, 0, 33.5 },
{ 'Eritrea', 154, 1, 27.1 },
{ 'Cook Islands', 155, 1, 25.6 },
{ 'Haiti', 156, 1, 20.0 },
}

-- alias list (need empty list if not used)
data.alias = {
{ 'AFG', 'Afghanistan' },
{ 'ALB', 'Albania' },
{ 'ALG', 'Algeria' },
{ 'AND', 'Andorra' },
{ 'ANG', 'Angola' },
{ 'ANT', 'Antigua and Barbuda' },
{ 'ARG', 'Argentina' },
{ 'ARM', 'Armenia' },
{ 'ARU', 'Aruba' },
{ 'ASA', 'American Samoa' },
{ 'AUS', 'Australia' },
{ 'AUT', 'Austria' },
{ 'AZE', 'Azerbaijan' },
{ 'BAH', 'Bahamas' },
{ 'BAN', 'Bangladesh' },
{ 'BAR', 'Barbados' },
{ 'BDI', 'Burundi' },
{ 'BEL', 'Belgium' },
{ 'BEN', 'Benin' },
{ 'BER', 'Bermuda' },
{ 'BHU', 'Bhutan' },
{ 'BIH', 'Bosnia and Herzegovina' },
{ 'BIZ', 'Belize' },
{ 'BLR', 'Belarus' },
{ 'BOL', 'Bolivia' },
{ 'BOT', 'Botswana' },
{ 'BRA', 'Brazil' },
{ 'BRN', 'Bahrain' },
{ 'BRU', 'Brunei Darussalam' },
{ 'BUL', 'Bulgaria' },
{ 'BUR', 'Burkina Faso' },
{ 'CAF', 'Central African Rep.' },
{ 'CAL', 'New Caledonia' },
{ 'CAM', 'Cambodia' },
{ 'CAN', 'Canada' },
{ 'CAY', 'Cayman Islands' },
{ 'CGO', 'Congo' },
{ 'CHA', 'Chad' },
{ 'CHI', 'Chile' },
{ 'CHN', 'China' },
{ 'CIV', "Cote d'Ivoire" },
{ 'CMR', 'Cameroon' },
{ 'COD', 'Congo DR' },
{ 'COK', 'Cook Islands' },
{ 'COL', 'Colombia' },
{ 'COM', 'Comoros' },
{ 'CPV', 'Cape Verde' },
{ 'CRC', 'Costa Rica' },
{ 'CRO', 'Croatia' },
{ 'CUB', 'Cuba' },
{ 'CYP', 'Cyprus' },
{ 'CZE', 'Czechia' },
{ 'DEN', 'Denmark' },
{ 'DJI', 'Djibouti' },
{ 'DMA', 'Dominica' },
{ 'DOM', 'Dominican Republic' },
{ 'ECU', 'Ecuador' },
{ 'EGY', 'Egypt' },
{ 'ERI', 'Eritrea' },
{ 'ESA', 'El Salvador' },
{ 'ESP', 'Spain' },
{ 'EST', 'Estonia' },
{ 'ETH', 'Ethiopia' },
{ 'FIJ', 'Fiji' },
{ 'FIN', 'Finland' },
{ 'FRA', 'France' },
{ 'FSM', 'Federated States of Micronesia' },
{ 'GAB', 'Gabon' },
{ 'GAM', 'Gambia' },
{ 'GBR', 'Great Britain' },
{ 'GBS', 'Guinea-Bissau' },
{ 'GEO', 'Georgia' },
{ 'GEQ', 'Equatorial Guinea' },
{ 'GER', 'Germany' },
{ 'GHA', 'Ghana' },
{ 'GIB', 'Gibraltar' },
{ 'GRE', 'Greece' },
{ 'GRN', 'Grenada' },
{ 'GUA', 'Guatemala' },
{ 'GUI', 'Guinea' },
{ 'GUM', 'Guam' },
{ 'GUY', 'Guyana' },
{ 'HAI', 'Haiti' },
{ 'HKG', 'Hong Kong' },
{ 'HON', 'Honduras' },
{ 'HUN', 'Hungary' },
{ 'INA', 'Indonesia' },
{ 'IND', 'India' },
{ 'IRI', 'Iran' },
{ 'IRL', 'Ireland' },
{ 'IRQ', 'Iraq' },
{ 'ISL', 'Iceland' },
{ 'ISR', 'Israel' },
{ 'ISV', 'US Virgin Islands' },
{ 'ISV', 'Virgin Islands' },
{ 'ITA', 'Italy' },
{ 'IVB', 'British Virgin Islands' },
{ 'JAM', 'Jamaica' },
{ 'JOR', 'Jordan' },
{ 'JPN', 'Japan' },
{ 'KAZ', 'Kazakhstan' },
{ 'KEN', 'Kenya' },
{ 'KGZ', 'Kyrgyzstan' },
{ 'KIR', 'Kiribati' },
{ 'KOR', 'Korea' },
{ 'KOS', 'Kosovo' },
{ 'KSA', 'Saudi Arabia' },
{ 'KUW', 'Kuwait' },
{ 'LAO', 'Laos' },
{ 'LAT', 'Latvia' },
{ 'LBA', 'Libya' },
{ 'LBN', 'Lebanon' },
{ 'LBR', 'Liberia' },
{ 'LCA', 'St. Lucia' },
{ 'LES', 'Lesotho' },
{ 'LTU', 'Lithuania' },
{ 'LUX', 'Luxembourg' },
{ 'MAC', 'Macau' },
{ 'MAD', 'Madagascar' },
{ 'MAR', 'Morocco' },
{ 'MAS', 'Malaysia' },
{ 'MAT', 'Montserrat' },
{ 'MAW', 'Malawi' },
{ 'MDA', 'Moldova' },
{ 'MDV', 'Maldives' },
{ 'MEX', 'Mexico' },
{ 'MGL', 'Mongolia' },
{ 'MHL', 'Marshall Islands' },
{ 'MKD', 'North Macedonia' },
{ 'MLI', 'Mali' },
{ 'MLT', 'Malta' },
{ 'MNE', 'Montenegro' },
{ 'MON', 'Monaco' },
{ 'MOZ', 'Mozambique' },
{ 'MRI', 'Mauritius' },
{ 'MTN', 'Mauritania' },
{ 'MYA', 'Myanmar' },
{ 'NAM', 'Namibia' },
{ 'NCA', 'Nicaragua' },
{ 'NED', 'Netherlands' },
{ 'NEP', 'Nepal' },
{ 'NGR', 'Nigeria' },
{ 'NIG', 'Niger' },
{ 'NIS', 'Norfolk Island' },
{ 'NMI', 'Northern Mariana Islands' },
{ 'NOR', 'Norway' },
{ 'NRU', 'Nauru' },
{ 'NZL', 'New Zealand' },
{ 'OMA', 'Oman' },
{ 'PAK', 'Pakistan' },
{ 'PAN', 'Panama' },
{ 'PAR', 'Paraguay' },
{ 'PHI', 'Philippines' },
{ 'PLE', 'Palestine' },
{ 'PLW', 'Palau' },
{ 'PNG', 'Papua New Guinea' },
{ 'POL', 'Poland' },
{ 'POR', 'Portugal' },
{ 'PRK', 'North Korea' },
{ 'PUR', 'Puerto Rico' },
{ 'QAT', 'Qatar' },
{ 'ROU', 'Romania' },
{ 'RSA', 'South Africa' },
{ 'RUS', 'Russia' },
{ 'RWA', 'Rwanda' },
{ 'SAM', 'Samoa' },
{ 'SEN', 'Senegal' },
{ 'SEY', 'Seychelles' },
{ 'SGP', 'Singapore' },
{ 'SKN', 'St. Kitts' },
{ 'SLE', 'Sierra Leone' },
{ 'SLO', 'Slovenia' },
{ 'SMR', 'San Marino' },
{ 'SOL', 'Solomon Islands' },
{ 'SOM', 'Somalia' },
{ 'SRB', 'Serbia' },
{ 'SRI', 'Sri Lanka' },
{ 'SSD', 'South Sudan' },
{ 'STP', 'Sao Tome and Principe' },
{ 'SUD', 'Sudan' },
{ 'SUI', 'Switzerland' },
{ 'SUR', 'Suriname' },
{ 'SVK', 'Slovakia' },
{ 'SWE', 'Sweden' },
{ 'SWZ', 'Eswatini' },
{ 'SYR', 'Syria' },
{ 'TAH', 'Tahiti' },
{ 'TAN', 'Tanzania' },
{ 'TCI', 'Turks and Caicos Islands' },
{ 'TGA', 'Tonga' },
{ 'THA', 'Thailand' },
{ 'TJK', 'Tajikistan' },
{ 'TKM', 'Turkmenistan' },
{ 'TLS', 'Timor-Leste' },
{ 'TOG', 'Togo' },
{ 'TPE', 'Chinese Taipei' },
{ 'TTO', 'Trinidad and Tobago' },
{ 'TUN', 'Tunisia' },
{ 'TUR', 'Turkiye' },
{ 'TUV', 'Tuvalu' },
{ 'UAE', 'UAE' },
{ 'UGA', 'Uganda' },
{ 'UKR', 'Ukraine' },
{ 'URU', 'Uruguay' },
{ 'USA', 'USA' },
{ 'UZB', 'Uzbekistan' },
{ 'VAN', 'Vanuatu' },
{ 'VEN', 'Venezuela' },
{ 'VIE', 'Vietnam' },
{ 'VIN', 'St. Vincent and the Grenadines' },
{ 'YEM', 'Yemen' },
{ 'ZAM', 'Zambia' },
{ 'ZIM', 'Zimbabwe' },
--
{ 'code', 'key'}
}

-- List of FIBA confederations
data.confederation = {
Africa = { "ALG", "ANG", "BEN", "BOT", "BUR", "BDI", "CMR", "CPV", "CAF",
"CHA", "COM", "CGO", "COD", "CIV", "DJI", "EGY", "GEQ", "ERI", "SWZ",
"ETH", "GAB", "GAM", "GHA", "GUI", "GBS", "KEN", "LES", "LBR", "LBA",
"MAD", "MAW", "MLI", "MTN", "MRI", "MAR", "MOZ", "NAM", "NIG", "NGR",
"RWA", "STP", "SEN", "SEY", "SLE", "SOM", "RSA", "SSD", "SUD", "TAN",
"TOG", "TUN", "UGA", "ZAM", "ZIM"
},
Americas = { "ANT", "ARG", "ARU", "BAH", "BAR", "BIZ", "BER", "BOL", "BRA",
"IVB", "CAN", "CAY", "CHI", "COL", "CRC", "CUB", "DMA", "DOM", "ECU",
"ESA", "GRN", "GUA", "GUY", "HAI", "HON", "JAM", "MEX", "MAT", "NCA",
"PAN", "PAR", "PUR", "SKN", "LCA", "VIN", "SUR", "TTO", "TCI", "URU",
"USA", "VEN", "ISV"
},
Asia = { "AFG", "BRN", "BAN", "BHU", "BRU", "CAM", "CHN", "TPE", "HKG",
"IND", "INA", "IRI", "IRQ", "JPN", "JOR", "KAZ", "KOR", "PRK", "KUW",
"KGZ", "LAO", "LBN", "MAC", "MAS", "MDV", "MGL", "MYA", "NEP", "OMA",
"PAK", "PLE", "PHI", "QAT", "KSA", "SGP", "SRI", "SYR", "TJK", "THA",
"TKM", "UAE", "UZB", "VIE", "YEM",
"ASA", "AUS", "COK", "FIJ", "GUM", "KIR", "MHL", "FSM", "NRU", "CAL",
"NZL", "NIS", "NMI", "PLW", "PNG", "SAM", "SOL", "TAH", "TLS", "TGA",
"TUV", "VAN"
},
Europe = { "ALB", "AND", "ARM", "AUT", "AZE", "BLR", "BEL", "BIH", "BUL",
"CRO", "CYP", "CZE", "DEN", "EST", "FIN", "FRA", "GEO", "GER", "GIB",
"GBR", "GRE", "HUN", "ISL", "IRL", "ISR", "ITA", "KOS", "LAT", "LTU",
"LUX", "MLT", "MDA", "MON", "MNE", "NED", "MKD", "NOR", "POL", "POR",
"ROU", "RUS", "SMR", "SRB", "SVK", "SLO", "ESP", "SWE", "SUI", "TUR",
"UKR"
},
}
return data