Moduli:SportsRankings/data/FIVB Women's World Rankings

local data = {}

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

-- general information about ranking and website being cited
data.source = {
    url = "https://en.volleyballworld.com/volleyball/world-ranking/women", 
	title = "The FIVB Women's World Ranking",
	website = "FIVB",
	language = "en"
}

-- date of latest update and previous one for movement
data.updated  = { 	day = 04, 	month = 'September',  year =2023 }
data.previous = { 	day = 16, 	month = 'July',  year =2023 }

-- see "Generating code" section on doc page for how to update the rankings

data.rankings = {
          { "Turkey", 1, 0, 380.93 },
          { "Brazil", 2, 0, 371.68 }, 
          { "Poland", 3, 0, 356.73 },
          { "United States", 4, 0, 351.07 },
          { "Italy", 5, 0, 343.79 },  
		  { "China", 6, 0, 337.12 }, 
          { "Serbia", 7, 0, 328.02 },
          { "Japan", 8, 0, 314.61 },
          { "Dominican Republic", 9, 0, 298.94 },
          { "Canada", 10, 0, 290.61 },     
          { "Netherlands", 11, 0, 286.67 },   
          { "Germany", 12, 0, 223.38 },
          { "Thailand", 13, 0, 213.59 },
          { "Belgium", 14, 0, 201.87 },
          { "France", 15, 0, 179.80 },
          { "Puerto Rico", 16, 0, 177.67 },
          { "Argentina", 17, 0, 177.17 },
          { "Czechia", 18, 0, 174.57 },      
          { "Ukraine", 19, 0, 173.25 },
          { "Kenya", 20, 0, 162.42 },
          { "Bulgaria", 21, 0, 150.17 },
          { "Colombia", 22, 0, 149.21 },
          { "Cuba", 23, 0, 147.63 },
          { "Slovenia", 24, 0, 141.92 },
          { "Cameroon", 25, 0, 135.69 },
          { "Slovakia", 26, 0, 133.82 },
          { "Sweden", 27, 0, 133.40 },
          { "Mexico", 28, 0, 130.37 },
          { "Bosnia and Herzegovina", 29, 0, 114.17 },
          { "Azerbaijan", 30, 0, 113.24 },
          { "Spain", 31, 0, 112.47 },
          { "Romania", 32, 0, 112.00 },
          { "Kazakhstan", 33, 0, 111.25 },
          { "Greece", 34, 0, 110.79 },          
          { "Croatia", 35, 0, 106.75 },          
          { "Egypt", 36, 0, 104.62 },          
          { "Austria", 37, 0, 101.46 },          
          { "Peru", 38, 0, 97.31 },
          { "Vietnam", 39, 0, 94.82 },
          { "Montenegro", 40, 0, 94.27 },       
          { "Hungary", 41, 0, 93.35 },
          { "Portugal", 42, 0, 92.48 },
          { "South Korea", 43, 0, 90.90 },
          { "Chinese Taipei", 44, 0, 89.16 },
          { "Finland", 45, 0, 88.14 },
          { "Switzerland", 46, 0, 87.21 },
          { "Algeria", 47, 0, 78.00 },
          { "Trinidad and Tobago", 48, 0, 69.02 },
          { "Estonia", 49, 0, 64.91 },         
          { "Costa Rica", 50, 0, 59.69 },          
          { "Morocco", 51, 0, 55.79 }, 
          { "Nigeria", 52, 0, 53.66 },          
          { "Latvia", 53, 0, 52.18 },          
          { "Virgin Islands", 54, 0, 50.57 },
          { "Indonesia", 55, 0, 47.97 },          
          { "Mali", 56, 0, 47.16 },          
          { "Iran", 57, 0, 46.64 },          
          { "Chile", 58, 0, 45.50 },
          { "Australia", 59, 0, 44.12 },
          { "Rwanda", 60, 0, 43.25 },
          { "Israel", 61, 0, 41.24 },
          { "India", 62, 0, 40.19 },
          { "Philippines", 63, 0, 39.91 },
          { "Macao", 64, 0, 39.83 },
          { "Georgia", 65, 0, 39.47 },
          { "Uganda", 66, 0, 39.43 },
          { "Hong Kong", 67, 0, 38.47 },          
          { "North Macedonia", 68, 0, 37.79 },
          { "Iceland", 69, 0, 29.97 },          
          { "Luxembourg", 70, 0, 29.05 },
          { "Faroe Islands", 71, 0, 27.97 },
          { "Burkina Faso", 72, 0, 27.11 },
          { "Mongolia", 73, 0, 24.53 },          
		  { "Denmark", 74, 0, 20.84 },
          { "Uzbekistan", 75, 0, 5.85 },
          { "Burundi", 76, 0, 1.11 },
}

