Jump to content

Module:SportsRankings/data/FIBA World Rankings

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by WhiteStar2000 (talk | contribs) at 08:14, 19 November 2022. 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 = "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 = 18, 	month = 'November',  year =2022 }
data.previous = { 	day = 26, 	month = 'September',  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 },
          { 'Spain', 1, 1, 758.6 },
          { 'USA', 2, -1, 757.5 },
          { 'Australia', 3, 0, 740.3 },
          { 'Argentina', 4, 0, 734.3 },
          { 'France', 5, 0, 715.0 },
          { 'Serbia', 6, 0, 710.9 },
          { 'Slovenia', 7, 0, 704.3 },
          { 'Lithuania', 8, 0, 669.5 },
          { 'Greece', 9, 0, 665.9 },
          { 'Italy', 10, 0, 646.6 },
          { 'Germany', 11, 0, 640.8 },
          { 'Czech Republic', 12, 0, 594.5 },
          { 'Brazil', 13, 1, 593.6 },
          { 'Poland', 14, -1, 591.3 },
          { 'Canada', 15, -0, 575.5 },
          { 'Turkey', 16, 0, 533.9 },
          { 'Venezuela', 17, 0, 524.8 },
          { 'Montenegro', 18, 0, 515.6 },
          { 'Nigeria', 19, 0, 460.1 },
          { 'Iran', 20, 1, 452.5 },
          { 'Croatia', 21, 0, 469.8 },
          { 'Nigeria', 22, 0, 458.7 },
          { 'Iran', 23, 0, 448.8 },
          { 'Mexico', 24, 0, 402.9 },
          { 'Montenegro', 25, 0, 399.6 },
          { 'Latvia', 26, 0, 391.3 },
          { 'New Zealand', 27, 0, 383.9 },
          { 'Tunisia', 28, 0, 377.2 },
          { 'China', 29, 0, 359.2 },
          { 'Korea', 30, 0, 342.0 },
          { 'Angola', 31, 0, 334.1 },
          { 'Ukraine', 32, 0, 331.4 },
          { 'Senegal', 33, 1, 327.2 },
          { 'Philippines', 34, -1, 326.0 },
          { 'Finland', 35, 0, 314.7 },
          { 'Georgia', 36, 2, 301.5 },
          { 'Belgium', 37, -1, 296.6 },
          { 'Japan', 38, -1, 286.7 },
          { 'Jordan', 39, 0, 283.2 },
          { 'Uruguay', 40, 1, 267.0 },
          { "Cote d'Ivoire", 41, -1, 266.8 },
          { 'Israel', 42, 0, 262.2 },
          { 'Hungary', 43, 0, 261.0 },
          { 'Iceland', 44, 2, 251.6 },
          { 'Great Britain', 45, -1, 248.6 },
          { 'Bosnia and Herzegovina', 46, -1, 247.6 },
          { 'Netherlands', 47, 0, 230.9 },
          { 'Estonia', 48, 1, 219.2 },
          { 'Panama', 49, 1, 218.1 },
          { 'Sweden', 50, 1, 214.1 },
          { 'Belarus', 51, -3, 213.2 },
          { 'Bulgaria', 52, 1, 208.5 },
          { 'North Macedonia', 53, -1, 201.5 },
          { 'Lebanon', 54, 1, 193.7 },
          { 'Romania', 55, 1, 189.8 },
          { 'Denmark', 56, 1, 187.1 },
          { 'US Virgin Islands', 57, -3, 186.8 },
          { 'Portugal', 58, 0, 184.7 },
          { 'Egypt', 59, 0, 183.7 },
          { 'Switzerland', 60, 0, 182.4 },
          { 'Austria', 61, 0, 171.7 },
          { 'Slovakia', 62, 1, 164.6 },
          { 'Bahamas', 63, -1, 164.4 },
          { 'Cameroon', 64, 0, 150.6 },
          { 'Cuba', 65, 0, 148.1 },
          { 'Colombia', 66, 1, 144.9 },
          { 'Chile', 67, 1, 144.8 },
          { 'Kazakhstan', 68, 2, 144.5 },
          { 'Chinese Taipei', 69, -3, 144.1 },
          { 'Morocco', 70, -1, 135.0 },
          { 'Luxembourg', 71, 2, 133.8 },
          { 'Kosovo', 72, -1, 133.7 },
          { 'Mali', 73, -1, 131.9 },
          { 'Cape Verde', 74, 0, 128.9 },
          { 'Paraguay', 75, 2, 126.2 },
          { 'South Sudan', 76, 6, 125.7 },
          { 'Qatar', 77, -1, 124.9 },
          { 'Central African Rep.', 78, -3, 124.7 },
          { 'Congo DR', 79, 2, 123.9 },
          { 'Saudi Arabia', 80, -1, 122.8 },
          { 'Uganda', 81, -3, 122.2 },
          { 'India', 82, -2, 121.9 },
          { 'Syria', 83, 2, 117.9 },
          { 'Cyprus', 84, -1, 115.9 },
          { 'Rwanda', 85, -1, 113.5 },
          { 'Ireland', 86, 4, 111.1 },
          { 'Iraq', 87, -1, 110.2 },
          { 'Andorra', 88, -1, 110.2 },
          { 'Guam', 89, -1, 109.6 },
          { 'Palestine', 90, -1, 109.1 },
          { 'Norway', 91, 4, 105.0 },
          { 'Costa Rica', 92, 0, 104.7 },
          { 'Armenia', 93, 0, 103.9 },
          { 'Malta', 94, 0, 103.7 },
          { 'Indonesia', 95, -4, 99.5 },
          { 'Tahiti', 96, 1, 99.2 },
          { 'Mozambique', 97, 1, 98.4 },
          { 'Guinea', 98, 1, 97.7 },
          { 'Nicaragua', 99, 2, 96.9 },
          { 'Jamaica', 100, 2, 96.1 },
          { 'Albania', 101, 5, 94.7 },
          { 'Kenya', 102, 1, 94.2 },
          { 'Barbados', 103, -3, 93.0 },
          { 'Algeria', 104, 1, 91.0 },
          { 'Antigua and Barbuda', 105, -9, 90.6 },
          { 'Bahrain', 106, -2, 90.4 },
          { 'Chad', 107, 1, 86.4 },
          { 'Honduras', 108, 1, 85.7 },
          { 'Thailand', 109, -2, 85.2 },
          { 'Guyana', 110, 1, 84.2 },
          { 'Singapore', 111, 1, 79.3 },
          { 'Bolivia', 112, 4, 79.2 },
          { 'Hong Kong', 113, 1, 79.0 },
          { 'Saint Vincent and the Grenadines', 114, -4, 76.8 },
          { 'Congo', 115, 2, 76.2 },
          { 'Bermuda', 116, -3, 74.5 },
          { 'Suriname', 117, -2, 72.1 },
          { 'Belize', 118, 0, 71.7 },
          { 'Grenada', 119, 0, 71.4 },
          { 'Samoa', 120, 0, 71.1 },
          { 'Burundi', 121, 1, 70.1 },
          { 'El Salvador', 122, 1, 69.3 },
          { 'San Marino', 123, 1, 68.3 },
          { 'Madagascar', 124, 1, 68.0 },
          { 'UAE', 125, 1, 67.9 },
          { 'Malaysia', 126, -5, 67.0 },
          { 'South Africa', 127, 0, 65.8 },
          { 'Ecuador', 128, 1, 65.1 },
          { 'Cayman Islands', 129, -1, 62.4 },
          { 'Gabon', 130, 1, 60.1 },
          { 'British Virgin Islands', 131, -1, 59.6 },
          { 'Sri Lanka', 132, 0, 59.2 },
          { 'Montserrat', 133, 0, 57.2 },
          { 'Seychelles', 134, 0, 56.0 },
          { 'Burkina Faso', 135, 0, 55.0 },
          { 'Moldova', 136, 1, 54.2 },
          { 'Zimbabwe', 137, -1, 53.0 },
          { 'Tonga', 138, 0, 52.8 },
          { 'Maldives', 139, 0, 52.2 },
          { 'Kuwait', 140, 1, 51.1 },
          { 'Vietnam', 141, -1, 50.3 },
          { 'Equatorial Guinea', 142, 0, 50.2 },
          { 'Bangladesh', 143, 1, 49.5 },
          { 'Benin', 144, 1, 49.1 },
          { 'Somalia', 145, 1, 48.6 },
          { 'Bhutan', 146, 1, 48.3 },
          { 'Zambia', 147, -4, 47.8 },
          { 'Gibraltar', 148, 0, 46.5 },
          { 'American Samoa', 149, 0, 46.5 },
          { 'Guatemala', 150, 0, 43.6 },
          { 'Botswana', 151, 0, 43.3 },
          { 'Tanzania', 152, 0, 42.2 },
          { 'Brunei Darussalam', 153, 1, 41.4 },
          { 'Nepal', 154, 1, 40.5 },
          { 'Macau', 155, -3, 40.3 },
          { 'St. Lucia', 156, 0, 39.4 },
          { 'Oman', 157, 0, 34.2 },
          { 'Fiji', 158, 0, 30.2 },
          { 'Cambodia', 159, 0, 28.8 },
          { 'Myanmar', 160, 0, 26.1 },
          { 'Cook Islands', 161, 0, 23.1 },
          { 'Haiti', 162, 0, 22.7 },
          { 'Eritrea', 163, 0, 20.3 },
          { 'Libya', 164, 0, 16.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' },
          {  '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", "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