0

I am trying to make a map that looks like this so where can I get the ISO-3 of all the countries. many thanks in advance.

1
  • Seyma Kalay, does my answer address your question? Thank you
    – bttomio
    Commented Jan 20, 2021 at 20:22

1 Answer 1

1

You could use this code:

library(rnaturalearth)
countries <- ne_countries()
countries@data[["iso_a3"]]

More info about the package rnaturalearth: https://docs.ropensci.org/rnaturalearth/articles/rnaturalearth.html

Not the answer you're looking for? Browse other questions tagged or ask your own question.