powered by
Helps to plot the shape of districts within a province.
getDistrict(n_province = NULL, id = NULL)
The name of the province to plot. The notation should be respected.To get the notation: provinces()
the id of the province.To get the id of each province provinces()
return a sf object
# NOT RUN { #Use DISTRICT name prov=getDistrict("Casablanca") plot(prov$coordinates) #Use id prov=getDistrict(id=141) plot(prov$coordinates) # }
Run the code above in your browser using DataLab