| world_map | R Documentation |
A simplified set of world country outlines, suitable for thematic world maps at typical figure sizes. Polygon rings were simplified with the Douglas-Peucker algorithm to keep the dataset small while preserving the recognisable shape of coastlines and borders.
world_map
A data frame with four columns:
Longitude in degrees, from -180 to 180.
Latitude in degrees, from -90 to 90.
Integer identifying the polygon ring a point belongs to. Points must be drawn ring by ring; a country made of several land masses has several rings.
Country or territory name.
Coordinates are unprojected longitude and latitude in degrees; use
orb_coord_map() to choose a projection.
Derived from the world database of the maps package, whose boundaries come from Natural Earth (https://www.naturalearthdata.com), released into the public domain.
Douglas, D. H. & Peucker, T. K. (1973) "Algorithms for the reduction of the number of points required to represent a digitized line or its caricature." Cartographica 10, 112-122. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.3138/FM57-6770-U75U-7727")}
str(world_map)
length(unique(world_map$region))
orb_worldmap()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.