Module:SportsRankings/data/FIH World Rankings

From Wikipedia, the free encyclopedia

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 = 16, month = 'May', year = 2024 }
data.previous = {day = 12, month = 'March', year = 2024 }

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

data.rankings = {
          { "Netherlands", 1, 0, 3161.38},
          { "Belgium", 2, 0, 2948.16},
          { "Australia", 3, 2, 2906.22},
          { "Germany", 4, -1, 2885.64},
          { "England", 5, 1, 2820.14},
          { "India", 6, -2, 2812.65},
          { "Argentina", 7, 0, 2624.34},
          { "Spain", 8, 0, 2396.70},
          { "France", 9, 0, 2185.02},
          { "New Zealand", 10, 0, 2117.52},
          { "Ireland", 11, 1, 1968.91},
          { "South Korea", 12, -1, 1954.21},
          { "Malaysia", 13, 0, 1925.09},
          { "South Africa", 14, 0, 1912.96},
          { "Japan", 15, 1, 1844.64},
          { "Pakistan", 16, -1, 1829.27},
          { "Egypt", 17, 1, 1712.31},
          { "Wales", 18, -1, 1678.60},
          { "Austria", 19, 1, 1620.05},
          { "Canada", 20, -1, 1584.78},
          { "Scotland", 21, 0, 1570.83},
          { "Chile", 22, 0, 1489.02},
          { "China", 23, 0, 1395.98},
          { "United States", 24, 0, 1370.76},
          { "Russia", 25, 0, 1342.77},
          { "Oman", 26, 0, 3235.34},
          { "Italy", 27, 0, 1334.64},
          { "Poland", 28, 0, 1315.05},
          { "Bangladesh", 29, 0, 1202.38},
          { "Czech Republic", 30, 0, 1197.57},
          { "Ukraine", 31, 0, 1153.82},
          { "Brazil", 32, 0, 1148.78},
          { "Mexico", 33, 0, 1146.32},
          { "Ghana", 34, 1, 1139.03},
          { "Belarus", 35, -1, 1122.58},
          { "Sri Lanka", 36, 0, 1073.30},
          { "Nigeria", 37, 0, 1058.12},
          { "Cuba", 38, 0, 1012.44},
          { "Switzerland", 39, 0, 981.30},
          { "Venezuela", 40, 0, 974.00},
          { "Croatia", 41, 0, 965.30},
          { "Guatemala", 42, 0, 950.73},
          { "Uruguay", 43, 0, 941.46},
          { "Turkey", 44, 0, 938.28},
          { "Indonesia", 45, 0, 937.38},
          { "Gibraltar", 46, 0, 934.68},
          { "Slovakia", 47, 0, 923.57},
          { "Barbados", 48, 0, 918.59},
          { "Papua New Guinea", 49, 0, 916.00},
          { "Portugal", 50, 0, 914.33},
          { "Trinidad and Tobago", 51, 0, 905.83},
          { "Cyprus", 52, 0, 897.00},
          { "Puerto Rico", 53, 0, 893.59},
          { "Hong Kong", 54, 0, 890.53},
          { "Solomon Islands", 55, 0, 884.00},
          { "Hungary", 56, 1, 880.46},
          { "Chinese Taipei", 57, 1, 876.82},
          { "Tonga", 58, 1, 875.00},
          { "Thailand", 59, 1, 874.38},
          { "Vanuatu", 60, 1, 874.00},
          { "Finland", 61, 1, 870.00},
          { "Afghanistan", 62, 1, 865.00},
          { "Fiji", 63, 1, 864.00},
          { "Norway", 64, 1, 855.00},
          { "Uzbekistan", 65, 4, 850.81},
          { "Samoa", 66, 0, 848.00},
          { "Myanmar", 67, 0, 840.00},
          { "Jamaica", 68, 0, 839.67},
          { "Dominican Republic", 69, 1, 832.96},
          { "Nepal", 70, 1, 825.00},
          { "Lithuania", 71, 1, 816.83},
          { "Malta", 72, 1, 813.34},
          { "Vietnam", 73, 1, 810.00},
          { "Qatar", 73, 1, 810.00},
          { "Kenya", 75, -19, 805.03},
          { "Singapore", 76, 0, 802.06},
          { "Paraguay", 77, 0, 797.62},
          { "Costa Rica", 78, 0, 797.36},
          { "Brunei", 79, 0, 797.14},
          { "Slovenia", 80, 0, 792.88},
          { "Zimbabwe", 81, 0, 783.03},
          { "Macau", 82, 0, 780.17},
          { "Namibia", 83, 0, 764.68},
          { "Peru", 84, 0, 763.45},
          { "Panama", 85, 0, 761.91},
          { "Zambia", 86, 0, 760.21},
          { "Bolivia", 87, 0, 742.05},
          { "Ecuador", 88, 1, 740.46},
          { "Guyana", 89, 1, 734.58},
          { "Kazakhstan", 90, -2, 722.88},
          { "Uganda", 91, 0, 676.79},
          { "Iran", 92, 0, 594.30},
          { "Bermuda", 93, 0, 448.87},
          { "Serbia", 94, 0, 355.58},
          { "Malawi", 95, 0, 253.92},
          { "Cambodia", 96, 0, 175.00},
          { "Tajikistan", 97, 0, 140.11},
          { "Kyrgyzstan", 98, 0, 60.70},
}

-- 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" },
        { "KGZ",  "Kyrgyzstan" },
        { "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","KGZ",
		"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