get_data | R Documentation |
returns world country polygons at a specified scale, used by ne_countries()
get_data(
scale = 110,
type = c("countries", "map_units", "sovereignty", "tiny_countries")
)
scale |
scale of map to return, one of |
type |
country type, one of 'countries', 'map_units', 'sovereignty', 'tiny_countries' |
A SpatialPolygonsDataFrame
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.