Module:SportsRankings/data/Women's World Rugby Rankings

local data = {}

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

-- general information about ranking and website being cited
data.source = {
    url = "https://www.world.rugby/tournaments/rankings/wru", 
	title = "The World Rugby Women's Ranking",
	website = "World Rugby"
}

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

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

data.rankings = {
          { "England", 1, 0, 94.29 },
          { "New Zealand", 2, 0, 93.19 },
          { "France", 3, 0, 89.68 },
          { "Canada", 4, 0, 84.22 },
          { "Italy", 5, 0, 78.70 },
          { "Australia", 6, 0, 78.00 },
          { "United States", 7, 0, 76.78 },
          { "Ireland", 8, 0, 74.01 },
          { "Wales", 9, 0, 72.70 },
          { "Scotland", 10, 0, 68.71 },
          { "Spain", 11, 0, 68.47 },
          { "Japan", 12, 0, 67.94 },
          { "South Africa", 13, 0, 64.50 },
          { "Russia", 14, 0, 61.10 },
          { "Hong Kong", 15, 0, 59.25 },
          { "Fiji", 16, 0, 58.33 },
          { "Netherlands", 17, 0, 58.27 },
          { "Samoa", 18, 0, 58.01 },
          { "Sweden", 19, 0, 57.73 },
          { "Kazakhstan", 20, 0, 57.09 },
          { "Germany", 21, 0, 51.72 },
          { "China", 22, 0, 49.34 },
          { "Trinidad and Tobago", 23, 0, 46.45 },
          { "Belgium", 24, 0, 45.78 },
          { "Kenya", 25, 0, 45.26 },
          { "Colombia", 26, 0, 45.18 },
          { "Madagascar", 27, 0, 44.89 }, 
          { "Cameroon", 28, 0, 43.45 },
          { "Tonga", 29, 0, 42.79 },
          { "Portugal", 30, 0, 42.00 },
          { "Czech Republic", 31, 0, 40.86 },
          { "Denmark", 32, 0, 40.68 },
          { "Tunisia", 33, 0, 40.53 },
          { "Jamaica", 34, 0, 40.52 },
          { "Uganda", 35, 0, 40.48 },
          { "Singapore", 36, 0, 40.06 },
          { "Zambia", 37, 0, 39.95 },
          { "Guyana", 38, 0, 39.63 },
          { "Senegal", 39, 0, 39.16 },
          { "Romania", 40, 0, 38.95 },
          { "Ivory Coast", 41, 0, 38.92 },
          { "Norway", 42, 0, 38.86 },
          { "Finland", 43, 0, 38.61 },
          { "Bosnia and Herzegovina", 44, 0, 38.00 },
          { "India", 45, 0, 37.60 },
          { "Zimbabwe", 46, 0, 37.04 },
          { "Brazil", 47, 0, 36.38 },
          { "Thailand", 48, 0, 36.35 },
          { "Papua New Guinea", 49, 0, 36.14 },
          { "Switzerland", 50, 0, 35.46 },
          { "Uzbekistan", 51, 0, 35.40 },
          { "Burkina Faso", 52, 0, 35.32 },
          { "Cayman Islands", 53, 0, 34.95 },
          { "Botswana", 54, 0, 33.30 },
          { "Philippines", 55, 0, 33.16 },
          { "Luxembourg", 56, 0, 32.83 },
          { "Namibia", 57, 0, 32.14 },
          { "Serbia", 58, 0, 31.79 },
          { "Barbados", 59, 0, 30.06 },
          { "Saint Vincent and the Grenadines", 60, 0, 28.71 },
          { "Bahamas", 61, 0, 27.67 },
}

