Learn R Programming

rnaturalearth (version 0.3.2)

get_data: 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")
)

Value

A SpatialPolygonsDataFrame object.

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'