world <- ne_countries()
africa <- ne_countries(continent = "africa")
france <- ne_countries(country = "france")
plot(world$geometry)
plot(africa$geometry)
plot(france$geometry)
# get as SpatVector
world <- ne_countries(returnclass = "sv")
terra::plot(world)
tiny_countries <- ne_countries(type = "tiny_countries", scale = 50)
plot(tiny_countries)
Run the code above in your browser using DataLab