andysouth / rworldmap

R package for mapping country data
29 stars 7 forks source link

Guadeloupe (glp), Martinique (mtq) & Netherlands Antilles (ant) not adressable #12

Open franzileo opened 5 years ago

franzileo commented 5 years ago

Dear AndySouth,

I am trying to map global distribution data with a focus on the lesser antilles. I tried the joinCountryData2Map function with ISO3, UN, NAME codes for Guadeloupe (glp), Martinique (mtq) & Netherlands Antilles (ant), however none of them works although they are listed in countrySynonyms.

Do you have any suggestion? Thanks a lot in advance! Best, Franziska

snyawira commented 4 years ago

Dear AndySouth,

Has this issue of Guadeloupe and Martinique been resolved.

Thanks in advance.

Regards, Sylvia

mayeulk commented 2 months ago

Still not solved. I ha ve a failure while providing only the word "Martinique", in a column named "RESIDENCE", with this code:

>  sPDF_resid <- joinCountryData2Map( country_resid_t, joinCode = "NAME", nameJoinColumn = "RESIDENCE", verbose = T )

13 codes from your data successfully matched countries in the map
1 codes from your data failed to match with a country code in the map
     failedCodes failedCountries
[1,] "MTQ"       "Martinique"   

Interestingly: I do NOT provide "MTQ" in the source data.frame, but somehow the library finds MTQ (see error code above). Package rworldmap version 1.3-8