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 = 'https://www.fiba.basketball/rankingboys',
title = 'FIBA Ranking Presented by Nike',
website = "FIBA"
}
-- date of latest update and previous one for movement
data.updated = { day = 1, month = 12, year =2023 }
data.previous = { day = 14, month = 12, year =2022 }
--[[ the rankings list
copy rankings from FIBA and use follow excel to generate table entre
=CONCAT(" { '", B1, "', ",A1,", ",F1," },")
must manual fix for apostrophe in "Cote d'Ivoire"
--]]
data.rankings = {
-- { country code, rank, move },
{ 'USA', 1, 0, 817.7 },
{ 'Spain', 2, 0, 745.9 },
{ 'France', 3, 0, 732.7 },
{ 'Australia', 4, 0, 690.6 },
{ 'Serbia', 5, 1, 690.1 },
{ 'Turkiye', 6, 2, 686.0 },
{ 'Lithuania', 7, -2, 680.8 },
{ 'Italy', 8, 1, 680.2 },
{ 'Canada', 9, -2, 650.2 },
{ 'Germany', 10, 12, 641.8 },
{ 'Brazil', 11, 2, 618.0 },
{ 'Greece', 12, 2, 607.5 },
{ 'Slovenia', 13, -3, 606.8 },
{ 'Israel', 14, -2, 604.5 },
{ 'Puerto Rico', 15, 6, 561.6 },
{ 'Argentina', 16, 3, 554.9 },
{ 'Poland', 17, -1, 537.1 },
{ 'Mali', 18, 0, 534.8 },
{ 'Dominican Republic', 19, 1, 529.4 },
{ 'Iran', 20, 3, 528.8 },
{ 'Senegal', 21, 3, 524.9 },
{ 'Croatia', 22, -7, 523.4 },
{ 'Egypt', 23, -6, 518.6 },
{ 'China', 24, 4, 514.1 },
{ 'Philippines', 25, 2, 506.7 },
{ 'Guinea', 26, 17, 500.7 },
{ 'New Zealand', 27, -1, 468.3 },
{ 'Montenegro', 28, -3, 463.9 },
{ 'Latvia', 29, 0, 457.8 },
{ 'Japan', 30, 2, 456.4 },
{ 'Madagascar', 31, 5, 450.3 },
{ 'Korea', 32, -2, 435.9 },
{ 'Mexico', 33, 0, 400.5 },
{ 'Finland', 34, 10, 362.0 },
{ 'Denmark', 35, 11, 361.7 },
{ 'North Macedonia', 36, -5, 360.6 },
{ 'Chinese Taipei', 37, 1, 357.3 },
{ 'Angola', 38, 7, 355.0 },
{ 'Lebanon', 39, 1, 353.7 },
{ 'Hungary', 40, 23, 350.8 },
{ 'India', 41, -6, 346.3 },
{ 'Belgium', 42, 5, 337.0 },
{ 'Sweden', 43, 10, 335.8 },
{ 'Algeria', 44, -2, 333.0 },
{ 'Czech Republic', 45, -8, 331.8 },
{ 'Great Britain', 46, -7, 293.8 },
{ 'Netherlands', 47, -13, 292.0 },
{ 'Rwanda', 48, 16, 278.7 },
{ 'Qatar', 49, 10, 271.1 },
{ 'Chad', 50, 1, 265.5 },
{ 'Jordan', 51, 0, 262.5 },
{ 'Chile', 52, 0, 253.2 },
{ 'Bulgaria', 53, 8, 246.5 },
{ "Cote d'Ivoire", 54, 1, 243.9 },
{ 'Portugal', 55, -7, 241.6 },
{ 'Romania', 56, 9, 234.2 },
{ 'Ecuador', 57, 1, 231.6 },
{ 'Bosnia and Herzegovina', 58, -9, 228.7 },
{ 'Estonia', 59, -9, 226.1 },
{ 'Morocco', 60, 0, 224.2 },
{ 'Georgia', 61, 1, 222.8 },
{ 'Slovakia', 62, 6, 217.9 },
{ 'Uruguay', 63, -9, 215.6 },
{ 'Iceland', 64, -4, 211.9 },
{ 'Panama', 65, 2, 211.8 },
{ 'Bahrain', 66, 0, 209.7 },
{ 'Tunisia', 67, -10, 192.9 },
{ 'Ukraine', 68, -12, 192.4 },
{ 'Malaysia', 69, 4, 191.0 },
{ 'Austria', 70, -1, 190.1 },
{ 'Uganda', 71, 1, 185.9 },
{ 'Switzerland', 72, -1, 178.6 },
{ 'Indonesia', 73, 3, 171.9 },
{ 'Norway', 74, 1, 159.2 },
{ 'Saudi Arabia', 75, 0, 158.8 },
{ 'Kazakhstan', 76, 3, 157.7 },
{ 'Luxembourg', 77, 17, 146.0 },
{ 'Thailand', 78, 0, 146.0 },
{ 'Syria', 79, 3, 135.4 },
{ 'UAE', 80, 3, 132.7 },
{ 'Sri Lanka', 81, 0, 132.0 },
{ 'Gabon', 82, -2, 131.9 },
{ 'Kosovo', 83, 4, 131.4 },
{ 'Samoa', 84, 7, 130.3 },
{ 'Azerbaijan', 85, 12, 126.7 },
{ 'Tahiti', 86, 0, 126.7 },
{ 'Kuwait', 87, -3, 125.5 },
{ 'Ireland', 88, -11, 125.2 },
{ 'Monaco', 89, 1, 123.1 },
{ 'Cyprus', 90, 3, 122.3 },
{ 'Benin', 91, -2, 122.0 },
{ 'Andorra', 92, 0, 115.9 },
{ 'Armenia', 93, 9, 104.0 },
{ 'Albania', 94, -6, 97.4 },
{ 'New Caledonia', 95, 5, 87.7 },
{ 'Guam', 96, 3, 85.4 },
{ 'Papua New Guinea', 97, -1, 83.2 },
{ 'Moldova', 98, 3, 82.1 },
{ 'San Marino', 99, 4, 74.4 },
{ 'Palau', 100, 4, 70.8 },
{ 'Malta', 101, 4, 67.4 },
{ 'Cook Islands', 102, 5, 63.0 },
{ 'Gibraltar', 103, 3, 58.0 },
{ 'Marshall Islands', 104, 4, 36.8 },
}
-- 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', 'Czech Republic' },
{ '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