模組:SportsRankings/data/FIBA World Rankings
模块文档[创建]
您可能想要创建本Scribunto模块的文档。 编者可以在本模块的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模块的子页面。 |
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 = 1, month = 3, year =2024 }
data.previous = { day = 10, month = 9, year =2023 }
--[[ 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, 784.8 },
{ 'Spain', 2, 0, 773.9 },
{ 'Germany', 3, 0, 759.0 },
{ 'Serbia', 4, 1, 757.9 },
{ 'Australia', 5, -1, 756.3 },
{ 'Latvia', 6, 2, 750.6 },
{ 'Canada', 7, -1, 746.2 },
{ 'Argentina', 8, -1, 743.2 },
{ 'France', 9, 0, 737.1 },
{ 'Lithuania', 10, 0, 713.1 },
{ 'Slovenia', 11, 0, 703.6 },
{ 'Brazil', 12, 1, 660.4 },
{ 'Italy', 13, 0, 655.7 },
{ 'Greece', 14, 0, 641.6 },
{ 'Poland', 15, 0, 611.7 },
{ 'Puerto Rico', 16, 0, 608.4 },
{ 'Montenegro', 17, 0, 607.7 },
{ 'Czech Republic', 18, 1, 560.5 },
{ 'Dominican Republic', 19, -1, 556.3 },
{ 'Finland', 20, 0, 537.4 },
{ 'New Zealand', 21, 6, 507.2 },
{ 'Venezuela', 22, -4, 502.7 },
{ 'Georgia', 23, 10, 465.9 },
{ 'Turkey', 24, -8, 445.8 },
{ 'Mexico', 25, 7, 440.9 },
{ 'Japan', 26, 11, 432.2 },
{ 'Iran', 27, -4, 427.8 },
{ 'Lebanon', 28, 16, 423.3 },
{ 'China', 29, -1, 420.4 },
{ 'Croatia', 30, -4, 420.2 },
{ 'South Sudan', 31, 32, 375.5 },
{ 'Jordan', 32, 1, 374.6 },
{ "Cote d'Ivoire", 33, 9, 369.9 },
{ 'Angola', 34, 7, 364.6 },
{ 'Ukraine', 35, -7, 363.6 },
{ 'Tunisia', 36, -15, 356.4 },
{ 'Nigeria', 37, -18, 344.9 },
{ 'Philippines', 38, 2, 340.6 },
{ 'Belgium', 39, -9, 334.0 },
{ 'Bosnia and Herzegovina', 40, -5, 325.6 },
{ 'Egypt', 41, 14, 323.5 },
{ 'Israel', 42, -8, 311.7 },
{ 'Hungary', 43, -4, 307.3 },
{ 'Estonia', 44, 0, 274.4 },
{ 'Bulgaria', 45, 2, 270.8 },
{ 'Cape Verde', 46, 19, 262.0 },
{ 'Senegal', 47, -10, 256.0 },
{ 'Iceland', 48, 1, 249.3 },
{ 'Sweden', 49, 1, 247.5 },
{ 'Uruguay', 50, -4, 247.0 },
{ 'Korea', 51, -13, 243.5 },
{ 'Netherlands', 52, -7, 235.8 },
{ 'Great Britain', 53, -5, 233.8 },
{ 'Portugal', 54, 0, 202.7 },
{ 'Panama', 55, -4, 201.6 },
{ 'Colombia', 56, -4, 200.8 },
{ 'Bahamas', 57, -1, 199.4 },
{ 'Denmark', 58, 3, 196.2 },
{ 'North Macedonia', 59, -6, 187.4 },
{ 'Slovakia', 60, 2, 185.6 },
{ 'Romania', 61, -4, 180.5 },
{ 'Chile', 62, 5, 173.5 },
{ 'Switzerland', 63, -5, 172.1 },
{ 'US Virgin Islands', 64, -5, 166.2 },
{ 'Austria', 65, -2, 161.7 },
{ 'Saudi Arabia', 66, 2, 160.6 },
{ 'Cameroon', 67, 0, 156.7 },
{ 'Kazakhstan', 68, -3, 153.1 },
{ 'Bahrain', 69, 15, 150.0 },
{ 'Cuba', 70, 0, 137.5 },
{ 'Syria', 71, 1, 130.5 },
{ 'Congo DR', 72, -1, 129.8 },
{ 'Nicaragua', 73, 15, 123.1 },
{ 'Indonesia', 74, 11, 123.1 },
{ 'Norway', 75, 18, 122.2 },
{ 'Guam', 76, 3, 121.4 },
{ 'Kosovo', 77, 3, 121.1 },
{ 'Chinese Taipei', 78, -9, 120.7 },
{ 'Guinea', 79, -4, 120.6 },
{ 'Paraguay', 80, 1, 120.0 },
{ 'India', 81, 1, 118.1 },
{ 'Luxembourg', 82, -5, 115.4 },
{ 'Armenia', 83, 4, 115.2 },
{ 'Central African Rep.', 84, -8, 114.5 },
{ 'Ireland', 85, 11, 113.1 },
{ 'Mali', 86, -12, 112.6 },
{ 'Uganda', 87, -14, 112.1 },
{ 'Cyprus', 88, -10, 109.9 },
{ 'Costa Rica', 89, 1, 108.5 },
{ 'Iraq', 90, 1, 102.0 },
{ 'Thailand', 91, 3, 100.4 },
{ 'Rwanda', 92, -6, 99.5 },
{ 'Morocco', 93, -10, 98.0 },
{ 'Andorra', 94, 4, 97.2 },
{ 'Malta', 95, 7, 92.8 },
{ 'Congo', 96, -3, 92.3 },
{ 'Palestine', 97, -5, 91.2 },
{ 'Kenya', 98, -1, 89.9 },
{ 'Albania', 99, 1, 89.9 },
{ 'Mongolia', 100, 4, 86.4 },
{ 'Barbados', 101, 0, 83.9 },
{ 'Guyana', 102, 12, 83.6 },
{ 'UAE', 103, 3, 83.5 },
{ 'Qatar', 104, -15, 82.0 },
{ 'Malaysia', 105, 4, 81.7 },
{ 'Jamaica', 106, 2, 77.9 },
{ 'Chad', 107, 4, 77.7 },
{ 'Bolivia', 108, 2, 77.5 },
{ 'Mozambique', 109, -10, 77.5 },
{ 'Kuwait', 110, 10, 75.7 },
{ 'Saint Vincent and the Grenadines', 111, 0, 75.0 },
{ 'Honduras', 112, 3, 74.4 },
{ 'Antigua and Barbuda', 113, -6, 74.2 },
{ 'Grenada', 114, 8, 71.7 },
{ 'Ecuador', 115, 13, 71.0 },
{ 'Burundi', 116, 7, 70.5 },
{ 'San Marino', 117, 9, 67.0 },
{ 'Azerbaijan', 118, -5, 66.7 },
{ 'Hong Kong', 119, -7, 66.5 },
{ 'Madagascar', 120, 5, 66.0 },
{ 'Belize', 121, -2, 66.0 },
{ 'Samoa', 122, -1, 64.3 },
{ 'Singapore', 123, -7, 62.5 },
{ 'El Salvador', 124, -7, 62.4 },
{ 'Suriname', 125, -1, 61.1 },
{ 'Tahiti', 126, 5, 60.5 },
{ 'Bermuda', 127, -9, 60.2 },
{ 'Sri Lanka', 128, 7, 58.9 },
{ 'Maldives', 129, 10, 57.7 },
{ 'Montserrat', 130, 6, 56.3 },
{ 'Burkina Faso', 131, 1, 56.2 },
{ 'South Africa', 132, -5, 55.0 },
{ 'Algeria', 133, -28, 53.9 },
{ 'Vietnam', 134, -1, 53.2 },
{ 'Tonga', 135, 2, 52.4 },
{ 'Bangladesh', 136, 7, 50.0 },
{ 'American Samoa', 137, 12, 49.2 },
{ 'Somalia', 138, 7, 48.7 },
{ 'Equatorial Guinea', 139, 2, 48.6 },
{ 'Benin', 140, 0, 48.1 },
{ 'Zambia', 141, 7, 46.7 },
{ 'Gibraltar', 142, 4, 44.2 },
{ 'Bhutan', 143, 1, 44.1 },
{ 'Moldova', 144, 4, 43.8 },
{ 'Brunei Darussalam', 145, 8, 42.7 },
{ 'Guatemala', 146, -8, 41.5 },
{ 'Tanzania', 147, 4, 40.6 },
{ 'Zimbabwe', 148, -6, 39.2 },
{ 'Oman', 149, 1, 36.6 },
{ 'Macau', 150, 1, 34.9 },
{ 'Gabon', 151, -22, 33.5 },
{ 'St. Lucia', 152, 2, 30.8 },
{ 'Nepal', 153, 0, 28.6 },
{ 'Fiji', 154, 2, 27.5 },
{ 'Cambodia', 155, 2, 27.0 },
{ 'Myanmar', 156, 2, 25.5 },
{ 'Haiti', 157, 3, 22.4 },
{ 'Eritrea', 158, 3, 20.3 },
{ 'Cook Islands', 159, 0, 19.0 },
}
-- alias list (need empty list if not used)
data.alias = {
{ 'ALB', 'Albania' },
{ 'ALG', 'Algeria' },
{ 'AND', 'Andorra' },
{ 'ANG', 'Angola' },
{ 'ATG', 'Antigua and Barbuda' },
{ 'ARG', 'Argentina' },
{ 'ARM', 'Armenia' },
{ 'ASA', 'American Samoa' },
{ 'AUS', 'Australia' },
{ 'AUT', 'Austria' },
{ 'AZE', 'Azerbaijan' },
{ 'BAH', 'Bahamas' },
{ 'BAN', 'Bangladesh' },
{ 'BAR', 'Barbados' },
{ 'BDI', 'Burundi' },
{ 'BEL', 'Belgium' },
{ 'BEN', 'Benin' },
{ 'BER', 'Bermuda' },
{ 'BHR', 'Bahrain' },
{ 'BHU', 'Bhutan' },
{ 'BIH', 'Bosnia and Herzegovina' },
{ 'BLR', 'Belarus' },
{ 'BLZ', 'Belize' },
{ 'BOL', 'Bolivia' },
{ 'BOT', 'Botswana' },
{ 'BRA', 'Brazil' },
{ 'BRU', 'Brunei Darussalam' },
{ 'BUL', 'Bulgaria' },
{ 'BUR', 'Burkina Faso' },
{ 'CAF', 'Central African Rep.' },
{ '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' },
{ 'CPV', 'Cape Verde' },
{ 'CRC', 'Costa Rica' },
{ 'CRO', 'Croatia' },
{ 'CUB', 'Cuba' },
{ 'CYP', 'Cyprus' },
{ 'CZE', 'Czech Republic' },
{ 'DEN', 'Denmark' },
{ 'DOM', 'Dominican Republic' },
{ 'ECU', 'Ecuador' },
{ 'EGY', 'Egypt' },
{ 'EQG', 'Equatorial Guinea' },
{ 'ERI', 'Eritrea' },
{ 'ESA', 'El Salvador' },
{ 'ESP', 'Spain' },
{ 'EST', 'Estonia' },
{ 'FIJ', 'Fiji' },
{ 'FIN', 'Finland' },
{ 'FRA', 'France' },
{ 'GAB', 'Gabon' },
{ 'GBR', 'Great Britain' },
{ 'GEO', 'Georgia' },
{ 'GER', 'Germany' },
{ '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' },
{ 'KOR', 'Korea' },
{ 'KOS', 'Kosovo' },
{ 'KSA', 'Saudi Arabia' },
{ 'KUW', 'Kuwait' },
{ 'LAT', 'Latvia' },
{ 'LBA', 'Libya' },
{ 'LBN', 'Lebanon' },
{ 'LCA', 'St. Lucia' },
{ 'LTU', 'Lithuania' },
{ 'LUX', 'Luxembourg' },
{ 'MAC', 'Macau' },
{ 'MAD', 'Madagascar' },
{ 'MAR', 'Morocco' },
{ 'MAS', 'Malaysia' },
{ 'MSR', 'Montserrat' },
{ 'MAW', 'Malawi' },
{ 'MDA', 'Moldova' },
{ 'MDV', 'Maldives' },
{ 'MEX', 'Mexico' },
{ 'MKD', 'North Macedonia' },
{ 'MLI', 'Mali' },
{ 'MLT', 'Malta' },
{ 'MNE', 'Montenegro' },
{ 'MNG', 'Mongolia' },
{ 'MOZ', 'Mozambique' },
{ 'MTN', 'Mauritania' },
{ 'MYA', 'Myanmar' },
{ 'NCA', 'Nicaragua' },
{ 'NED', 'Netherlands' },
{ 'NEP', 'Nepal' },
{ 'NGR', 'Nigeria' },
{ 'NOR', 'Norway' },
{ 'NZL', 'New Zealand' },
{ 'OMA', 'Oman' },
{ 'PAN', 'Panama' },
{ 'PAR', 'Paraguay' },
{ 'PER', 'Peru' },
{ 'PHI', 'Philippines' },
{ 'PLE', 'Palestine' },
{ 'POL', 'Poland' },
{ 'POR', 'Portugal' },
{ 'PUR', 'Puerto Rico' },
{ 'QAT', 'Qatar' },
{ 'ROU', 'Romania' },
{ 'RSA', 'South Africa' },
{ 'RUS', 'Russia' },
{ 'RWA', 'Rwanda' },
{ 'SAM', 'Samoa' },
{ 'SEN', 'Senegal' },
{ 'SEY', 'Seychelles' },
{ 'SGP', 'Singapore' },
{ 'SLO', 'Slovenia' },
{ 'SMR', 'San Marino' },
{ 'SOM', 'Somalia' },
{ 'SRB', 'Serbia' },
{ 'SRI', 'Sri Lanka' },
{ 'SSD', 'South Sudan' },
{ 'SUI', 'Switzerland' },
{ 'SUR', 'Suriname' },
{ 'SVK', 'Slovakia' },
{ 'SWE', 'Sweden' },
{ 'SYR', 'Syria' },
{ 'TAH', 'Tahiti' },
{ 'TAN', 'Tanzania' },
{ 'THA', 'Thailand' },
{ 'TOG', 'Togo' },
{ 'TGA', 'Tonga' },
{ 'TPE', 'Chinese Taipei' },
{ 'TUN', 'Tunisia' },
{ 'TUR', 'Turkey' },
{ 'UAE', 'UAE' },
{ 'UGA', 'Uganda' },
{ 'UKR', 'Ukraine' },
{ 'URU', 'Uruguay' },
{ 'USA', 'USA' },
{ 'UZB', 'Uzbekistan' },
{ 'VEN', 'Venezuela' },
{ 'VIE', 'Vietnam' },
{ 'VIN', 'Saint Vincent and the Grenadines' },
{ 'ZAM', 'Zambia' },
{ 'ZIM', 'Zimbabwe' },
--
{ 'code', 'key'}
}
-- List of FIBA confederations
data.confederation = {
Africa = { "NGR", "TUN", "ANG", "SEN", "CIV", "EGY", "CMR", "MAR", "MLI",
"CAF", "COD", "MOZ", "UGA", "SSD", "RWA", "CPV", "ALG", "CHA", "KEN",
"CGO", "GUI", "RSA", "BDI", "MAD", "GAB", "BUR", "ZIM", "ZAM", "SEY",
"SOM", "BEN", "EQG", "BOT", "TAN", "ERI", "LBA"
},
Americas = { "USA", "ARG", "BRA", "VEN", "CAN", "PUR", "DOM", "MEX", "URU",
"PAN", "ISV", "BAH", "CUB", "COL", "CHI", "PAR", "CRC", "ATG", "BAR",
"NCA", "JAM", "HON", "GUY", "VIN", "BER", "BOL", "SUR", "BLZ", "GRN",
"ESA", "CAY", "ECU", "IVB", "MSR", "GUA", "LCA", "HAI",
},
Asia = { "AUS", "IRI", "NZL", "CHN", "KOR", "PHI", "JPN", "JOR", "LBN",
"TPE", "QAT", "KAZ", "GUM", "IND", "IRQ", "SYR", "PLE", "INA", "KSA",
"TAH", "BHR", "MNG", "THA", "SGP", "HKG", "SAM", "MAS", "UAE", "SRI", "TGA",
"VIE", "MDV", "KUW", "BAN", "BHU", "ASA", "MAC", "BRU", "NEP", "OMA",
"FIJ", "CAM", "MYA", "COK"
},
Europe = { "ESP", "SLO", "FRA", "SRB", "ITA", "LTU", "GRE", "GER", "CZE",
"POL", "RUS", "TUR", "CRO", "MNE", "LAT", "UKR", "FIN", "GEO", "BEL",
"HUN", "GBR", "ISR", "BIH", "NED", "ISL", "EST", "BUL", "BLR", "MKD",
"ROU", "DEN", "SWE", "POR", "SUI", "AUT", "SVK", "KOS", "LUX", "CYP",
"ARM", "NOR", "MLT", "AND", "ALB", "IRL", "SMR", "MDA", "GIB"
},
}
return data