Module:SportsRankings/data/FIH World Rankings

Documentation for this module may be created at Module:SportsRankings/data/FIH World Rankings/doc

local data = {}

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

-- general information about ranking and website being cited
data.source = {
    url = "https://www.fih.hockey/outdoor-hockey-rankings", 
	title = "FIH Outdoor World Hockey Rankings",
	website = "FIH"
}

-- date of latest update and previous one for movement
data.updated  = {day = 21, month = 'March', year = 2023 }
data.previous = {day = 5, month = 'February', year = 2023 }

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

data.rankings = {
          { "Netherlands", 1, 1, 2848.29},
          { "Belgium", 2, 1, 2845.82},
          { "Germany", 3, -2, 2752.12},
          { "India", 4, 2, 2689.07},
          { "Australia", 5, -1, 2576.27},
          { "England", 6, -1, 2536.24},
          { "Argentina", 7, 0, 2268.59},
          { "Spain", 8, 0, 2251.45},
          { "South Korea", 9, 0, 1942.50},
          { "New Zealand", 10, 0, 1899.79},
          { "Malaysia", 11, 0, 1853.21},
          { "France", 12, 0, 1818.12},
          { "Ireland", 13, 0, 1739.47}, 
          { "South Africa", 14, 0, 1646.38},
          { "Wales", 15, 0, 1585.38},
          { "Pakistan", 16, 0, 1495.19},
          { "Canada", 17, 0, 1488.84},
          { "Austria", 18, 0, 1418.20},
          { "Japan", 19, 0, 1403.91},
          { "Egypt", 20, 0, 1375.45},
          { "Scotland", 21, 0, 1370.14}, 
          { "United States", 22, 0, 1195.77},
          { "Russia", 23, 0, 1142.77},
          { "China", 24, 0, 1129.00},
          { "Chile", 25, 0, 1108.67},
          { "Oman", 26, 0, 1081.79},
          { "Italy", 27, 0, 1077.59},
          { "Poland", 28, 0, 1044.89},
          { "Bangladesh", 29, 0, 1043.82},
          { "Ukraine", 30, 0, 1002.90},
          { "Czech Republic", 31, 0, 985.12},
          { "Mexico", 32, 0, 972.67},
          { "Belarus", 33, 0, 922.58},
          { "Sri Lanka", 34, 0, 873.30},
          { "Brazil", 35, 0, 838.62},
          { "Switzerland", 36, 0, 838.45},
          { "Ghana", 37, 0, 807.68},
          { "Turkey", 38, 0, 794.40},
          { "Venezuela", 39, 0, 774.00},
          { "Portugal", 40, 0, 755.14},
          { "Peru", 41, 0, 753.77},
          { "Nigeria", 42, 0, 753.16},
          { "Thailand", 43, 0, 752.68},
          { "Guatemala", 44, 0, 750.73},
          { "Chinese Taipei", 45, 0, 746.00},
          { "Uruguay", 46, 0, 741.46},
          { "Zimbabwe", 47, 0, 736.32},
          { "Trinidad and Tobago", 48, 0, 734.68},
          { "Cuba", 49, 0, 728.00},
          { "Slovakia", 50, 0, 723.57},
          { "Gibraltar", 51, 0, 723.53},
          { "Papua New Guinea", 52, 0, 716.00},
          { "Barbados", 53, 0, 711.98},
          { "Singapore", 54, 0, 701.37},
          { "Croatia", 55, 0, 697.42},
          { "Cyprus", 56, 0, 697.00},
          { "Kenya", 57, 0, 695.01},
          { "Puerto Rico", 58, 0, 693.59},
          { "Jamaica", 59, 0, 693.53},
          { "Hungary", 60, 0, 685.10},
          { "Solomon Islands", 61, 0, 684.00},
          { "Tonga", 62, 0, 675.00},
          { "Vanuatu", 63, 0, 674.00},
          { "Finland", 64, 0, 670.00},
          { "Hong Kong", 65, 0, 668.29},
          { "Uzbekistan", 66, 0, 665.17},
          { "Afghanistan", 67, 0, 665.00},
          { "Fiji", 68, 0, 664.00},
          { "Norway", 69, 0, 655.00},
          { "Lithuania", 70, 0, 654.77},
          { "Zambia", 71, 0, 651.76},
          { "Samoa", 72, 0, 648.00},
          { "Malta", 73, 0, 647.63},
          { "Guyana", 74, 0, 644.02},
          { "Myanmar", 75, 0, 640.00},
          { "Macau", 76, 0, 638.00},
          { "Indonesia", 77, 0, 637.94},
          { "Nepal", 78, 0, 625.00},
          { "Dominican Republic", 79, 0, 624.00},
          { "Vietnam", 80, 0, 610.00},
          { "Qatar", 80, 0, 610.00},
          { "Paraguay", 82, 0, 597.62},
          { "Costa Rica", 83, 0, 597.36},
          { "Brunei", 84, 0, 597.14},
          { "Slovenia", 85, 0, 592.88},
          { "Namibia", 86, 0, 564.68},
          { "Panama", 87, 0, 561.91},
          { "Kazakhstan", 88, 0, 559.83},
          { "Bolivia", 89, 0, 542.05},
          { "Ecuador", 90, 0, 540.46},
          { "Uganda", 91, 0, 495.94},
          { "Iran", 92, 0, 394.30},
          { "Bermuda", 93, 0, 248.87},
          { "Serbia", 94, 0, 208.94},
          { "Malawi", 95, 0, 53.92},
}

