getMultiDistrict | R Documentation |
Helps to plot the shape of districts of multiple provinces.
getMultiDistrict(n_province = NULL, id = NULL)
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() |
return a sf object
## Not run: prov=getMultiDistrict(c("Tanger-Assilah","Fahs-Anjra")) plot(prov$coordinates) prov=getMultiDistrict(id=c(227,511)) plot(prov$coordinates) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.