afrihighway.Rd
a sf
object of simplified lines of transcontinental highway network
See data-raw/afrilearndata-creation.R for how the data object is created.
afrihighway
Formal class 'sf'; 100 rows, 2 columns
Name character vector of section names
geom sfc_LINESTRING
Geographical coordinates WGS84 datum (CRS EPSG 4326)
https://en.wikipedia.org/wiki/Trans-African_Highway_network
if (requireNamespace("sf", quietly = TRUE)) { library(sf) data(afrihighway) # or filename <- system.file("extdata","trans-african-highway.kml", package="afrilearndata", mustWork=TRUE) afrihighway <- sf::read_sf(filename) #remove Description column, only has contents in first row afrihighway <- afrihighway[ , which(names(afrihighway)!='Description')] plot(sf::st_geometry(afrihighway)) }