powered by
Helps to plot the shape of districts of multiple provinces.
getMultiDistrict(n_province = NULL, id = NULL)
vector of The name of the province to plot. The notation should be respected.To get the notation: provinces()
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) # }
Run the code above in your browser using DataLab