get_data: Get data from within the package

Description Usage Arguments Value

Description

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

Usage

1
2
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 May 1, 2019, 10:26 p.m.