Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

World Map Data from Natural Earth

v0.1.0
MIT + file LICENSE
Authors
Andy South [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.