Modul:SportsRankings/data/BSWW Rankings

local data = {}

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

-- general information about ranking and website being cited
data.source = {
    url = "https://beachsoccer.com/ranking/world-ranking", 
	title = "World Ranking",
	website = "BSWW"
}

-- date of latest update and previous one for movement
data.updated  = { 	day = 02, 	month = 'Maret',	year =2020 }
data.previous = { 	day = 02, 	month = 'Februari',	year =2020 }

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

data.rankings = {
          {  "Brazil", 1, 0 , 4507 },
          {  "Portugal", 2, 0, 4287 },
          {  "Italy", 3, 0, 3961 },
          {  "Russia", 4, 0, 3923 },
          {  "Iran", 5, 0, 2489 },
          {  "Japan", 6, 0, 2316 },
          {  "Spain", 7, 0, 2252 },
          {  "Switzerland", 8, 0, 2000 },
          {  "Paraguay", 9, 0, 1866 },
          {  "Senegal", 10, 0, 1763 },
          {  "Tahiti", 11, 0, 1653 },
          {  "Mexico", 12, 0, 1520 },
          {  "Uruguay", 13, 0, 1480 },
          {  "UAE", 14, 0, 1457 },
          {  "Belarus", 15, 0, 1154 },
          {  "USA", 16, 0, 1076 },
          {  "El Salvador", 17, 0, 945 },
          {  "Argentina", 18, 0, 922 },
          {  "Morocco", 19, 0, 910 },
          {  "Oman", 20, 0, 896 },
          {  "Egypt", 21, 0, 788 },
          {  "Ukraine", 22, 0, 771 },
          {  "Nigeria", 23, 0, 764 },
          {  "Panama", 24, 0, 746 },
          {  "Poland", 25, 0, 663 },
          {  "Ecuador", 26, 0, 656 },
          {  "France", 27, 0, 648 },
          {  "Colombia", 28, 0, 614 },
          {  "Peru", 29, 0, 535 },
          {  "Germany", 30, 0, 508 },
          {  "Bahamas", 31, 0, 504 },
          {  "Chile", 32, 0, 494 },
          {  "Azerbaijan", 33, 0, 474 },
          {  "Solomon Islands", 34, 0, 447 },
          {  "Czech Republic", 35, 0, 437 },
          {  "Turkey", 36, 0, 422 },
          {  "Hungary", 37, 0, 404 },
          {  "Lebanon", 38, 0, 394 },
          {  "England", 39, 0, 369 },
          {  "Greece", 40, 0, 367 },
          {  "Venezuela", 41, 0, 364 },
          {  "Vanuatu", 42, 0, 323 },
          {  "Trinidad & Tobago", 43, 0, 310 },
          {  "Kazakhstan", 44, 0, 297 },
          {  "Norway", 45, 0, 266 },
          {  "Bolivia", 46, 0, 263 },
          {  "New Caledonia", 47, 0, 260 },
          {  "Romania", 48, 0, 248 },
          {  "Estonia", 49, 0, 244 },
          {  "Moldova", 50, 0, 239 },
          {  "Palestine", 51, 0, 236 },
          {  "Lithuania", 52, 0, 234 },
          {  "China", 53, 0, 229 },
          {  "Bahrain", 54, 0, 220 },
          {  "Tonga", 55, 0, 206 },
          {  "Guadeloupe", 56, 0, 202 },
          {  "Netherlands", 57, 0, 197 },
          {  "Guatemala", 58, 0, 191 },
          {  "Cape Verde", 59, 0, 190 },
          {  "Thailand", 60, 0, 182 },
          {  "Madagascar", 61, 0, 180 },
          {  "Libya", 62, 0, 180 },
          {  "Bulgaria", 63, 0, 172 },
          {  "Denmark", 64, 0, 160 },
          {  "Algeria", 65, 0, 155 },
          {  "Guyana", 66, 0, 152 },
          {  "US Virgin Islands", 67, 0, 150 },
          {  "Côte d'Ivoire", 68, 0, 145 },
          {  "Afghanistan", 69, 0, 143 },
          {  "Malaysia", 70, 0, 141 },
          {  "Tanzania", 71, 0, 141 },
          {  "Costa Rica", 72, 0, 131 },
          {  "Serbia", 73, 0, 117 },
          {  "Iraq", 74, 0, 114 },
          {  "Georgia", 75, 0, 111 },
          {  "Qatar", 76, 0, 106 },
          {  "Kenya", 77, 0, 105 },
          {  "Jamaica", 78, 0, 105 },
          {  "Antigua and Barbuda", 79, 0, 97 },
          {  "Belize", 80, 0, 94 },
          {  "Turks and Caicos Islands", 81, 0, 91 },
          {  "Latvia", 82, 0, 84 },
          {  "Andorra", 83, 0, 79 },
          {  "Mozambique", 84, 0, 75 },
          {  "Equatorial Guinea", 85, 0, 75 },
          {  "Syria", 86, 0, 75 },
          {  "Uganda", 87, 0, 75 },
          {  "Kuwait", 88, 0, 62 },
          {  "Kyrgyz Republic", 89, 0, 62 },
          {  "Albania", 90, 0, 60 },
          {  "Bonaire", 91, 0, 60 },
          {  "Djibouti", 92, 0, 60 },
          {  "Finland", 93, 0, 57 },
          {  "Vietnam", 94, 0, 51 },
          {  "Saudi Arabia", 95, 0, 40 },
          {  "Austria", 96, 0, 35 },
          {  "Barbados", 97, 0, 34 },
          {  "Canada", 98, 0, 30 },
          {  "Ghana", 99, 0, 29 },
          {  "Slovakia", 100, 0, 23 },
          {  "Uzbekistan", 101, 0, 22 },
          {  "Burundi", 102, 0, 20 },
          {  "Laos", 103, 0, 12 },
          {  "Seychelles", 104, 0, 10 },
          {  "Malawi", 105, 0, 5 },
          {  "Belgium", 106, 0, 3 },
          {  "Tunisia", 107, 1, 0 },
          {  "Malta", 108, 1, 0 },
          {  "South Africa", 109, 1, 0 },
          {  "Mauritius", 110, 1, 0 },
          {  "Puerto Rico", 111, 1, 0 },
          {  "Dominican Republic", 112, 1, 0 },
          {  "Israel", 113, 1, 0 },
          {  "Australia", 114, 1, 0 },
          {  "Zanzibar", 115, -7, 0 },
          {  "Sweden", 116, 0, 0 },
          {  "Yemen", 117, 0, 0 },
          {  "Philippines", 118, 0, 0 },
          {  "Indonesia", 119, 0, 0 },
          {  "Fiji", 120, 0, 0 },
}

