Souvent, quand j'ai des variables qui sont pas "matchées" de source à origin, j'aimerais pouvoir voir desquelles il s'agit... la funciton déjà les affiche, mais peut-être ce serait bien de les exporter pour l'utilisateur? Je te mets petit script explicatif plus bas, avec les nouvelles lignes de code. Note que j'utilise un petit "trick" d'exporter à chaque fois sous un autre nom, pas sur que ce soit utile... (pt-etre devrait devenir arg de fonction elle meme?)
a<-countrycode(ex$iso2c, "iso2c", "iso3c",warn=TRUE)
Message d'avis :
In countrycode(ex$iso2c, "iso2c", "iso3c", warn = TRUE) :
Some values were not matched: 1A, 1W, 4E, 7E, 8S, CW, EU, JG, KV, NA, OE, S3, SS, SX, XC, XD, XE, XJ, XL, XM, XN, XO, XP, XQ, XR, XS, XT, XU, Z4, Z7, ZF, ZG, ZJ, ZQ
aa<-countrycode2(ex$iso2c, "iso2c", "iso3c",warn=TRUE)
Message d'avis :
In countrycode2(ex$iso2c, "iso2c", "iso3c", warn = TRUE) :
Some values were not matched: (exported as counCode_unmatched_ahk): 1A, 1W, 4E, 7E, 8S, CW, EU, JG, KV, NA, OE, S3, SS, SX, XC, XD, XE, XJ, XL, XM, XN, XO, XP, XQ, XR, XS, XT, XU, Z4, Z7, ZF, ZG, ZJ, ZQ