world {spData}R Documentation

World country polygons

Description

The object loaded is a sf object containing a world map data from Natural Earth with a few variables from World Bank

Usage

world

Format

Formal class 'sf' [package "sf"]; the data contains a data.frame with 177 obs. of 11 variables:

The object is in geographical coordinates using the WGS84 datum.

Source

https://www.naturalearthdata.com/

https://data.worldbank.org/

See Also

See the rnaturalearth package: https://cran.r-project.org/package=rnaturalearth

Examples

if (requireNamespace("sf", quietly = TRUE)) {
  library(sf)
  data(world)
  # or
  world <- st_read(system.file("shapes/world.gpkg", package="spData"))

  plot(world)
}

[Package spData version 2.3.1 Index]