-- list of FIFA 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" },
        { "BOE",  "Bonaire" },
        { "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" },
        { "CHN",  "China PR" },
        { "CIV",  "Côte d'Ivoire" },
        { "CMR",  "Cameroon" },
        { "COD",  "Congo DR" },
        { "COK",  "Cook Islands" },
        { "COL",  "Colombia" },
        { "COM",  "Comoros" },
        { "CPV",  "Cape Verde" },
        { "CPV",  "Cape Verde Islands" },
        { "CRC",  "Costa Rica" },
        { "CRO",  "Croatia" },
        { "CTA",  "Central African Republic" },
        { "CUB",  "Cuba" },
        { "CUW",  "Curacao" },
        { "CYP",  "Cyprus" },
        { "CZE",  "Czech Republic" },
        { "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",  "Gambia" },
        { "GEO",  "Georgia" },
        { "GER",  "Germany" },
        { "GHA",  "Ghana" },
        { "GIB",  "Gibraltar" },
        { "GLP",  "Guadeloupe" },
        { "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" },
        { "IRL",  "Republic of Ireland" },
        { "IRN",  "Iran" },
        { "IRN",  "IR Iran" },
        { "IRQ",  "Iraq" },
        { "ISL",  "Iceland" },
        { "ISR",  "Israel" },
        { "ITA",  "Italy" },
        { "JAM",  "Jamaica" },
        { "JOR",  "Jordan" },
        { "JPN",  "Japan" },
        { "KAZ",  "Kazakhstan" },
        { "KEN",  "Kenya" },
        { "KGZ",  "Kyrgyz Republic" },
        { "KOR",  "Korea Republic" },
        { "KSA",  "Saudi Arabia" },
        { "KUW",  "Kuwait" },
        { "KVX",  "Kosovo" },
        { "LAO",  "Laos" },
        { "LBR",  "Liberia" },
        { "LBY",  "Libya" },
        { "LCA",  "St. Lucia" },
        { "LES",  "Lesotho" },
        { "LIB",  "Lebanon" },
        { "LIE",  "Liechtenstein" },
        { "LTU",  "Lithuania" },
        { "LUX",  "Luxembourg" },
        { "LVA",  "Latvia" },
        { "MAC",  "Macau" },
        { "MAD",  "Madagascar" },
        { "MAR",  "Morocco" },
        { "MAS",  "Malaysia" },
        { "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" },
        { "NOR",  "Norway" },
        { "NZL",  "New Zealand" },
        { "OMA",  "Oman" },
        { "OMN",  "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" },
        { "SIN",  "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",  "Sao Tome e Principe" },
        { "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" },
        { "TRI",  "Trinidad & Tobago" },
        { "TUN",  "Tunisia" },
        { "TUR",  "Turkey" },
        { "UAE",  "UAE" },
        { "UAE",  "United Arab Emirates" },
        { "UGA",  "Uganda" },
        { "UKR",  "Ukraine" },
        { "URU",  "Uruguay" },
        { "USA",  "USA" },
        { "UZB",  "Uzbekistan" },
        { "VAN",  "Vanuatu" },
        { "VEN",  "Venezuela" },
        { "VGB",  "British Virgin Islands" },
        { "VIE",  "Vietnam" },
        { "VIN",  "St. Vincent and the Grenadines" },
        { "VIR",  "US Virgin Islands" },
        { "WAL",  "Wales" },
        { "YEM",  "Yemen" },
        { "ZAM",  "Zambia" },
        { "ZAN",  "Zanzibar" },
        { "ZIM",  "Zimbabwe" },
}

data.confederation = { AFC =    { "AFG","AUS","BAN","BHR","BHU","BRU","CAM","CHN","GUM","HKG",
	                              "IDN","IND","IRN","IRQ","JOR","JPN","KGZ","KOR","KSA","KUW",
	                              "LAO","LIB","MAC","MAS","MDV","MNG","MYA","NEP","OMA","PAK",
    	                          "PHI","PLE","PRK","QAT","SIN","SRI","SYR","THA","TJK","TKM",
    	                          "TLS","TPE","UAE","UZB","VIE","YEM" 
                                } ,
                          EAFF =    { "CHN","GUM","HKG","JPN","KOR","MAC","MNG","PRK","TPE"
                                } ,
                        test = { "ENG", "SCO", "WAL", "IRE", "NIR", "FRA", "England", "France", "Germany" },
                      }
    	                          
return data