africontinent: African country boundaries

Description Usage Format Source See Also Examples

Description

a sf object containing low resolution African continent outline See data-raw/afrilearndata-creation.R for how the data object is created.

Usage

1

Format

Formal class 'sf';

Geographical coordinates WGS84 datum (CRS EPSG 4326)

Source

https://www.naturalearthdata.com/downloads/110m-cultural-vectors/

See Also

https://cran.r-project.org/web/packages/rnaturalearth/

Examples

1
2
3
4
5
6
7
8
9
if (requireNamespace("sf", quietly = TRUE)) {
  library(sf)
  data(africontinent)
  # or
  filename <- system.file("extdata","africontinent.shp", package="afrilearndata", mustWork=TRUE)
  africontinent <- sf::read_sf(filename)

  plot(sf::st_geometry(africontinent))
}

afrimapr/afrilearndata documentation built on Nov. 13, 2021, 6:11 p.m.