get_basemap: Get Basemap

View source: R/terrain_map.R

get_basemapR Documentation

Get Basemap

Description

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

## Not run: 
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)

## End(Not run)


USAID-OHA-SI/gisr documentation built on Feb. 10, 2024, 8:55 p.m.