Skip to contents

Get Natural Earth Polygons

Usage

get_nepolygons(
  scale = c("large", "small", "medium"),
  type = c("countries", "map_units", "sovereignty", "tiny_countries")
)

Arguments

scale

Scale of the map - options are 'large', 'small', 'medium'

type

country type - options are 'countries', 'map_units', 'sovereignty', 'tiny_countries'

Value

world countries as sf object

Examples

if (FALSE) {
 library(gisr)

 shp_ne <- get_nepolygons()
 shp_ne <- get_nepolygons(scale = "large", type = "countries")
}