Module:SportsRankings/data/FIFA World Rankings

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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

local data = {}

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

-- general information about ranking and website being cited
data.source = {
    url = "https://www.fifa.com/fifa-world-ranking/ranking-table/men/", 
	title = "The FIFA/Coca-Cola World Ranking",
	website = "FIFA"
}

-- date of latest update and previous one for movement
data.updated  = { 	day = 7, 	month = 'February', 	year =2019 }
data.previous = { 	day = 20, 	month = 'December', 	year =2018 }

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

data.rankings = {
          {  "Belgium", 1, 0, 1727 },
          {  "France", 2, 0, 1726 },
          {  "Brazil", 3, 0, 1676 },
          {  "Croatia", 4, 0, 1634 },
          {  "England", 5, 0, 1631 },
          {  "Portugal", 6, 0, 1614 },
          {  "Uruguay", 7, 0, 1609 },
          {  "Switzerland", 8, 0, 1599 },
          {  "Spain", 9, 0, 1591 },
          {  "Denmark", 10, 0, 1589 },
          {  "Argentina", 11, 0, 1582 },
          {  "Colombia", 12, 0, 1575 },
          {  "Chile", 13, 0, 1565 },
          {  "Sweden", 14, 0, 1560 },
          {  "Netherlands", 14, 0, 1560 },
          {  "Germany", 16, 0, 1558 },
          {  "Mexico", 17, 0, 1540 },
          {  "Italy", 18, 0, 1539 },
          {  "Wales", 19, 0, 1525 },
          {  "Poland", 20, 0, 1518 },
          {  "Peru", 20, 0, 1518 },
          {  "IR Iran", 22, 7, 1516 },
          {  "Austria", 23, -1, 1509 },
          {  "Senegal", 24, -1, 1505 },
          {  "USA", 25, 0, 1501 },
          {  "Romania", 25, -1, 1501 },
          {  "Japan", 27, 23, 1495 },
          {  "Tunisia", 28, -2, 1493 },
          {  "Slovakia", 29, -2, 1483 },
          {  "Ukraine", 30, -2, 1482 },
          {  "Serbia", 31, -2, 1481 },
          {  "Venezuela", 32, -1, 1478 },
          {  "Paraguay", 33, -1, 1476 },
          {  "Republic of Ireland", 34, -1, 1474 },
          {  "Bosnia and Herzegovina", 35, -1, 1472 },
          {  "Northern Ireland", 36, -1, 1465 },
          {  "Costa Rica", 37, -1, 1461 },
          {  "Korea Republic", 38, 15, 1451 },
          {  "Iceland", 38, -1, 1451 },
          {  "Scotland", 40, -2, 1446 },
          {  "Turkey", 41, -2, 1443 },
          {  "Australia", 42, -1, 1441 },
          {  "Morocco", 43, -3, 1440 },
          {  "Czech Republic", 44, -2, 1435 },
          {  "Greece", 45, -2, 1428 },
          {  "Nigeria", 46, -2, 1427 },
          {  "Montenegro", 46, -2, 1427 },
          {  "Bulgaria", 48, -2, 1425 },
          {  "Norway", 48, -2, 1425 },
          {  "Russia", 50, -2, 1424 },
          {  "Congo DR", 51, -2, 1420 },
          {  "Hungary", 52, -1, 1412 },
          {  "Ghana", 52, -1, 1412 },
          {  "Jamaica", 54, 0, 1404 },
          {  "Qatar", 55, 38, 1398 },
          {  "Cameroon", 56, -1, 1394 },
          {  "Egypt", 57, -1, 1393 },
          {  "Ecuador", 58, -1, 1382 },
          {  "Finland", 59, -1, 1375 },
          {  "Bolivia", 60, -1, 1374 },
          {  "Albania", 61, -1, 1372 },
          {  "Burkina Faso", 62, -1, 1371 },
          {  "Slovenia", 63, -1, 1369 },
          {  "Honduras", 63, -1, 1369 },
          {  "Mali", 65, -1, 1363 },
          {  "Côte d'Ivoire", 66, -1, 1356 },
          {  "United Arab Emirates", 67, 12, 1355 },
          {  "Guinea", 68, -2, 1354 },
          {  "Algeria", 69, -2, 1349 },
          {  "Saudi Arabia", 70, -1, 1344 },
          {  "FYR Macedonia", 71, -3, 1343 },
          {  "China PR", 72, 4, 1339 },
          {  "El Salvador", 73, -3, 1327 },
          {  "South Africa", 74, -2, 1325 },
          {  "Cape Verde Islands", 74, -2, 1325 },
          {  "Panama", 76, -5, 1324 },
          {  "Uganda", 77, -2, 1320 },
          {  "Belarus", 78, -2, 1317 },
          {  "Canada", 79, -1, 1314 },
          {  "Iraq", 80, 8, 1310 },
          {  "Curacao", 81, -1, 1306 },
          {  "Zambia", 82, 1, 1292 },
          {  "Syria", 83, -9, 1286 },
          {  "Congo", 84, 0, 1280 },
          {  "Lebanon", 85, -4, 1277 },
          {  "Gabon", 85, 0, 1277 },
          {  "Luxembourg", 87, -1, 1276 },
          {  "Cyprus", 87, -1, 1276 },
          {  "Uzbekistan", 89, 6, 1275 },
          {  "Oman", 90, -8, 1273 },
          {  "Georgia", 91, -2, 1269 },
          {  "Israel", 92, -2, 1265 },
          {  "Trinidad and Tobago", 93, -1, 1260 },
          {  "Benin", 94, 0, 1257 },
          {  "Kyrgyz Republic", 95, -4, 1253 },
          {  "Estonia", 96, 0, 1246 },
          {  "Faroe Islands", 97, 1, 1238 },
          {  "Jordan", 97, 12, 1238 },
          {  "Vietnam", 99, 1, 1227 },
          {  "Palestine", 100, -1, 1224 },
          {  "Mauritania", 101, 0, 1222 },
          {  "Armenia", 101, 0, 1222 },
          {  "India", 103, -6, 1219 },
          {  "Haiti", 103, 0, 1219 },
          {  "Libya", 105, -1, 1217 },
          {  "Kenya", 106, -1, 1210 },
          {  "Madagascar", 107, -1, 1209 },
          {  "Azerbaijan", 108, -1, 1206 },
          {  "Niger", 109, -1, 1205 },
          {  "Namibia", 110, 1, 1191 },
          {  "Bahrain", 111, 2, 1188 },
          {  "Central African Republic", 112, 0, 1180 },
          {  "Zimbabwe", 113, 1, 1175 },
          {  "Sierra Leone", 114, 1, 1172 },
          {  "Thailand", 115, 3, 1169 },
          {  "Mozambique", 116, 1, 1167 },
          {  "Kazakhstan", 117, 2, 1159 },
          {  "Guinea-Bissau", 118, 2, 1158 },
          {  "New Zealand", 119, 3, 1157 },
          {  "Tajikistan", 120, 0, 1155 },
          {  "Korea DPR", 121, -12, 1152 },
          {  "Togo", 122, 1, 1136 },
          {  "Philippines", 123, -7, 1135 },
          {  "Chinese Taipei", 124, 0, 1134 },
          {  "Angola", 125, 0, 1131 },
          {  "Antigua and Barbuda", 126, 0, 1126 },
          {  "Sudan", 127, 0, 1120 },
          {  "Nicaragua", 128, 1, 1119 },
          {  "Malawi", 129, 1, 1115 },
          {  "Kosovo", 130, 1, 1113 },
          {  "Latvia", 131, 1, 1112 },
          {  "Andorra", 132, 1, 1111 },
          {  "Lithuania", 132, 1, 1111 },
          {  "St. Kitts and Nevis", 134, 2, 1105 },
          {  "Rwanda", 135, 2, 1094 },
          {  "Turkmenistan", 136, -9, 1089 },
          {  "Tanzania", 137, 1, 1087 },
          {  "Myanmar", 138, 1, 1085 },
          {  "Burundi", 138, 1, 1085 },
          {  "Swaziland", 140, 1, 1078 },
          {  "Hong Kong", 140, 1, 1078 },
          {  "Comoros", 142, 1, 1076 },
          {  "Yemen", 143, -8, 1073 },
          {  "Solomon Islands", 143, 1, 1073 },
          {  "Botswana", 145, 0, 1071 },
          {  "Lesotho", 146, 0, 1069 },
          {  "Afghanistan", 147, 0, 1066 },
          {  "Equatorial Guinea", 148, 0, 1063 },
          {  "Guatemala", 149, 0, 1061 },
          {  "Liberia", 150, 0, 1051 },
          {  "Ethiopia", 151, 0, 1049 },
          {  "Maldives", 152, 0, 1046 },
          {  "Suriname", 153, 0, 1037 },
          {  "Dominican Republic", 154, 0, 1036 },
          {  "New Caledonia", 154, 0, 1036 },
          {  "Mauritius", 156, 0, 1022 },
          {  "Tahiti", 157, 0, 1020 },
          {  "Kuwait", 158, 0, 1018 },
          {  "Indonesia", 159, 0, 1003 },
          {  "Belize", 160, 0, 1002 },
          {  "Nepal", 161, 0, 1001 },
          {  "Barbados", 162, 0, 998 },
          {  "Vanuatu", 163, 0, 996 },
          {  "South Sudan", 164, 0, 994 },
          {  "Singapore", 165, 0, 991 },
          {  "Gambia", 166, 0, 986 },
          {  "Malaysia", 167, 0, 985 },
          {  "Papua New Guinea", 168, 0, 984 },
          {  "Fiji", 169, 0, 981 },
          {  "Moldova", 170, 0, 979 },
          {  "St. Lucia", 171, 0, 976 },
          {  "Cambodia", 172, 0, 970 },
          {  "Grenada", 173, 0, 968 },
          {  "Cuba", 174, 0, 963 },
          {  "Chad", 175, 0, 956 },
          {  "Bermuda", 176, 0, 952 },
          {  "Guyana", 177, 0, 951 },
          {  "Dominica", 178, 0, 950 },
          {  "Puerto Rico", 179, 0, 948 },
          {  "St. Vincent / Grenadines", 180, 0, 946 },
          {  "Liechtenstein", 181, 0, 937 },
          {  "Malta", 182, 0, 926 },
          {  "Macau", 183, 0, 925 },
          {  "Laos", 184, 0, 923 },
          {  "Sao Tome e Principe", 185, 0, 920 },
          {  "Bhutan", 186, 0, 917 },
          {  "Aruba", 187, 0, 916 },
          {  "Mongolia", 188, 0, 915 },
          {  "Seychelles", 189, 0, 911 },
          {  "Cook Islands", 190, 0, 908 },
          {  "American Samoa", 190, 0, 908 },
          {  "Guam", 192, 0, 907 },
          {  "Bangladesh", 192, 0, 907 },
          {  "Gibraltar", 194, 0, 905 },
          {  "Brunei Darussalam", 195, 0, 903 },
          {  "Timor-Leste", 196, 0, 900 },
          {  "Samoa", 197, 0, 896 },
          {  "Djibouti", 197, 0, 896 },
          {  "Pakistan", 199, 0, 888 },
          {  "Montserrat", 200, 0, 887 },
          {  "Sri Lanka", 201, 0, 886 },
          {  "US Virgin Islands", 202, 0, 881 },
          {  "Cayman Islands", 203, 0, 874 },
          {  "Tonga", 204, 0, 868 },
          {  "Somalia", 204, 0, 868 },
          {  "Eritrea", 204, 0, 868 },
          {  "British Virgin Islands", 207, 0, 867 },
          {  "Turks and Caicos Islands", 208, 0, 864 },
          {  "Anguilla", 208, 0, 864 },
          {  "Bahamas", 210, 0, 858 },
          {  "San Marino", 211, 0, 854 },

}

-- 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" },
        { "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 PR" },
        { "CIV",  "Côte d'Ivoire" },
        { "CMR",  "Cameroon" },
        { "COD",  "Congo DR" },
        { "COK",  "Cook Islands" },
        { "COL",  "Colombia" },
        { "COM",  "Comoros" },
        { "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" },
        { "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",  "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",  "FYR 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" },
        { "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",  "Swaziland" },
        { "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",  "Turkey" },
        { "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 / Grenadines" },
        { "VIR",  "US Virgin Islands" },
        { "WAL",  "Wales" },
        { "YEM",  "Yemen" },
        { "ZAM",  "Zambia" },
        { "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