africontinent.Rd
a sf
object containing low resolution African continent outline
See data-raw/afrilearndata-creation.R for how the data object is created.
africontinent
Formal class 'sf';
name character vector continent name
geometry sfc_MULTIPOLYGON
Geographical coordinates WGS84 datum (CRS EPSG 4326)
https://www.naturalearthdata.com/downloads/110m-cultural-vectors/
https://cran.r-project.org/web/packages/rnaturalearth/
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)) }