-- list of FIVB country codes
data.alias = { 
		{ "AFG",  "Afghanistan" },
        { "AIA",  "Anguilla" },
        { "ALB",  "Albania" },
        { "ALG",  "Algeria" },
        { "AND",  "Andorra" },
        { "ANG",  "Angola" },
        { "ARG",  "Argentina" },
        { "ARM",  "Armenia" },
        { "ARU",  "Aruba" },
        { "ASA",  "American Samoa" },
        { "ATG",  "Antigua and Barbuda" },
        { "AUS",  "Australia" },
        { "AUT",  "Austria" },
        { "AZE",  "Azerbaijan" },
        { "BAH",  "Bahamas" },
        { "BAN",  "Bangladesh" },
        { "BDI",  "Burundi" },
        { "BEL",  "Belgium" },
        { "BEN",  "Benin" },
        { "BER",  "Bermuda" },
        { "BFA",  "Burkina Faso" },
        { "BHR",  "Bahrain" },
        { "BHU",  "Bhutan" },
        { "BIH",  "Bosnia and Herzegovina" },
        { "BLR",  "Belarus" },
        { "BLZ",  "Belize" },
        { "BOL",  "Bolivia" },
        { "BOT",  "Botswana" },
        { "BRA",  "Brazil" },
        { "BRB",  "Barbados" },
        { "BRU",  "Brunei Darussalam" },
        { "BUL",  "Bulgaria" },
        { "CAM",  "Cambodia" },
        { "CAN",  "Canada" },
        { "CAY",  "Cayman Islands" },
        { "CGO",  "Congo" },
        { "CHA",  "Chad" },
        { "CHI",  "Chile" },
        { "CHN",  "China PR" },
        { "CIV",  "Côte d'Ivoire" },
        { "CMR",  "Cameroon" },
        { "COD",  "Congo DR" },
        { "COK",  "Cook Islands" },
        { "COL",  "Colombia" },
        { "COM",  "Comoros" },
        { "CPV",  "Cabo Verde" },
        { "CRC",  "Costa Rica" },
        { "CRO",  "Croatia" },
        { "CTA",  "Central African Republic" },
        { "CUB",  "Cuba" },
        { "CUW",  "Curaçao" },
        { "CYP",  "Cyprus" },
        { "CZE",  "Czechia" },
        { "DEN",  "Denmark" },
        { "DJI",  "Djibouti" },
        { "DMA",  "Dominica" },
        { "DOM",  "Dominican Republic" },
        { "ECU",  "Ecuador" },
        { "EGY",  "Egypt" },
        { "ENG",  "England" },
        { "EQG",  "Equatorial Guinea" },
        { "ERI",  "Eritrea" },
        { "ESP",  "Spain" },
        { "EST",  "Estonia" },
        { "ETH",  "Ethiopia" },
        { "FIJ",  "Fiji" },
        { "FIN",  "Finland" },
        { "FRA",  "France" },
        { "FRO",  "Faroe Islands" },
        { "GAB",  "Gabon" },
        { "GAM",  "The Gambia" },
        { "GEO",  "Georgia" },
        { "GER",  "Germany" },
        { "GHA",  "Ghana" },
        { "GIB",  "Gibraltar" },
        { "GNB",  "Guinea-Bissau" },
        { "GRE",  "Greece" },
        { "GRN",  "Grenada" },
        { "GUA",  "Guatemala" },
        { "GUI",  "Guinea" },
        { "GUM",  "Guam" },
        { "GUY",  "Guyana" },
        { "HAI",  "Haiti" },
        { "HKG",  "Hong Kong" },
        { "HON",  "Honduras" },
        { "HUN",  "Hungary" },
        { "IDN",  "Indonesia" },
        { "IND",  "India" },
        { "IRL",  "Republic of Ireland" },
        { "IRN",  "IR Iran" },
        { "IRQ",  "Iraq" },
        { "ISL",  "Iceland" },
        { "ISR",  "Israel" },
        { "ITA",  "Italy" },
        { "JAM",  "Jamaica" },
        { "JOR",  "Jordan" },
        { "JPN",  "Japan" },
        { "KAZ",  "Kazakhstan" },
        { "KEN",  "Kenya" },
        { "KGZ",  "Kyrgyz Republic" },
        { "KOR",  "Korea Republic" },
        { "KSA",  "Saudi Arabia" },
        { "KUW",  "Kuwait" },
        { "KOS",  "Kosovo" },
        { "LAO",  "Laos" },
        { "LBR",  "Liberia" },
        { "LBY",  "Libya" },
        { "LCA",  "St Lucia" },
        { "LES",  "Lesotho" },
        { "LBN",  "Lebanon" },
        { "LIE",  "Liechtenstein" },
        { "LTU",  "Lithuania" },
        { "LUX",  "Luxembourg" },
        { "LVA",  "Latvia" },
        { "MAC",  "Macau" },
        { "MAD",  "Madagascar" },
        { "MAR",  "Morocco" },
        { "MAS",  "Malaysia" },
        { "MDA",  "Moldova" },
        { "MDV",  "Maldives" },
        { "MEX",  "Mexico" },
        { "MKD",  "North Macedonia" },
        { "MLI",  "Mali" },
        { "MLT",  "Malta" },
        { "MNE",  "Montenegro" },
        { "MNG",  "Mongolia" },
        { "MOZ",  "Mozambique" },
        { "MRI",  "Mauritius" },
        { "MSR",  "Montserrat" },
        { "MTN",  "Mauritania" },
        { "MWI",  "Malawi" },
        { "MYA",  "Myanmar" },
        { "NAM",  "Namibia" },
        { "NCA",  "Nicaragua" },
        { "NCL",  "New Caledonia" },
        { "NED",  "Netherlands" },
        { "NEP",  "Nepal" },
        { "NGA",  "Nigeria" },
        { "NIG",  "Niger" },
        { "NIR",  "Northern Ireland" },
        { "NOR",  "Norway" },
        { "NZL",  "New Zealand" },
        { "OMA",  "Oman" },
        { "PAK",  "Pakistan" },
        { "PAN",  "Panama" },
        { "PAR",  "Paraguay" },
        { "PER",  "Peru" },
        { "PHI",  "Philippines" },
        { "PLE",  "Palestine" },
        { "PNG",  "Papua New Guinea" },
        { "POL",  "Poland" },
        { "POR",  "Portugal" },
        { "PRK",  "Korea DPR" },
        { "PUR",  "Puerto Rico" },
        { "QAT",  "Qatar" },
        { "ROU",  "Romania" },
        { "RSA",  "South Africa" },
        { "RUS",  "Russia" },
        { "RWA",  "Rwanda" },
        { "SAM",  "Samoa" },
        { "SCO",  "Scotland" },
        { "SDN",  "Sudan" },
        { "SEN",  "Senegal" },
        { "SEY",  "Seychelles" },
        { "SGP",  "Singapore" },
        { "SKN",  "St Kitts and Nevis" },
        { "SLE",  "Sierra Leone" },
        { "SLV",  "El Salvador" },
        { "SMR",  "San Marino" },
        { "SOL",  "Solomon Islands" },
        { "SOM",  "Somalia" },
        { "SRB",  "Serbia" },
        { "SRI",  "Sri Lanka" },
        { "SSD",  "South Sudan" },
        { "STP",  "São Tomé and Príncipe" },
        { "SUI",  "Switzerland" },
        { "SUR",  "Suriname" },
        { "SVK",  "Slovakia" },
        { "SVN",  "Slovenia" },
        { "SWE",  "Sweden" },
        { "SWZ",  "Eswatini" },
        { "SYR",  "Syria" },
        { "TAH",  "Tahiti" },
        { "TAN",  "Tanzania" },
        { "TCA",  "Turks and Caicos Islands" },
        { "TGA",  "Tonga" },
        { "THA",  "Thailand" },
        { "TJK",  "Tajikistan" },
        { "TKM",  "Turkmenistan" },
        { "TLS",  "Timor-Leste" },
        { "TOG",  "Togo" },
        { "TPE",  "Chinese Taipei" },
        { "TRI",  "Trinidad and Tobago" },
        { "TUN",  "Tunisia" },
        { "TUR",  "Türkiye" },
        { "UAE",  "United Arab Emirates" },
        { "UGA",  "Uganda" },
        { "UKR",  "Ukraine" },
        { "URU",  "Uruguay" },
        { "USA",  "USA" },
        { "UZB",  "Uzbekistan" },
        { "VAN",  "Vanuatu" },
        { "VEN",  "Venezuela" },
        { "VGB",  "British Virgin Islands" },
        { "VIE",  "Vietnam" },
        { "VIN",  "St Vincent and the Grenadines" },
        { "VIR",  "US Virgin Islands" },
        { "WAL",  "Wales" },
        { "YEM",  "Yemen" },
        { "ZAM",  "Zambia" },
        { "ZIM",  "Zimbabwe" },
        -- Alternate names
        { "TUR",  "Turkey" },
        { "CZE",  "Czech Republic" },
        { "CUW",  "Curacao" },
        { "BRU",  "Brunei" },
        { "CPV",  "Cape Verde" },
        { "CPV",  "Cape Verde Islands" },
        { "CHN",  "China" },
        { "COD",  "DR Congo" },
        { "GAM",  "Gambia" },
        { "IRN",  "Iran" },
        { "CIV",  "Ivory Coast" },
        { "PRK",  "North Korea" },
        { "KOR",  "South Korea" },
        { "KGZ",  "Kyrgyzstan" },
        { "SKN",  "Saint Kitts and Nevis" },
        { "SKN",  "St. Kitts and Nevis" },
        { "LCA",  "Saint Lucia" },
        { "LCA",  "St. Lucia" },
        { "VIN",  "Saint Vincent and the Grenadines" },
        { "VIN",  "St. Vincent and the Grenadines" },
        { "STP",  "São Tomé e Príncipe" },
        { "STP",  "Sao Tome e Principe" },
        { "USA",  "United States" },
        { "VIR",  "U.S. Virgin Islands" },
        { "VIR",  "United States Virgin Islands" },
}
-- List of FIVB confederations
data.confederation = { 
	CAVB = { "CMR", "KEN", "MAR", "SEN", "TUN" },
	
	AVC = { "CHN", "JPN", "KAZ", "KOR", "THA" },
	
	CEV = { "AUT", "AZE", "BLR", "BEL", "BIH", "BUL", "CRO", "CYP", "CZE",
		"DEN", "EST", "FRO", "FIN", "FRA", "GEO", "GER", "GRE", "HUN", "ISL",
		"ISR", "ITA", "LVA", "LUX", "MNE", "NED", "NOR", "POL", "POR", "ROU",
		"RUS", "SRB", "SVK", "SVN", "ESP", "SWE", "SUI", "TUR", "UKR"
	},
	
	NORCECA = { "CAN", "CRC", "CUB", "DOM", "MEX", "NCA", "PUR", "USA"
		},
	
	CSV = { "ARG", "BRA", "COL", "PER", "VEN"
		},
		
	}
    	                          
return data