وحدة:SportsRankings/data/FIH World Rankings

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 = "http://fih.ch/media/13253707/fih-world-rankings-june-men.pdf", 
	title = "FIH Hero World Rankings June 2019 – Men",
	website = "FIH"
}

-- date of latest update and previous one for movement
data.updated  = {day = 30, month = 'يونيو', 	year =2019 }
data.previous = {day = 22, month = 'يناير', 	year =2019 }

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

data.rankings = {
          { "Australia", 1, 1, 2350 },
          { "Belgium", 2, -1, 2298 },
          { "Netherlands", 3, 0, 2205 },
          { "Argentina", 4, 0, 1988},
          { "India", 5, 0, 1823},
          { "England", 6, 1, 1779},
          { "Germany", 7, -1, 1770},
          { "New Zealand", 8, 0, 1459},
          { "Spain", 9, 0, 1360},
          { "Canada", 10, 0, 1325},
          { "Ireland", 11, 0, 1193},
          { "Malaysia", 12, 1, 1173},
          { "France", 13, 2, 1143},
          { "South Africa", 14, 2, 1043},
          { "South Korea", 15, 2, 910},
          { "Japan", 16, 2, 860},
          { "Pakistan", 17, -5, 855},
          { "China", 18, -4, 828},
          { "Austria", 19, 0, 778},
          { "Egypt", 20, 0, 698},
          { "Scotland", 21, 2 , 655},
          { "Poland", 22, -1, 606},
          { "Russia", 23, -1, 598},
          { "United States", 24, 1, 559},
          { "Wales", 25, -1, 555},
          { "Italy", 26, 6, 483},
          { "Ukraine", 27, -1, 410},
          { "Chile", 28, 0, 384},
          { "Brazil", 29, -2, 344},
          { "Czech Republic", 30, -1, 295},
          { "Switzerland", 31, -1, 279},
          { "Mexico", 32, 7, 266},
          { "Belarus", 33, -2, 255},
          { "Portugal", 34, 4, 240},
          { "Singapore", 35, 1, 232},
          { "Ghana", 36, -1, 228},
          { "Trinidad & Tobago", 37, -4, 225},
          { "Bangladesh", 38, -4, 217},
          { "Oman", 39, -2, 207},
          { "Croatia", 40, 0, 200},
          { "Venezuela", 41, 0, 191},
          { "Uzbekistan", 42, 1, 186},
          { "Uruguay", 43, 1, 177},
          { "Sri Lanka", 44, -2, 176},
          { "Turkey", 45, 1, 173},
          { "Hong Kong", 46, -1, 172},
          { "Thailand", 47, 0, 159},
          { "Chinese Taipei", 48, 1, 157},
          { "Kenya", 49, -1, 153},
          { "Lithuania", 50, 0, 146},
          { "Slovakia", 51, 0, 125},
          { "Malta", 52, 3, 125},
          { "Guyana", 53, 3, 119},
          { "Papua New Guinea", 54, 0, 116},
          { "Peru", 55, 2, 111},
          { "Fiji", 56, -3, 108},
          { "Nigeria", 57, 1, 106},
          { "Cyprus", 58, 1, 102},
          { "Puerto Rico", 59, 2, 91},
          { "Gibraltar", 60, 3, 87},
          { "Zimbabwe", 61, 3, 84},
          { "Panama", 62, 3, 81},
          { "Azerbaijan", 63, -3, 80},
          { "Hungary", 64, 2, 75},
          { "Vanuatu", 65, -13, 74},
          { "Barbados", 66, -4, 73},
          { "Solomon Islands", 67, -1, 72},
          { "Namibia", 68, 0, 70},
          { "Cuba", 69, 1, 67},
          { "Finland", 70, 1, 65},
          { "Tonga", 71, -2, 63},
          { "Slovenia", 72, 1, 55},
          { "Qatar", 73, -1, 52},
          { "Macau", 74, 2, 51},
          { "Sweden", 75, 2, 50},
          { "Samoa", 76, -2, 48},
          { "Iran", 77, -2, 45},
          { "Denmark", 77, 3, 45},
          { "Kazakhstan", 79, -1, 43},
          { "Myanmar", 80, -1, 40},
          { "Norway", 81, 2, 40},
          { "Ecuador", 82, -1, 39},
          { "Guatemala", 83, -1, 32},
          { "Tanzania", 84, 0, 32},
          { "Botswana", 85, 2, 30},
          { "Dominican Republic", 86, -1, 26},
          { "Nepal", 87, 1, 25},
          { "Jamaica", 88, -2, 24},
          { "Zambia", 89, 0, 24},
          { "Afghanistan", 90, 1, 20},
          { "Bolivia", 90, 1, 20},
          { "Indonesia", 90, 1, 20},
          { "Costa Rica", 90, 1, 20},
          { "Paraguay", 94, -4, 14},
          { "Brunei", 95, -0, 13},
          { "Vietnam", 96, 0, 10},
}

