Moduli:SportsRankings/data/WBSC World Rankings

Nga Wikipedia, enciklopedia e lirë
local data = {}

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

-- general information about ranking and website being cited
data.source = {
    url = "https://rankings.wbsc.org/list/baseball/men", 
	title = "The WBSC World Ranking",
	website = "WBSC",
	language = "en"
}

-- date of latest update and previous one for movement
data.updated  = { 	day = 28, 	month = 'March',  year =2023 }
data.previous = { 	day = 31, 	month = 'December',  year =2022 }

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

data.rankings = {
          { "Japan", 1, 0, 5323 },
          { "United States", 2, 1, 4402 },
          { "Mexico", 3, 2, 4130 },
          { "Chinese Taipei", 4, -2, 4061 },
          { "South Korea", 5, -1, 4049 },
          { "Venezuela", 6, 0, 3534 },
          { "Cuba", 7, 1, 3151 },
          { "Netherlands", 8, -1, 3089 },
          { "Australia", 9, 1, 2600 },
          { "Dominican Republic", 10, -1, 2415 },
          { "Puerto Rico", 11, 2, 2230 },
          { "Italy", 12, 4, 2017 },
          { "Canada", 13, 1, 1970 },
          { "Panama", 14, -2, 1936 },
          { "Colombia", 15, -4, 1826 },
          { "Czech Republic", 16, -1, 1745 },
          { "Nicaragua", 17, 0, 1334 },
          { "Israel", 18, 2, 1134 },
          { "Germany", 19, -1, 1075 },
          { "Great Britain", 20, 2, 882 },
          { "Spain", 21, -2, 806 },
          { "France", 22, -1, 672 },
          { "China", 23, 7, 471 },
          { "Brazil", 24, -1, 413 },
          { "Belgium", 25, -1, 412 },
          { "South Africa", 26, -1, 385 },
          { "Austria", 27, -1, 305 },
          { "Russia", 28, -1, 266 },
          { "Argentina", 29, -1, 241 },
          { "Coratia", 30, 1, 227 },
          { "Ukraine", 31, 1, 210 },
          { "Curaçao", 32, 1, 184 },
          { "Guam", 33, -4, 175 },
          { "Slovakia", 34, 0, 170 },
          { "Lithuania", 35, 0, 165 },
          { "Uganda", 36, 5, 159 },
          { "Greece", 37, -1, 136 },
          { "Pakistan", 38, 5, 119 }, 
          { "Sweden", 39, -2, 116 },
          { "Peru", 40, -1, 106 },
          { "Sri Lanka", 41, 4, 102 },
          { "Philippines", 42, -2, 97 },
          { "Honduras", 43, 9, 90 },
          { "Switzerland", 44, -2, 84 },
          { "New Zealand", 45, -7, 81 },
          { "Zimbabwe", 46, 0, 74 },
          { "Hungary", 47, 0, 73 },
          { "Kenya", 48, 6, 72 },
          { "Belarus", 49, -1, 65 },
          { "Serbia", 50, -1, 64 },
          { "Burkina Faso", 51, -1, 61 },
          { "Ireland", 52, -1, 60 },
          { "Guatemala", 53, 2, 59 },
          { "Hong Kong", 54, -1, 51 },
          { "India", 55, 6, 46 },
          { "Poland", 56, 0, 42 },
          { "Bulgaria", 57, 0, 40 },
          { "Fiji", 58, 0, 38 },
          { "El Salvador", 59, 2, 37 },
          { "Nigeria", 60, -1, 36 },
          { "Bangladesh", 61, 13, 33 },
          { "Costa Rica", 61, 15, 33 },
          { "Northern Mariana Islands", 61, -1, 33 },
          { "Finland", 64, -1, 31 },
          { "Palestine", 65, 0, 30 },
          { "Bahamas", 66, -2, 29 },
          { "Tanzania", 67, -1, 27 },
          { "Ghana", 68, -2, 23 },
          { "Iran", 68, -2, 23 },
          { "Slovenia", 68, -2, 23 },
          { "Romania", 71, -1, 20 },
          { "Ecuador", 72, -1, 19 },
          { "Nepal", 72, 5, 19 },
          { "Indonesia", 74, -2, 18 },
          { "Norway", 75, -2, 17 },
          { "Afghanistan", 76, 0, 14 },
          { "US Virgin Islands", 76, -2, 14 },
          { "Palau", 76, -11, 14 },
          { "Thailand", 79, 0, 6 },
          { "Bolivia", 80, -2, 4 },
          { "Solomon Islands", 81, -2, 3},
          { "Turkey", 81, -2, 3},
          { "Estonia", 83, -2, 2},
          { "Laos", 83, 0, 2},
}