-- list of country codes
data.alias = { 
        { "AFG",  "Afghanistan" },
        { "ALG", "Algeria" },
        { "ARG",  "Argentina" },
        { "ARM",  "Armenia" },
        { "AUS",  "Australia" },
        { "AUT",  "Austria" },
        { "AZE",  "Azerbaijan" },
        { "BAH", "Bahamas" },
        { "BAN",  "Bangladesh" },
        { "BAR",  "Barbados" },
        { "BDI", "Burundi" },
        { "BEL",  "Belgium" },
        { "BER", "Bermuda" },
        { "BLR",  "Belarus" },
        { "BOL", "Bolivia" },
        { "BOT",  "Botswana" },
        { "BRA",  "Brazil" },
        { "BRU",  "Brunei" },
        { "BUL",  "Bulgaria" },
        { "BUR", "Burkina Faso" },
        { "CAM", "Cambodia" },
        { "CAN",  "Canada" },
        { "CAY", "Cayman Islands" },
        { "CHI",  "Chile" },
        { "CHN",  "China" },
        { "CMR", "Cameroon" },
        { "COL", "Colombia" },
        { "CRC", "Costa Rica" },
        { "CRO",  "Croatia" },
        { "CUB",  "Cuba" },
        { "CYP",  "Cyprus" },
        { "CZE",  "Czech Republic" },
        { "DEN",  "Denmark" },
        { "DOM",  "Dominican Republic" },
        { "ECU",  "Ecuador" },
        { "EGY",  "Egypt" },
        { "ESA", "El Salvador" },
        { "ENG",  "England" },
        { "ESP",  "Spain" },
        { "EST", "Estonia"},
        { "FIJ",  "Fiji" },
        { "FIN",  "Finland" },
        { "FRA",  "France" },
        { "GEO", "Georgia" },
        { "GER",  "Germany" },
        { "GHA",  "Ghana" },
        { "GIB",  "Gibraltar" },
        { "GRE", "Greece" },
        { "GUA", "Guatemala" },
        { "GUY",  "Guyana" },
        { "HAI", "Haiti" },
        { "HKG",  "Hong Kong" },
        { "HON", "Honduras" },
        { "HUN",  "Hungary" },
        { "INA", "Indonesia" },
        { "IND",  "India" },
        { "IRE",  "Ireland" },
        { "IRI",  "Iran" },
        { "ISR", "Israel" },
        { "ITA",  "Italy" },
        { "JAM",  "Jamaica" },
        { "JPN",  "Japan" },
        { "KAZ",  "Kazakhstan" },
        { "KEN",  "Kenya" },
        { "KOR",  "South Korea" },
        { "LBA", "Libya" },
        { "LTU",  "Lithuania" },
        { "LUX", "Luxembourg" },
        { "MAC", "Macau" },
        { "MAR", "Morocco" },
        { "MAS",  "Malaysia" },
        { "MAW", "Malawi" },
        { "MDA", "Moldova" },
        { "MEX",  "Mexico" },
        { "MGL", "Mongolia" },
        { "MKD", "North Macedonia" },
        { "MLT",  "Malta" },
        { "MRI", "Mauritius" },
        { "MYA",  "Myanmar" },
        { "NAM",  "Namibia" },
        { "NCA", "Nicaragua" },
        { "NED",  "Netherlands" },
        { "NEP", "Nepal" },
        { "NGR",  "Nigeria" },
        { "NOR", "Norway" },
        { "NZL",  "New Zealand" },
        { "OMA",  "Oman" },
        { "PAK",  "Pakistan" },
        { "PAN",  "Panama" },
        { "PAR",  "Paraguay" },
        { "PER",  "Peru" },
        { "PHI", "Philippines" },
        { "PNG",  "Papua New Guinea" },
        { "POL",  "Poland" },
        { "POR",  "Portugal" },
        { "PRK", "North Korea" },
        { "PUR",  "Puerto Rico" },
        { "QAT",  "Qatar" },
        { "ROU", "Romania" },
        { "RSA",  "South Africa" },
        { "RUS",  "Russia" },
        { "SAM",  "Samoa" },
        { "SCO",  "Scotland" },
        { "SEY", "Seychelles" },
        { "SGP",  "Singapore" },
        { "SLE", "Sierra Leone" },
        { "SLO",  "Slovenia" },
        { "SOL",  "Solomon Islands" },
        { "SRB", "Serbia" },
        { "SRI",  "Sri Lanka" },
        { "SUD", "Sudan" },
        { "SUI",  "Switzerland" },
        { "SVK",  "Slovakia" },
        { "SWE",  "Sweden" },
        { "TAN",  "Tanzania" },
        { "TGA",  "Tonga" },
        { "THA",  "Thailand" },
        { "TJK", "Tajikistan" },
        { "TKM", "Turkmenistan" },
        { "TOG", "Togo" },
        { "TPE",  "Chinese Taipei" },
        { "TTO",  "Trinidad and Tobago" },
        { "TUR",  "Turkey" },
        { "UAE", "United Arab Emirates" },
        { "UGA", "Uganda" },
        { "UKR",  "Ukraine" },
        { "URU",  "Uruguay" },
        { "USA",  "United States" },
        { "UZB",  "Uzbekistan" },
        { "VAN",  "Vanuatu" },
        { "VEN", "Venezuela" },
        { "VIE", "Vietnam" },
        { "WAL",  "Wales" },
        { "ZAM", "Zambia" },
        { "ZIM", "Zimbabwe" },
}