-- list of country codes
data.alias = { 
        { "AFG",  "Afghanistan" },
        { "ARG",  "Argentina" },
        { "ARM",  "Armenia" },
        { "AUS",  "Australia" },
        { "AUT",  "Austria" },
        { "AZE",  "Azerbaijan" },
        { "BAN",  "Bangladesh" },
        { "BAR",  "Barbados" },
        { "BEL",  "Belgium" },
        { "BLR",  "Belarus" },
        { "BOL", "Bolivia" },
        { "BOT",  "Botswana" },
        { "BRA",  "Brazil" },
        { "BRU",  "Brunei" },
        { "BUL",  "Bulgaria" },
        { "CAN",  "Canada" },
        { "CHI",  "Chile" },
        { "CHN",  "China" },
        { "CRC", "Costa Rica" },
        { "CRO",  "Croatia" },
        { "CUB",  "Cuba" },
        { "CYP",  "Cyprus" },
        { "CZE",  "Czech Republic" },
        { "DEN",  "Denmark" },
        { "DOM",  "Dominican Republic" },
        { "ECU",  "Ecuador" },
        { "EGY",  "Egypt" },
        { "ENG",  "England" },
        { "ESP",  "Spain" },
        { "FIJ",  "Fiji" },
        { "FIN",  "Finland" },
        { "FRA",  "France" },
        { "GER",  "Germany" },
        { "GHA",  "Ghana" },
        { "GIB",  "Gibraltar" },
        { "GRE", "Greece" },
        { "GUA", "Guatemala" },
        { "GUY",  "Guyana" },
        { "HKG",  "Hong Kong" },
        { "HUN",  "Hungary" },
        { "INA", "Indonesia" },
        { "IND",  "India" },
        { "IRE",  "Ireland" },
        { "IRI",  "Iran" },
        { "ITA",  "Italy" },
        { "JAM",  "Jamaica" },
        { "JPN",  "Japan" },
        { "KAZ",  "Kazakhstan" },
        { "KEN",  "Kenya" },
        { "KOR",  "South Korea" },
        { "LTU",  "Lithuania" },
        { "MAC", "Macau" },
        { "MAS",  "Malaysia" },
        { "MEX",  "Mexico" },
        { "MLT",  "Malta" },
        { "MYA",  "Myanmar" },
        { "NAM",  "Namibia" },
        { "NED",  "Netherlands" },
        { "NEP", "Nepal" },
        { "NGR",  "Nigeria" },
        { "NOR", "Norway" },
        { "NZL",  "New Zealand" },
        { "OMA",  "Oman" },
        { "PAK",  "Pakistan" },
        { "PAN",  "Panama" },
        { "PAR",  "Paraguay" },
        { "PER",  "Peru" },
        { "PNG",  "Papua New Guinea" },
        { "POL",  "Poland" },
        { "POR",  "Portugal" },
        { "PUR",  "Puerto Rico" },
        { "QAT",  "Qatar" },
        { "RSA",  "South Africa" },
        { "RUS",  "Russia" },
        { "SAM",  "Samoa" },
        { "SCO",  "Scotland" },
        { "SGP",  "Singapore" },
        { "SLO",  "Slovenia" },
        { "SOL",  "Solomon Islands" },
        { "SRI",  "Sri Lanka" },
        { "SUI",  "Switzerland" },
        { "SVK",  "Slovakia" },
        { "SWE",  "Sweden" },
        { "TAN",  "Tanzania" },
        { "TGA",  "Tonga" },
        { "THA",  "Thailand" },
        { "TPE",  "Chinese Taipei" },
        { "TTO",  "Trinidad & Tobago" },
        { "TUR",  "Turkey" },
        { "UKR",  "Ukraine" },
        { "URU",  "Uruguay" },
        { "USA",  "United States" },
        { "UZB",  "Uzbekistan" },
        { "VAN",  "Vanuatu" },
        { "VEN", "Venezuela" },
        { "VIE", "Vietnam" },
        { "WAL",  "Wales" },
        { "ZAM", "Zambia" },
        { "ZIM", "Zimbabwe" },
}

data.confederation = {
	AfHF = {"BOT","EGY","GHA","KEN","NAM","NGR","RSA","TAN","ZAM","ZIM"
	},
	AHF = {"AFG","BAN","BRU","CHN","HKG","INA","IND","IRI","JPN","KAZ","KOR",
		"MAC","MAS","MYA","NEP","OMA","PAK","QAT","SGP","SRI","THA","TPE",
		"UZB","VIE"
	},
	EHF = {"ARM","AUT","AZE","BEL","BLR","BUL","CRO","CYP","CZE","DEN","ENG",
		"ESP","FIN","FRA","GER","GIB","GRE","HUN","IRE","ITA","LTU","MLT",
		"NED","NOR","POL","POR","RUS","SCO","SUI","SVK","SLO","SWE","TUR",
		"UKR","WAL"
	},
	OHF = {"AUS","FIJ","NZL","PNG","SAM","SOL","TGA","VAN"
	},
	PAHF = {"ARG","BOL","BRA","BAR","CAN","CHI","CRC","CUB","DOM","ECU","GUA",
		"GUY","JAM","MEX","PAN","PAR","PER","PUR","TTO","URU","USA","VEN"
	},
}
return data