R/terrain_map.R
get_basemap.Rd
Get Basemap
get_basemap(spdf, terr, country = NULL, add_admins = FALSE)
PEPFAR ORGs Spatial Data
RasterLayer
OU or Country Name
Should the sub-admins be added? Default is false
ggplot plot of base map
if (FALSE) { library(gisr) library(sf) shp <- get_pepfar_shp(shp_path = glamr::si_path("path_vector"), add_attr = TRUE) ras <- get_raster(terr_path = glamr::si_path("path_raster")) get_basemap(spdf = shp, country = "Nigeria", terr = ras) }