模組:SportsRankings/data/FIBA Women's World Rankings

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 = 26, 	month = 8,  year =2024 }
data.previous = { 	day = 11, 	month = 2,  year =2024 }

--[[ the rankings list
     copy rankings from FIBA and use follow excel to generate table entre
         =CONCAT("          {  '", B1, "',  ",A1,",  ",F1,",  ",E1," },")
     must manual fix for apostrophe in "Cote d'Ivoire"
--]]
data.rankings = {
	    --	{ country code, rank, move },
          {  'USA',  1,  0,  883.3 },
          {  'Australia',  2,  1,  715.4 },
          {  'France',  3,  4,  706.4 },
          {  'China',  4,  -2,  700.0 },
          {  'Spain',  5,  -1,  694.9 },
          {  'Belgium',  6,  0,  684.1 },
          {  'Canada',  7,  -2,  658.0 },
          {  'Nigeria',  8,  4,  631.0 },
          {  'Serbia',  9,  1,  627.1 },
          {  'Japan',  10,  -1,  606.6 },
          {  'Brazil',  11,  -3,  565.9 },
          {  'Puerto Rico',  12,  -1,  521.7 },
          {  'Germany',  13,  8,  493.8 },
          {  'Korea',  14,  -1,  448.5 },
          {  'Hungary',  15,  1,  377.6 },
          {  'Italy',  16,  -1,  371.1 },
          {  'Turkiye',  17,  -3,  345.6 },
          {  'Greece',  18,  1,  333.0 },
          {  'Bosnia and Herzegovina',  19,  -1,  332.7 },
          {  'Mali',  20,  0,  326.7 },
          {  'Czech Republic',  21,  2,  324.9 },
          {  'Montenegro',  22,  0,  321.5 },
          {  'Great Britain',  23,  -2,  314.9 },
          {  'Senegal',  24,  1,  295.4 },
          {  'Slovenia',  25,  -1,  291.1 },
          {  'New Zealand',  26,  0,  285.3 },
          {  'Sweden',  27,  0,  267.0 },
          {  'Latvia',  28,  1,  262.2 },
          {  'Slovakia',  29,  -1,  256.4 },
          {  'Colombia',  30,  0,  237.2 },
          {  'Argentina',  31,  0,  231.8 },
          {  'Mozambique',  32,  1,  215.6 },
          {  'Ukraine',  33,  -1,  206.9 },
          {  'Croatia',  34,  0,  196.8 },
          {  'Chinese Taipei',  35,  2,  186.3 },
          {  'Dominican Republic',  36,  -1,  185.2 },
          {  'Cameroon',  37,  4,  180.9 },
          {  'Egypt',  38,  1,  180.1 },
          {  'Philippines',  39,  1,  179.3 },
          {  'Venezuela',  40,  -4,  179.3 },
          {  'Mexico',  41,  4,  163.5 },
          {  'Angola',  42,  0,  163.5 },
          {  'Cuba',  43,  -5,  162.4 },
          {  'Poland',  44,  0,  162.4 },
          {  'Lithuania',  45,  -2,  161.8 },
          {  'Portugal',  46,  0,  158.3 },
          {  'Israel',  47,  0,  154.5 },
          {  "Cote d'Ivoire",  48,  0,  144.5 },
          {  'Lebanon',  49,  2,  144.1 },
          {  'Netherlands',  50,  -1,  140.1 },
          {  'Denmark',  51,  -1,  138.2 },
          {  'Indonesia',  52,  0,  137.6 },
          {  'Virgin Islands',  53,  1,  130.7 },
          {  'Iran',  54,  1,  130.1 },
          {  'Uganda',  55,  3,  126.7 },
          {  'El Salvador',  56,  0,  125.3 },
          {  'Luxembourg',  57,  -4,  123.3 },
          {  'Romania',  58,  -1,  123.3 },
          {  'Bulgaria',  59,  0,  119.2 },
          {  'Finland',  60,  0,  118.2 },
          {  'Jordan',  61,  1,  116.2 },
          {  'Rwanda',  62,  12,  115.5 },
          {  'Thailand',  63,  2,  115.5 },
          {  'Norway',  64,  11,  113.0 },
          {  'Switzerland',  65,  -4,  112.7 },
          {  'Kenya',  66,  0,  108.5 },
          {  'Iceland',  67,  -3,  107.1 },
          {  'Guatemala',  68,  -1,  103.2 },
          {  'Paraguay',  69,  -6,  101.2 },
          {  'Malaysia',  70,  -1,  100.5 },
          {  'Congo DR',  71,  -1,  98.4 },
          {  'Estonia',  72,  -4,  98.1 },
          {  'Malta',  73,  7,  96.4 },
          {  'Kazakhstan',  74,  -2,  95.1 },
          {  'North Macedonia',  75,  -2,  94.5 },
          {  'Cyprus',  76,  0,  91.4 },
          {  'India',  77,  2,  91.3 },
          {  'Costa Rica',  78,  -7,  90.0 },
          {  'Chile',  79,  -2,  86.4 },
          {  'Austria',  80,  2,  82.3 },
          {  'Kosovo',  81,  5,  81.2 },
          {  'Bahamas',  82,  -4,  80.9 },
          {  'Syria',  83,  0,  80.7 },
          {  'Albania',  84,  8,  78.6 },
          {  'Ireland',  85,  -4,  76.4 },
          {  'Armenia',  86,  0,  75.9 },
          {  'Mongolia',  87,  1,  70.0 },
          {  'Guinea',  88,  -1,  70.0 },
          {  'Barbados',  89,  -4,  69.5 },
          {  'Cape Verde',  90,  -1,  69.3 },
          {  'Uzbekistan',  91,  -1,  68.9 },
          {  'Singapore',  92,  -1,  68.7 },
          {  'Ecuador',  93,  -9,  67.1 },
          {  'Panama',  94,  0,  64.7 },
          {  'Uruguay',  95,  -2,  64.2 },
          {  'Zimbabwe',  96,  1,  63.3 },
          {  'Tunisia',  97,  1,  59.8 },
          {  'Honduras',  98,  -2,  59.1 },
          {  'Jamaica',  99,  1,  57.2 },
          {  'St. Vincent and the Grenadines',  100,  -1,  56.7 },
          {  'South Sudan',  101,  0,  52.5 },
          {  'Andorra',  102,  9,  50.8 },
          {  'Korea DPR',  103,  -1,  50.0 },
          {  'Moldova',  104,  -10,  47.7 },
          {  'Suriname',  105,  -1,  47.0 },
          {  'Nicaragua',  106,  -3,  46.7 },
          {  'Azerbaijan',  107,  -2,  43.5 },
          {  'Central African Rep.',  108,  -1,  40.8 },
          {  'Fiji',  109,  -1,  40.0 },
          {  'Gibraltar',  110,  -4,  39.3 },
          {  'Zambia',  111,  -2,  38.9 },
          {  'Benin',  112,  -2,  37.1 },
          {  'Sri Lanka',  113,  -1,  35.0 },
          {  'Gabon',  114,  -1,  28.1 },
          {  'Guyana',  115,  -1,  26.1 },
          {  'Georgia',  116,  0,  26.0 },
}

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