-- list of WBSC country codes
data.alias = { 
		{ "AFG",  "Afghanistan" },
	    { "ARG",  "Argentina" },
	    { "ARM",  "Armenia" },
	    { "ARU",  "Aruba" },
	    { "ASA",  "American Samoa" },
	    { "AUS",  "Australia" },
	    { "AUT",  "Austria" },
	    { "BAH",  "Bahamas" },
	    { "BAN",  "Bangladesh" },
	    { "BEL",  "Belgium" },
        { "BEN",  "Benin" },
        { "BER",  "Bermuda" },
        { "BHU",  "Bhutan" },
        { "BLR",  "Belarus" },
        { "BOL",  "Bolivia" },
        { "BOT",  "Botswana" },
        { "BRA",  "Brazil" },
        { "BRU",  "Brunei" },
        { "BUL",  "Bulgaria" },
        { "BUR",  "Burkina Faso" },
        { "CAN",  "Canada" },
        { "CHI",  "Chile" },
        { "CHN",  "China" },
        { "CIV",  "Ivory Coast" },
        { "CMR",  "Cameroon" },
        { "COD",  "Congo DR" },
        { "COK",  "Cook Islands" },
        { "COL",  "Colombia" },
        { "CPV",  "Cape Verde" },
        { "CRC",  "Costa Rica" },
        { "CRO",  "Croatia" },
        { "CUB",  "Cuba" },
        { "CUW",  "Curaçao" },
        { "CYP",  "Cyprus" },
        { "CZE",  "Czech Republic" },
        { "DEN",  "Denmark" },
        { "DOM",  "Dominican Republic" },
        { "ECU",  "Ecuador" },
        { "EGY",  "Egypt" },
        { "ESA",  "El Salvador" },
        { "ESP",  "Spain" },
        { "EST",  "Estonia" },
        { "FIJ",  "Fiji" },
        { "FIN",  "Finland" },
        { "FRA",  "France" },
        { "FSM",  "Federated States of Micronesia" },
        { "GBR",  "Great Britain" },
        { "GEO",  "Georgia" },
        { "GER",  "Germany" },
        { "GHA",  "Ghana" },
        { "GRE",  "Greece" },
        { "GUA",  "Guatemala" },
        { "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" },
        { "ITA",  "Italy" },
        { "IVB",  "British Virgin Islands" },
        { "JAM",  "Jamaica" },
        { "JPN",  "Japan" },
        { "KEN",  "Kenya" },
        { "KOR",  "South Korea" },
        { "KOS",  "Kosovo" },
        { "KSA",  "Saudi Arabia" },
        { "LAO",  "Laos" },
        { "LAT",  "Lativa" },
        { "LES",  "Lesotho" },
        { "LTU",  "Lithuania" },
        { "MAS",  "Malaysia" },
        { "MDA",  "Moldova" },
        { "MEX",  "Mexico" },
        { "MGL",  "Mongolia" },
        { "MHL",  "Marshall Islands" },
        { "MLT",  "Malta" },
        { "MNP",  "Northern Mariana Islands" },
        { "MYA",  "Myanmar" },
        { "NCA",  "Nicaragua" },
        { "NCL",  "New Caledonia" },
        { "NED",  "Netherlands" },
        { "NEP",  "Nepal" },
        { "NGR",  "Nigeria" },
        { "NOR",  "Norway" },
        { "NZL",  "New Zealand" },
        { "PAK",  "Pakistan" },
        { "PAN",  "Panama" },
        { "PER",  "Peru" },
        { "PHI",  "Philippines" },
        { "PLE",  "Palestine" },
        { "PLW",  "Palau" },
        { "PNG",  "Papua New Guinea" },
        { "POL",  "Poland" },
        { "POR",  "Portugal" },
        { "PRK",  "North Korea" },
        { "PUR",  "Puerto Rico" },
        { "ROU",  "Romania" },
        { "RSA",  "South Africa" },
        { "RUS",  "Russia" },
        { "SAM",  "Samoa" },
        { "SGP",  "Singapore" },
        { "SLE",  "Sierra Leone" },
        { "SLO",  "Slovenia" },
        { "SMR",  "San Marino" },
        { "SOL",  "Solomon Islands" },
        { "SRB",  "Serbia" },
        { "SRI",  "Sri Lanka" },
        { "SUI",  "Switzerland" },
        { "SVK",  "Slovakia" },
        { "SWE",  "Sweden" },
        { "SXM",  "Sint Maarten" },
        { "TAN",  "Tanzania" },
        { "THA",  "Thailand" },
        { "TOG",  "Togo" },
        { "TPE",  "Chinese Taipei" },
        { "TTO",  "Trinidad and Tobago" },
        { "TUN",  "Tunisia" },
        { "TUR",  "Turkey" },
        { "UGA",  "Uganda" },
        { "UKR",  "Ukraine" },
        { "USA",  "United States" },
        { "VEN",  "Venezuela" },
        { "ZAM",  "Zambia" },
        { "ZIM",  "Zimbabwe" },
}
-- List of WBSC confederations
data.confederation = { 
	Africa = { "RSA", "UGA", "ZIM", "KEN", "BUR", "NGR", "TAN", "GHA"
	},
	Americas = { "USA", "MEX", "VEN", "CUB", "DOM", "PUR", "CAN", "PAN", "COL",
		"NCA", "BRA", "ARG", "CUW", "PER", "HON", "GUA", "ESA", "CRC", "BAH",
		"ECU", "ISV", "BOL"
	},
	Asia = { "JPN", "TPE", "KOR", "CHN", "PAK", "SRI", "PHI", "HKG", "IND",
		"BAN", "PLE", "IRI", "NEP", "INA", "AFG", "THA", "LAO"
	},
	Europe = { "NED", "ITA", "CZE", "ISR", "GER", "GBR", "ESP", "FRA", "BEL",
		"AUT", "RUS", "CRO", "UKR", "SVK", "LTU", "GRE", "SWE", "SUI", "HUN",
		"BLR", "SRB", "IRL", "POL", "BUL", "FIN", "SLO", "ROU", "NOR", "TUR", 
		"EST"
	},
	Oceania = { "AUS", "GUM", "NZL", "FIJ", "MNP", "PLW", "SOL"
	},
}
    	                          
return data