Extract Country Polygons
Arguments
- spdf
VcPolygons data as Spatial Data Frame
- cntry
Country name
- attrs
Country orgunits, output of
grabr::datim_orgunits(cntry, reshape = TRUE)
Examples
if (FALSE) {
cntry = "Nigeria"
spdf <- gisr::get_vcpolygons(path = glamr::si_path("path_vector"), name = "VcPepfarPolygons.shp")
df_attrs <- grabr::get_attributes(cntry)
cntry_polygons(spdf = spdf, cntry = "Zambia", attrs = df_attrs)
}