View source: R/geo_utilities.R
get_nepolygons | R Documentation |
Get Natural Earth Polygons
get_nepolygons(
scale = c("large", "small", "medium"),
type = c("countries", "map_units", "sovereignty", "tiny_countries")
)
scale |
Scale of the map - options are 'large', 'small', 'medium' |
type |
country type - options are 'countries', 'map_units', 'sovereignty', 'tiny_countries' |
world countries as sf object
## Not run:
library(gisr)
shp_ne <- get_nepolygons()
shp_ne <- get_nepolygons(scale = "large", type = "countries")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.