R 中所有国家的 ISO-3
ISO-3 of all the countries in R
我正在尝试制作一张看起来像 的地图,所以我在哪里可以获得所有国家/地区的 ISO-3。非常感谢。
您可以使用此代码:
library(rnaturalearth)
countries <- ne_countries()
countries@data[["iso_a3"]]
有关程序包的更多信息 rnaturalearth
:https://docs.ropensci.org/rnaturalearth/articles/rnaturalearth.html
我正在尝试制作一张看起来像
您可以使用此代码:
library(rnaturalearth)
countries <- ne_countries()
countries@data[["iso_a3"]]
有关程序包的更多信息 rnaturalearth
:https://docs.ropensci.org/rnaturalearth/articles/rnaturalearth.html