Module:SportsRankings/data/FIBA Women's World Rankings

Documentation for this module may be created at Module:SportsRankings/data/FIBA Women's World Rankings/doc

local data = {}

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

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

-- date of latest update and previous one for movement
data.updated  = { 	day = 28, 	month = 'February',  year =2023 }
data.previous = { 	day = 10, 	month = 'October',  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, 848.8 },
          {  'China', 2, 0, 676.5 },
          {  'Australia', 3, 0, 668.3 },
          {  'Spain', 4, 0, 665.4 },
          {  'Canada', 5, -0, 648.9 },
          {  'France', 6, 0, 635.2 },
          {  'Belgium', 7, 0, 632.7 },
          {  'Serbia', 8, 0, 582.9 },
          {  'Japan', 9, 0, 578.9 },
          {  'Puerto Rico', 10, 0, 487.4 },
          {  'Turkey', 11, 0, 467.0 },
          {  'Korea', 12, 0, 436.7 },
          {  'Brazil', 13, 0, 408.7 },
          {  'Italy', 14, 2, 396.8 },
          {  'Bosnia and Herzegovina', 15, -1, 386.3 },
          {  'Nigeria', 16, -1, 378.3 },
          {  'Greece', 17, -0, 355.0 },
          {  'Sweden', 18, -0, 332.5 },
          {  'Slovenia', 19, 0, 309.0 },
          {  'Great Britain', 20, 1, 302.5 },
          {  'Montenegro', 21, -1, 290.6 },
          {  'Great Britain', 21, -2, 278.2 },
          {  'Czech Republic', 22, -2, 266.0 },
          {  'Slovakia', 23, 0, 263.6 },
          {  'Latvia', 24, -2, 263.1 },
          {  'Ukraine', 25, 0, 254.8 },
          {  'Mali', 26, 9, 254.5 },
          {  'Hungary', 27, -1, 253.9 },
          {  'Croatia', 28, -1, 234.0 },
          {  'New Zealand', 29, 4, 225.7 },
          {  'Argentina', 30, -1, 224.6 },
          {  'Senegal', 31, -3, 223.3 },
          {  'Colombia', 32, 2, 212.9 },
          {  'Chinese Taipei', 33, -2, 211.2 },
          {  'Lithuania', 34, -2, 181.0 },
          {  'Cuba', 35, -5, 169.4 },
          {  'Dominican Republic', 36, 0, 163.6 },
          {  'Germany', 37, 0, 157.8 },
          {  'Virgin Islands', 38, 0, 154.2 },
          {  'Philippines', 39, 2, 150.1 },
          {  'Lebanon', 40, 3, 147.4 },
          {  'Venezuela', 41, 9, 147.1 },
          {  'Egypt', 42, 2, 146.8 },
          {  'Netherlands', 43, 2, 142.1 },
          {  'Poland', 44, -4, 138.6 },
          {  'Romania', 45, 1, 136.1 },
          {  'Angola', 46, -4, 135.0 },
          {  'Mozambique', 47, -8, 133.8 },
          {  'Mexico', 48, -1, 132.6 },
          {  'Bulgaria', 49, 0, 131.3 },
          {  'Cameroon', 50, 1, 129.9 },
          {  'Portugal', 51, -3, 128.7 },
          {  "Cote d'Ivoire", 52, 1, 124.2 },
          {  'Switzerland', 53, 2, 119.8 },
          {  'Israel', 54, -2, 119.6 },
          {  'Paraguay', 55, 8, 115.8 },
          {  'Denmark', 56, -2, 112.7 },
          {  'India', 57, -1, 110.9 },
          {  'Indonesia', 58, 1, 106.4 },
          {  'Finland', 59, 2, 103.7 },
          {  'Estonia', 60, -2, 103.1 },
          {  'Kazakhstan', 61, -1, 98.3 },
          {  'Iceland', 62, 0, 95.7 },
          {  'Chile', 63, 7, 94.6 },
          {  'Norway', 64, 30, 94.2 },
          {  'Bahamas', 65, 2, 94.1 },
          {  'Cyprus', 66, 16, 93.0 },
          {  'Luxembourg', 67, -10, 91.3 },
          {  'Kenya', 68, 3, 86.3 },
          {  'Malta', 69, -4, 86.0 },
          {  'Congo DR', 70, -1, 86.0 },
          {  'El Salvador', 71, 19, 85.9 },
          {  'Syria', 72, 1, 85.0 },
          {  'Jordan', 73, 6, 83.8 },
          {  'Costa Rica', 74, 11, 82.4 },
          {  'Iran', 75, 0, 81.5 },
          {  'Guatemala', 76, 23, 80.3 },
          {  'Ecuador', 77, -1, 79.8 },
          {  'Ireland', 78, -14, 79.8 },
          {  'Malaysia', 79, -13, 78.3 },
          {  'North Macedonia', 80, -2, 76.9 },
          {  'Gabon', 81, -7, 76.6 },
          {  'Barbados', 82, 5, 75.4 },
          {  'Korea DPR', 83, -11, 75.1 },
          {  'Uzbekistan', 84, -4, 73.5 },
          {  'Singapore', 85, -4, 72.6 },
          {  'Kosovo', 86, -9, 72.3 },
          {  'Jamaica', 87, -19, 71.9 },
          {  'Rwanda', 88, 1, 71.2 },
          {  'Uganda', 89, -6, 70.0 },
          {  'Cape Verde', 90, -4, 67.1 },
          {  'Antigua and Barbuda', 91, 4, 67.0 },
          {  'Albania', 92, 0, 66.4 },
          {  'Uruguay', 93, 14, 66.0 },
          {  'Algeria', 94, -1, 64.2 },
          {  'Tunisia', 95, 1, 62.5 },
          {  'Moldova', 96, -8, 61.4 },
          {  'Saint Vincent and the Grenadines', 97, 1, 60.8 },
          {  'Guinea', 98, 3, 59.4 },
          {  'British Virgin Islands', 99, 4, 57.2 },
          {  'Thailand', 100, -16, 56.5 },
          {  'Honduras', 101, -1, 53.3 },
          {  'South Africa', 102, 6, 53.2 },
          {  'Hong Kong', 103, 2, 52.0 },
          {  'Austria', 104, -8, 50.0 },
          {  'Zimbabwe', 105, 4, 46.7 },
          {  'Suriname', 106, 5, 44.8 },
          {  'Panama', 107, -4, 44.3 },
          {  'Fiji', 108, 4, 43.3 },
          {  'Central African Rep.', 109, 4, 42.3 },
          {  'Gibraltar', 110, -2, 42.2 },
          {  'Morocco', 111, 3, 41.8 },
          {  'Benin', 112, 3, 40.2 },
          {  'South Sudan', 113, 3, 40.0 },
          {  'Andorra', 114, -9, 39.8 },
          {  'Sri Lanka', 115, 2, 35.6 },
          {  'Nicaragua', 116, 2, 32.0 },
          {  'Guyana', 117, 2, 31.8 },
          {  'Botswana', 118, 2, 29.5 },
}

