#' @name africontinent
#' @aliases sfpolygon
#' @title African country boundaries
#'
#' @description a \code{sf} object containing low resolution African continent outline
#' See data-raw/afrilearndata-creation.R for how the data object is created.
#'
#' @format Formal class 'sf';
#' \itemize{
#' \item{name} {character vector continent name}
#' \item{geometry} {sfc_MULTIPOLYGON}
#' }
#'
#' Geographical coordinates WGS84 datum (CRS EPSG 4326)
#'
#' @seealso
#' https://cran.r-project.org/web/packages/rnaturalearth/
#'
#' @source \url{https://www.naturalearthdata.com/downloads/110m-cultural-vectors/}
#' @docType data
#' @keywords datasets sf
#' @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))
#' }
"africontinent"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.