Skip to contents

Get Basemap

Usage

get_basemap(spdf, terr, country = NULL, add_admins = FALSE)

Arguments

spdf

PEPFAR ORGs Spatial Data

terr

RasterLayer

country

OU or Country Name

add_admins

Should the sub-admins be added? Default is false

Value

       ggplot plot of base map

Examples

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