data.confederation = {
	AfHF = {"ALG","BDI","BOT","BUR","CMR","EGY","GHA","KEN","LBA","MAW","MRI","MAR","NAM","NGR","RSA","SEY","SLE","SUD","TAN","TOG","UGA","ZAM","ZIM"
	},
	AHF = {"AFG","BAN","BRU","CAM","CHN","HKG","INA","IND","IRI","JPN","KAZ","KOR",
		"MAC","MAS","MGL","MYA","NEP","OMA","PAK","PHI","PRK","QAT","SGP","SRI","THA","TJK","TKM","TPE","UAE",
		"UZB","VIE"
	},
	EHF = {"ARM","AUT","AZE","BEL","BLR","BUL","CRO","CYP","CZE","DEN","ENG",
		"ESP","FIN","FRA","GER","GIB","GRE","HUN","IRE","ITA","LTU","LUX","MLT",
		"NED","NOR","POL","POR","RUS","SCO","SRB","SUI","SVK","SLO","SWE","TUR",
		"UKR","WAL"
	},
	OHF = {"AUS","FIJ","NZL","PNG","SAM","SOL","TGA","VAN"
	},
	PAHF = {"ARG","BAH","BER","BOL","BRA","BAR","CAN","CAY","CHI","COL","CRC","CUB","DOM","ESA","ECU","GUA",
		"HAI","HON","GUY","JAM","MEX","NCA","PAN","PAR","PER","PUR","TTO","URU","USA","VEN"
	},
}
return data