get_basemap | R Documentation |
Get Basemap
get_basemap(spdf, terr, country = NULL, add_admins = FALSE)
spdf |
PEPFAR ORGs Spatial Data |
terr |
RasterLayer |
country |
OU or Country Name |
add_admins |
Should the sub-admins be added? Default is false |
ggplot plot of base map
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.