get_data: Get data from within the package

View source: R/get_data.R

get_dataR Documentation

Get data from within the package

Description

returns world country polygons at a specified scale, used by ne_countries()

Usage

get_data(
  scale = 110,
  type = c("countries", "map_units", "sovereignty", "tiny_countries")
)

Arguments

scale

scale of map to return, one of 110, 50, 10, 'small', 'medium', 'large'

type

country type, one of 'countries', 'map_units', 'sovereignty', 'tiny_countries'

Value

A SpatialPolygonsDataFrame object.


rnaturalearth documentation built on Aug. 21, 2023, 5:12 p.m.