-- list of World Rugby country codes
data.alias = { 
		{ "AFG",  "Afghanistan" },
        { "AIA",  "Anguilla" },
        { "ALB",  "Albania" },
        { "ALG",  "Algeria" },
        { "AND",  "Andorra" },
        { "ANG",  "Angola" },
        { "ARG",  "Argentina" },
        { "ARM",  "Armenia" },
        { "ARU",  "Aruba" },
        { "ASA",  "American Samoa" },
        { "ATG",  "Antigua and Barbuda" },
        { "AUS",  "Australia" },
        { "AUT",  "Austria" },
        { "AZE",  "Azerbaijan" },
        { "BAH",  "Bahamas" },
        { "BAN",  "Bangladesh" },
        { "BDI",  "Burundi" },
        { "BEL",  "Belgium" },
        { "BEN",  "Benin" },
        { "BER",  "Bermuda" },
        { "BFA",  "Burkina Faso" },
        { "BHR",  "Bahrain" },
        { "BHU",  "Bhutan" },
        { "BIH",  "Bosnia and Herzegovina" },
        { "BLR",  "Belarus" },
        { "BLZ",  "Belize" },
        { "BOL",  "Bolivia" },
        { "BOT",  "Botswana" },
        { "BRA",  "Brazil" },
        { "BRB",  "Barbados" },
        { "BRU",  "Brunei Darussalam" },
        { "BUL",  "Bulgaria" },
        { "CAM",  "Cambodia" },
        { "CAN",  "Canada" },
        { "CAY",  "Cayman Islands" },
        { "CGO",  "Congo" },
        { "CHA",  "Chad" },
        { "CHI",  "Chile" },
        { "CHN",  "China" },
        { "CIV",  "Ivory Coast" },
        { "CMR",  "Cameroon" },
        { "COD",  "Congo DR" },
        { "COK",  "Cook Islands" },
        { "COL",  "Colombia" },
        { "COM",  "Comoros" },
        { "CPV",  "Cabo Verde" },
        { "CRC",  "Costa Rica" },
        { "CRO",  "Croatia" },
        { "CTA",  "Central African Republic" },
        { "CUB",  "Cuba" },
        { "CUW",  "Curaçao" },
        { "CYP",  "Cyprus" },
        { "CZE",  "Czechia" },
        { "DEN",  "Denmark" },
        { "DJI",  "Djibouti" },
        { "DMA",  "Dominica" },
        { "DOM",  "Dominican Republic" },
        { "ECU",  "Ecuador" },
        { "EGY",  "Egypt" },
        { "ENG",  "England" },
        { "EQG",  "Equatorial Guinea" },
        { "ERI",  "Eritrea" },
        { "ESP",  "Spain" },
        { "EST",  "Estonia" },
        { "ETH",  "Ethiopia" },
        { "FIJ",  "Fiji" },
        { "FIN",  "Finland" },
        { "FRA",  "France" },
        { "FRO",  "Faroe Islands" },
        { "GAB",  "Gabon" },
        { "GAM",  "The Gambia" },
        { "GEO",  "Georgia" },
        { "GER",  "Germany" },
        { "GHA",  "Ghana" },
        { "GIB",  "Gibraltar" },
        { "GNB",  "Guinea-Bissau" },
        { "GRE",  "Greece" },
        { "GRN",  "Grenada" },
        { "GUA",  "Guatemala" },
        { "GUI",  "Guinea" },
        { "GUM",  "Guam" },
        { "GUY",  "Guyana" },
        { "HAI",  "Haiti" },
        { "HKG",  "Hong Kong" },
        { "HON",  "Honduras" },
        { "HUN",  "Hungary" },
        { "IDN",  "Indonesia" },
        { "IND",  "India" },
        { "IRE",  "Ireland" },
        { "IRN",  "Iran" },
        { "IRQ",  "Iraq" },
        { "ISL",  "Iceland" },
        { "ISR",  "Israel" },
        { "ITA",  "Italy" },
        { "JAM",  "Jamaica" },
        { "JOR",  "Jordan" },
        { "JPN",  "Japan" },
        { "KAZ",  "Kazakhstan" },
        { "KEN",  "Kenya" },
        { "KGZ",  "Kyrgyz Republic" },
        { "KOR",  "South Korea" },
        { "KSA",  "Saudi Arabia" },
        { "KUW",  "Kuwait" },
        { "KOS",  "Kosovo" },
        { "LAO",  "Laos" },
        { "LBR",  "Liberia" },
        { "LBY",  "Libya" },
        { "LCA",  "St Lucia" },
        { "LES",  "Lesotho" },
        { "LBN",  "Lebanon" },
        { "LIE",  "Liechtenstein" },
        { "LTU",  "Lithuania" },
        { "LUX",  "Luxembourg" },
        { "LVA",  "Latvia" },
        { "MAC",  "Macau" },
        { "MAD",  "Madagascar" },
        { "MAR",  "Morocco" },
        { "MAS",  "Malaysia" },
        { "MCO",  "Monaco"  },
        { "MDA",  "Moldova" },
        { "MDV",  "Maldives" },
        { "MEX",  "Mexico" },
        { "MKD",  "North Macedonia" },
        { "MLI",  "Mali" },
        { "MLT",  "Malta" },
        { "MNE",  "Montenegro" },
        { "MNG",  "Mongolia" },
        { "MOZ",  "Mozambique" },
        { "MRI",  "Mauritius" },
        { "MSR",  "Montserrat" },
        { "MTN",  "Mauritania" },
        { "MWI",  "Malawi" },
        { "MYA",  "Myanmar" },
        { "NAM",  "Namibia" },
        { "NCA",  "Nicaragua" },
        { "NCL",  "New Caledonia" },
        { "NED",  "Netherlands" },
        { "NEP",  "Nepal" },
        { "NGA",  "Nigeria" },
        { "NIG",  "Niger" },
        { "NIR",  "Northern Ireland" },
        { "NIU",  "Niue" },
        { "NOR",  "Norway" },
        { "NZL",  "New Zealand" },
        { "OMA",  "Oman" },
        { "PAK",  "Pakistan" },
        { "PAN",  "Panama" },
        { "PAR",  "Paraguay" },
        { "PER",  "Peru" },
        { "PHI",  "Philippines" },
        { "PLE",  "Palestine" },
        { "PNG",  "Papua New Guinea" },
        { "POL",  "Poland" },
        { "POR",  "Portugal" },
        { "PRK",  "Korea DPR" },
        { "PUR",  "Puerto Rico" },
        { "QAT",  "Qatar" },
        { "ROU",  "Romania" },
        { "RSA",  "South Africa" },
        { "RUS",  "Russia" },
        { "RWA",  "Rwanda" },
        { "SAM",  "Samoa" },
        { "SCO",  "Scotland" },
        { "SDN",  "Sudan" },
        { "SEN",  "Senegal" },
        { "SEY",  "Seychelles" },
        { "SGP",  "Singapore" },
        { "SKN",  "St Kitts and Nevis" },
        { "SLE",  "Sierra Leone" },
        { "SLV",  "El Salvador" },
        { "SMR",  "San Marino" },
        { "SOL",  "Solomon Islands" },
        { "SOM",  "Somalia" },
        { "SRB",  "Serbia" },
        { "SRI",  "Sri Lanka" },
        { "SSD",  "South Sudan" },
        { "STP",  "São Tomé and Príncipe" },
        { "SUI",  "Switzerland" },
        { "SUR",  "Suriname" },
        { "SVK",  "Slovakia" },
        { "SVN",  "Slovenia" },
        { "SWE",  "Sweden" },
        { "SWZ",  "Eswatini" },
        { "SYR",  "Syria" },
        { "TAH",  "Tahiti" },
        { "TAN",  "Tanzania" },
        { "TCA",  "Turks and Caicos Islands" },
        { "TGA",  "Tonga" },
        { "THA",  "Thailand" },
        { "TJK",  "Tajikistan" },
        { "TKM",  "Turkmenistan" },
        { "TLS",  "Timor-Leste" },
        { "TOG",  "Togo" },
        { "TPE",  "Chinese Taipei" },
        { "TRI",  "Trinidad and Tobago" },
        { "TUN",  "Tunisia" },
        { "TUR",  "Türkiye" },
        { "UAE",  "United Arab Emirates" },
        { "UGA",  "Uganda" },
        { "UKR",  "Ukraine" },
        { "URU",  "Uruguay" },
        { "USA",  "United States" },
        { "UZB",  "Uzbekistan" },
        { "VAN",  "Vanuatu" },
        { "VEN",  "Venezuela" },
        { "VGB",  "British Virgin Islands" },
        { "VIE",  "Vietnam" },
        { "VIN",  "Saint Vincent and the Grenadines" },
        { "VIR",  "US Virgin Islands" },
        { "WAL",  "Wales" },
        { "YEM",  "Yemen" },
        { "ZAM",  "Zambia" },
        { "ZIM",  "Zimbabwe" },
        -- Alternate names
        { "TUR",  "Turkey" },
        { "CZE",  "Czech Republic" },
        { "CUW",  "Curacao" },
        { "BRU",  "Brunei" },
        { "CPV",  "Cape Verde" },
        { "CPV",  "Cape Verde Islands" },
        { "CHN",  "China" },
        { "COD",  "DR Congo" },
        { "GAM",  "Gambia" },
        { "IRN",  "Iran" },
        { "CIV",  "Ivory Coast" },
        { "PRK",  "North Korea" },
        { "KOR",  "South Korea" },
        { "KGZ",  "Kyrgyzstan" },
        { "SKN",  "Saint Kitts and Nevis" },
        { "SKN",  "St. Kitts and Nevis" },
        { "LCA",  "Saint Lucia" },
        { "LCA",  "St. Lucia" },
        { "VIN",  "Saint Vincent and the Grenadines" },
        { "VIN",  "St. Vincent and the Grenadines" },
        { "STP",  "São Tomé e Príncipe" },
        { "STP",  "Sao Tome e Principe" },
        { "USA",  "United States" },
        { "VIR",  "U.S. Virgin Islands" },
        { "VIR",  "United States Virgin Islands" },
}
-- List of World Rugby confederations
data.confederation = { 
	Africa = { "ALG", "BOT", "BFA", "BDI", "CMR", "COD", "EGY", "SWZ", "GHA", 
		"CIV", "KEN", "MAD", "MLI", "MRI", "MAR", "NAM", "NGA", "RWA", "SEN",
		"RSA", "TAN", "TOG", "TUN", "UGA", "ZAM", "ZIM", "SWZ"
	},

	Asia = { "BRU", "CHN", "TPE", "GUM", "HKG", "IND", "IDN", "IRN", "JPN",
		"JOR", "KAZ", "KOR", "KGZ", "LAO", "LBN", "MAS", "MNG", "NEP", "PAK",
		"PHI", "QAT", "SGP", "SRI", "SYR", "THA", "UAE", "UZB"
		},
	
	Europe = { "AND", "AUT", "AZE", "BEL", "BIH", "BUL", "CRO", "CYP", "CZE", 
		"DEN", "ENG", "FIN", "FRA", "GEO", "GER", "GRE", "HUN", "IRE", "ISR", 
		"ITA", "KOS", "LVA", "LTU", "LUX", "MLT", "MDA", "MCO", "NED", "NOR", 
		"POL", "POR", "ROU", "RUS", "SCO", "SRB", "SVK", "SVN", "ESP", 
		"SWE", "SUI", "TUR", "UKR", "WAL"
		},
	
	North_America = { "BAH", "BRB", "BER", "VGB", "CAN", "CAY", "GUY", "JAM",
		"MEX", "LCA", "VIN", "TRI", "USA"
		},
	
	Oceania = { "ASA", "AUS", "COK", "FIJ", "NZL", "NIU", "PNG", "SAM", "SOL", 
		"TGA", "VAN" },
	
	South_America = { "ARG", "BRA", "CHI", "COL", "CRC", "GUA", "PAN", "PAR", 
		"PER", "URU", "VEN" },
}
    	                          
return data