get_nepolygons: Get Natural Earth Polygons

View source: R/geo_utilities.R

get_nepolygonsR Documentation

Get Natural Earth Polygons

Description

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

## Not run: 
 library(gisr)

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

## End(Not run)


USAID-OHA-SI/gisr documentation built on Feb. 10, 2024, 8:55 p.m.