-- 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' },
          {  'BRN',  'Bahrain' },
          {  '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' },
          {  'PRK',  'Korea DPR' },
          {  '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' },
          {  'TON',  'Tonga' },
          {  'TPE',  'Chinese Taipei' },
          {  'TTO',  'Trinidad and Tobago' },
          {  '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", "SEN", "MLI", "MOZ", "ANG", "EGY", "CMR", "CIV", "KEN",
		"COD", "GAB", "UGA", "CPV", "RWA", "TUN", "ALG", "GUI", "RSA", "ZIM",
		"BDI", "CAF", "MAR", "BEN", "SSD", "BOT", "TAN"
	},
	Americas = { "USA", "CAN", "BRA", "PUR", "ARG", "CUB", "COL", "DOM", "ISV", 
		"MEX", "VEN", "PAR", "JAM", "BAH", "CHI", "ECU", "BAR", "CRC", "ESA",
		"TTO", "ATG", "VIN", "GUA", "HON", "IVB", "PAN", "URU", "SUR", "GUY", 
		"NCA"
	},
	Asia = { "AUS", "CHN", "JPN", "KOR", "TPE", "NZL", "PHI", "LBN", "KAZ",
		"MAS", "IND", "INA", "PRK", "IRI", "UZB", "SGP", "THA", "SYR", "HKG",
		"FIJ", "SRI", "JOR"
	},
	Europe = { "ESP", "FRA", "BEL", "SRB", "TUR", "BLR", "RUS", "ITA", "GRE",
		"SWE", "MNE", "GBR", "CZE", "SVK", "LAT", "SLO", "UKR", "BIH", "HUN", 
		"CRO", "LTU", "POL", "GER", "BUL", "ROU", "NED", "ISR", "POR", "LUX",
		"DEN", "SUI", "IRL", "AUT", "EST", "FIN", "MLT", "ISL", "KOS", "MKD", 
		"CYP", "MDA", "NOR", "ALB", "AZE", "AND", "GIB"
		
	},
}
return data