模組:SportsRankings/data/FIBA World Rankings Girls

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/rankinggirls',
    title  = 'FIBA Ranking Presented by Nike', 
	website = "FIBA"
}

-- date of latest update and previous one for movement
data.updated  = { 	day = 1, 	month = 12,  year =2023 }
data.previous = { 	day = 14, 	month = 12,  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,  830.2 },
          {  'France',  2,  0,  726.2 },
          {  'Canada',  3,  2,  721.1 },
          {  'Spain',  4,  0,  717.9 },
          {  'Australia',  5,  -2,  699.2 },
          {  'Slovenia',  6,  4,  685.6 },
          {  'Hungary',  7,  -1,  669.9 },
          {  'Belgium',  8,  0,  655.9 },
          {  'Japan',  9,  4,  629.2 },
          {  'Finland',  10,  6,  608.9 },
          {  'Croatia',  11,  7,  597.1 },
          {  'Mali',  12,  8,  592.4 },
          {  'Czech Republic',  13,  2,  578.1 },
          {  'Germany',  14,  0,  576.3 },
          {  'Italy',  15,  -4,  573.8 },
          {  'Serbia',  16,  20,  567.4 },
          {  'Lithuania',  17,  -10,  564.9 },
          {  'Poland',  18,  5,  543.2 },
          {  'China',  19,  -7,  536.6 },
          {  'Egypt',  20,  1,  529.9 },
          {  'Latvia',  21,  -4,  520.6 },
          {  'Puerto Rico',  22,  3,  499.6 },
          {  'Portugal',  23,  -1,  497.3 },
          {  'Turkiye',  24,  0,  496.2 },
          {  'Korea',  25,  1,  479.7 },
          {  'Greece',  26,  -7,  470.4 },
          {  'Colombia',  27,  3,  461.3 },
          {  'Chinese Taipei',  28,  1,  451.8 },
          {  'Brazil',  29,  2,  441.4 },
          {  'Argentina',  30,  -3,  438.5 },
          {  'New Zealand',  31,  1,  430.7 },
          {  'Israel',  32,  -4,  419.2 },
          {  'Angola',  33,  5,  407.0 },
          {  'Mexico',  34,  0,  384.5 },
          {  'Tunisia',  35,  0,  336.3 },
          {  'Uganda',  36,  5,  327.8 },
          {  'Sweden',  37,  -3,  294.1 },
          {  'Algeria',  38,  4,  275.2 },
          {  'Madagascar',  39,  7,  253.9 },
          {  'Chile',  40,  -4,  252.8 },
          {  'Slovakia',  41,  6,  249.4 },
          {  'Indonesia',  42,  7,  239.9 },
          {  'Montenegro',  43,  15,  239.4 },
          {  'Tanzania',  44,  7,  236.5 },
          {  'India',  45,  -1,  234.8 },
          {  'Bosnia and Herzegovina',  46,  -7,  234.0 },
          {  'Morocco',  47,  0,  232.7 },
          {  'Samoa',  48,  23,  232.4 },
          {  'Philippines',  49,  8,  230.9 },
          {  'Iceland',  50,  10,  225.6 },
          {  'Syria',  51,  16,  225.4 },
          {  'Netherlands',  52,  -2,  216.1 },
          {  'Great Britain',  53,  0,  215.3 },
          {  'Dominican Republic',  54,  0,  211.3 },
          {  'Ukraine',  55,  -3,  210.4 },
          {  'Denmark',  56,  -16,  209.7 },
          {  'Senegal',  57,  -3,  207.9 },
          {  'Bulgaria',  58,  -2,  201.6 },
          {  'Ireland',  59,  -11,  197.4 },
          {  'Estonia',  60,  16,  193.9 },
          {  'Luxembourg',  61,  2,  190.1 },
          {  'El Salvador',  62,  -3,  184.2 },
          {  'Malaysia',  63,  1,  182.2 },
          {  'Austria',  64,  -9,  181.6 },
          {  'Romania',  65,  -3,  180.7 },
          {  'Iran',  66,  2,  177.1 },
          {  'Rwanda',  67,  3,  173.3 },
          {  'Mongolia',  68,  -3,  172.3 },
          {  'Costa Rica',  69,  -8,  172.1 },
          {  'Thailand',  70,  -25,  171.9 },
          {  'Chad',  71,  -5,  168.0 },
          {  'Guinea',  72,  1,  164.4 },
          {  'Hong Kong',  73,  -4,  151.7 },
          {  'Tahiti',  74,  1,  140.0 },
          {  'Kazakhstan',  75,  -1,  133.4 },
          {  'Norway',  76,  -4,  132.4 },
          {  'Jordan',  77,  11,  123.7 },
          {  'Switzerland',  78,  -1,  114.4 },
          {  'North Macedonia',  79,  0,  113.9 },
          {  'Malta',  80,  4,  113.8 },
          {  'Azerbaijan',  81,  0,  113.4 },
          {  'Albania',  82,  9,  109.5 },
          {  'Cyprus',  83,  -5,  108.4 },
          {  'Georgia',  84,  -3,  108.4 },
          {  'Armenia',  85,  -2,  107.1 },
          {  'Lebanon',  86,  -4,  106.5 },
          {  'Singapore',  87,  2,  105.0 },
          {  'New Caledonia',  88,  -3,  98.9 },
          {  'Gabon',  89,  -3,  96.9 },
          {  'Guam',  90,  8,  88.1 },
          {  'Andorra',  91,  3,  84.7 },
          {  'Papua New Guinea',  92,  -5,  76.1 },
          {  'Marshall Islands',  93,  2,  72.6 },
          {  'Cook Islands',  94,  2,  71.2 },
          {  'Kosovo',  95,  -2,  57.5 },
          {  'Maldives',  96,  5,  55.8 },
          {  'Moldova',  97,  3,  49.5 },
          {  'Palau',  98,  5,  38.5 },
          {  'Gibraltar',  99,  0,  36.7 },
}

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