Module:SportsRankings/data/WBSC World Rankings

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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://www.wbsc.org/en/rankings/baseball-m", 
	title = "WBSC World Rankings",
	website = "WBSC"
}

-- date of latest update and previous one for movement
data.updated  = { 	day = 11, 	month = 'November',  year =2025 }
data.previous = { 	day = 19, 	month = 'September',  year =2025 }

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

data.rankings = {
    { "Japan", 1, 0, 6676 },
    { "Chinese Taipei", 2, 0, 5112 },
    { "United States", 3, 0, 4283 },
    { "South Korea", 4, 0, 4192 },
    { "Venezuela", 5, 0, 3612 },
    { "Mexico", 6, 0, 3605 },
    { "Puerto Rico", 7, 0, 3536 },
    { "Panama", 8, 0, 2899 },
    { "Cuba", 9, 0, 2858 },
    { "Netherlands", 10, 0, 2690 },
    { "Australia", 11, 0, 2591 },
    { "Dominican Republic", 12, 0, 2245 },
    { "Colombia", 13, 0, 1927 },
    { "Italy", 14, 0, 1729 },
    { "Czech Republic", 15, 0, 1532 },
    { "Nicaragua", 16, 0, 1455 },
    { "China", 17, 2, 1136 },
    { "Germany", 18, 0, 996 },
    { "Great Britain", 19, -2, 975 },
    { "Canada", 20, 0, 744 },
    { "Israel", 21, 0, 662 },
    { "Brazil", 22, 0, 555 },
    { "South Africa", 23, 3, 415 },    
    { "Philippines", 24, 0, 414 },
    { "France", 25, -2, 384 },
    { "CuraƧao", 26, 2, 365 },
    { "Spain", 27, -2, 359 },
    { "Austria", 28, 0, 358 },
    { "Hong Kong", 29, -2, 319 },
    { "Guam", 30, 2, 181 },
    { "Argentina", 31, 3, 178 },
    { "Thailand", 31, 0, 178 },
    { "Croatia", 33, 4, 176 },
    { "Switzerland", 34, 2, 163 },    
    { "Sweden", 35, -5, 160 },
    { "Palestine", 36, 2, 159 },
    { "Belgium", 37, -2, 125 },
    { "US Virgin Islands", 38, 2, 98 },
    { "Costa Rica", 39, 7, 97 },
    { "Pakistan", 39, -7, 97 },
    { "Lithuania", 41, 13, 13 },
    { "Hungary", 42, 1, 83 },
    { "Bahamas", 43, 7, 80 },
    { "Greece", 43, -4, 80 },
    { "Chile", 45, -3, 71 },
    { "Honduras", 46, 7, 70 },     
    { "Laos", 47, -3, 66 },
    { "Peru", 47, -3, 66 },
    { "Singapore", 49, -3, 62 },
    { "Guatemala", 50, -1, 59 },    
    { "Sri Lanka", 51, -3, 55 },
    { "Poland", 52, -1, 50 },
    { "Sint Maarten", 53, -1, 46 },
    { "Zimbabwe", 54, 23, 43 },
    { "Uganda", 55, 0, 42 },
    { "El Salvador", 56, 3, 40 },
    { "New Zealand", 57, -1, 35 },
    { "Slovakia", 58, -1, 32 },
    { "Palau", 59, -1, 30 },
    { "Iran", 60, -1, 25 },
    { "India", 60, -1, 25 },    
    { "Northern Mariana Islands", 61, 0, 21 },    
    { "Kenya", 63, 0, 20 },     
    { "Serbia", 63, 0, 20 },    
    { "Ireland", 65, 0, 18 },
    { "Indonesia", 65, 0, 18 },
    { "Ecuador", 67, 0, 16 },    
    { "Norway", 68, 0, 15 },
    { "Slovenia", 69, 0, 14 },    
    { "Ukraine", 69, -28, 14 },
    { "Malaysia", 71, -1, 12 },
    { "Federated States of Micronesia", 72, -1, 10 },
    { "Bangladesh", 73, -1, 9 },
    { "Romania", 74, -1, 8 },
    { "Benin", 75, 7, 7 },
    { "Cambodia", 76, -2, 5 },
    { "Afghanistan", 77, -2, 4 },
    { "Tanzania", 77, -2, 4 },
    { "Bulgaria", 79, -2, 3  },
    { "Finland", 79, -2, 3 },
    { "Fiji", 79, -2, 3 },
    { "Turkey", 79, -2, 3 },

}

-- 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", "KEN", "TAN"
	},
	Americas = { "MEX", "USA", "VEN", "CUB", "DOM", "PAN", "PUR", "COL", "CAN",
		"NCA", "BRA", "CUW", "ARG", "PER", "HON", "ESA", "CHI", "GUA", "CRC",
		"BAH", "ISV", "ECU", "BOL"
	},
	Asia = { "JPN", "KOR", "TPE", "CHN", "PHI", "HKG", "PAK", "THA", "PLE",
		"LAO", "SRI", "SGP", "BAN", "AFG", "IND", "NEP"
	},
	Europe = { "NED", "ITA", "CZE", "GER", "GBR", "ISR", "FRA", "ESP", "BEL",
		"CRO", "AUT", "SWE", "UKR", "GRE", "RUS", "SUI", "HUN", "SVK", "LTU",
		"IRL", "BUL", "SRB", "BLR", "SLO", "NOR", "POL", "FIN", "ROU", "TUR", 
		"EST"
	},
	Oceania = { "AUS", "GUM", "NZL", "MNP", "PLW", "FIJ", "SOL"
	},
}
    	                          
return data