Module:SportsRankings/data/FIBA World Rankings

From The Global Wiki
< Module:SportsRankings‎ | data
Revision as of 09:09, 19 November 2022 by en>NewManila2000 (Update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Module rating

Usage

{{#invoke:SportsRankings/data/FIBA World Rankings|function_name}}


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 },
          { 'Puerto Rico', 21, 1, 451.7 },
          { 'Tunisia', 22, -2, 447.5 },
          { 'Croatia', 23, 0, 445.1 },
          { 'Finland', 24, 1, 440.6 },
          { 'Dominican Republic', 25, 1, 438.3 },
          { 'New Zealand', 26, -2, 431.5 },
          { 'China', 27, 0, 407.7 },
          { 'Ukraine', 28, 0, 406.7 },
          { 'Latvia', 29, 1, 397.0 },
          { 'Belgium', 30, -1, 385.5 },
          { 'Mexico', 31, 0, 363.5 },
          { 'Georgia', 32, 0, 351.9 },
          { 'Israel', 33, 0, 342.4 },
          { 'Jordan', 34, 1, 337.8 },
          { 'Bosnia and Herzegovina', 35, 2, 337.5 },
          { 'Korea', 36, -2, 332.1 },
          { 'Senegal', 37, -1, 329.9 },
          { 'Japan', 38, 0, 327.9 },
          { 'Hungary', 39, 1, 326.5 },
          { 'Philippines', 40, 1, 315.7 },
          { 'Angola', 41, -2, 310.6 },
          { 'Lebanon', 42, 1, 307.2 },
          { "Cote d'Ivoire", 43, -1, 306.2 },
          { 'Estonia', 44, 0, 290.1 },
          { 'Uruguay', 45, 0, 285.6 },
          { 'Netherlands', 46, 0, 285.3 },
          { 'Great Britain', 47, 1, 276.1 },
          { 'Bulgaria', 48, -1, 276.0 },
          { 'Iceland', 49, 0, 260.1 },
          { 'Sweden', 50, 0, 252.4 },
          { 'Panama', 51, 0, 242.0 },
          { 'Colombia', 52, 0, 214.4 },
          { 'Portugal', 53, 1, 204.9 },
          { 'North Macedonia', 54, -1, 204.3 },
          { 'Egypt', 55, 0, 194.2 },
          { 'US Virgin Islands', 56, 0, 192.5 },
          { 'Bahamas', 57, 3, 188.9 },
          { 'Switzerland', 58, -1, 188.5 },
          { 'Romania', 59, 0, 186.0 },
          { 'Denmark', 60, -2, 185.7 },
          { 'Slovakia', 61, 1, 171.2 },
          { 'Austria', 62, -1, 169.6 },
          { 'South Sudan', 63, 0, 160.2 },
          { 'Chile', 64, 0, 158.5 },
          { 'Kazakhstan', 65, 0, 152.5 },
          { 'Cape Verde', 66, 0, 148.8 },
          { 'Cameroon', 67, 0, 146.0 },
          { 'Chinese Taipei', 68, 0, 144.5 },
          { 'Cuba', 69, 0, 143.7 },
          { 'Syria', 70, 0, 140.4 },
          { 'Saudi Arabia', 71, 2, 139.9 },
          { 'Congo DR', 72, -1, 139.4 },
          { 'Mali', 73, -1, 135.9 },
          { 'Uganda', 74, 0, 133.7 },
          { 'Central African Rep.', 75, 0, 131.8 },
          { 'Luxembourg', 76, 0, 131.3 },
          { 'Morocco', 77, 0, 124.4 },
          { 'Paraguay', 78, 0, 124.3 },
          { 'Kosovo', 79, 0, 123.6 },
          { 'Cyprus', 80, 2, 122.4 },
          { 'Indonesia', 81, -1, 121.6 },
          { 'Guam', 82, 5, 120.1 },
          { 'India', 83, 2, 119.7 },
          { 'Bahrain', 84, 2, 118.3 },
          { 'Guinea', 85, -4, 118.0 },
          { 'Rwanda', 86, -3, 117.9 },
          { 'Armenia', 87, 1, 115.2 },
          { 'Qatar', 88, 1, 113.9 },
          { 'Iraq', 89, 1, 110.8 },
          { 'Norway', 90, -6, 110.6 },
          { 'Palestine', 91, 0, 108.6 },
          { 'Thailand', 92, 10, 101.8 },
          { 'Costa Rica', 93, -1, 100.9 },
          { 'Kenya', 94, 0, 100.2 },
          { 'Ireland', 95, 0, 97.3 },
          { 'Nicaragua', 96, 0, 96.6 },
          { 'Mozambique', 97, 0, 94.0 },
          { 'Andorra', 98, 0, 92.8 },
          { 'Albania', 99, 0, 91.9 },
          { 'Barbados', 100, 0, 89.1},
          { 'Algeria', 101, 0, 89.1 },
          { 'Congo', 102, 1, 88.0 },
          { 'Malta', 103, 1, 88.0 },
          { 'Chad', 104, 1, 87.1 },
          { 'Honduras', 105, 1, 86.1 },
          { 'Mongolia', 106, 0, 81.8 },
          { 'Jamaica', 107, 0, 80.2 },
          { 'Bolivia', 108, 0, 79.9 },
          { 'Antigua and Barbuda', 109, 0, 79.1 },
          { 'Guyana', 110, 0, 78.8 },
          { 'Saint Vincent and the Grenadines', 111, 0, 78.8 },
          { 'Azerbaijan', 112, 0, 78.5 },
          { 'Malaysia', 113, 4, 78.4 },
          { 'Singapore', 114, -1, 75.5 },
          { 'Hong Kong', 115, 7, 73.7 },
          { 'UAE', 116, -2, 73.4 },
          { 'Belize', 117, -2, 73.3 },
          { 'Samoa', 118, -2, 72.1 },
          { 'Bermuda', 119, -1, 71.2 },
          { 'Grenada', 120, -1, 70.4 },
          { 'Tahiti', 121, -28, 69.2 },
          { 'Burundi', 122, -2, 68.7 },
          { 'Suriname', 123, -2, 68.3 },
          { 'San Marino', 124, -1, 67.5 },
          { 'South Africa', 125, -1, 67.3 },
          { 'Madagascar', 126, -1, 67.2 },
          { 'El Salvador', 127, -1, 61.8 },
          { 'Ecuador', 128, -1, 61.2 },
          { 'Cayman Islands', 129, -1, 61.1 },
          { 'Gabon', 130, -1, 60.8 },
          { 'Burkina Faso', 131, -1, 59.6 },
          { 'Vietnam', 132, 7, 58.5 },
          { 'British Virgin Islands', 133, -2, 57.9 },
          { 'Seychelles', 134, -2, 56.5 },
          { 'Montserrat', 135, -2, 56.3 },
          { 'Sri Lanka', 136, -2, 56.1 },
          { 'Kuwait', 137, -2, 54.6 },
          { 'Tonga', 138, -2, 53.5 },
          { 'Zimbabwe', 139, -2, 53.3 },
          { 'Maldives', 140, -2, 51.9 },
          { 'Benin', 141, -1, 49.9 },
          { 'Bangladesh', 142, -1, 49.0 },
          { 'Equatorial Guinea', 143, -1, 48.5 },
          { 'Bhutan', 144, -1, 48.0 },
          { 'Somalia', 145, -1, 47.8 },
          { 'Gibraltar', 146, -1, 47.5 },
          { 'Moldova', 147, -1, 47.5 },
          { 'Zambia', 148, -1, 47.3 },
          { 'American Samoa', 149, -1, 47.1 },
          { 'Oman', 150, -1, 44.5 },
          { 'Botswana', 151, -1, 43.5 },
          { 'Tanzania', 152, -1, 42.1 },
          { 'Macau', 153, -1, 41.3 },
          { 'Brunei Darussalam', 154, -1, 41.1 },
          { 'Guatemala', 155, -1, 40.9 },
          { 'Nepal', 156, -1, 40.2 },
          { 'St. Lucia', 157, -1, 38.9 },
          { 'Fiji', 158, -1, 30.5 },
          { 'Cambodia', 159, -1, 28.6 },
          { 'Myanmar', 160, -1, 26.6 },
          { 'Cook Islands', 161, -1, 23.3 },
          { 'Haiti', 162, -1, 22.4 },
          { 'Eritrea', 163, -1, 20.3 },
          { 'Libya', 164, -1, 16.1 },
}

-- 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