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

africontinent

Format

Formal class 'sf';

  • name character vector continent name

  • geometry sfc_MULTIPOLYGON

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

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