getMultiDistrict {geomaroc} | R Documentation |
Plot districts of multiple provinces
Description
Helps to plot the shape of districts of multiple provinces.
Usage
getMultiDistrict(n_province = NULL, id = NULL)
Arguments
n_province |
vector of The name of the province to plot. The notation should be respected.To get the notation: provinces() |
id |
vector of provinces id.Each province has an id. To get the id of each province : provinces() |
Value
return a sf object
Examples
## Not run:
prov=getMultiDistrict(c("Tanger-Assilah","Fahs-Anjra"))
plot(prov$coordinates)
prov=getMultiDistrict(id=c(227,511))
plot(prov$coordinates)
## End(Not run)
[Package geomaroc version 0.1.1 Index]