powered by
plot the shape of each region
getRegion(name = NULL, id = NULL)
The name of the region to plot. The notation should be respected.To get the notation execute: regions()
Each region has an id. To get the id of each region please execute : regions()
return a sf object
# NOT RUN { region=getRegion("Tanger-Tetouan-Al-Hoceima") #Use region name #plot(region$coordinates) region=getRegion(id=1) # use id plot(region$coordinates) # } # NOT RUN { # }
Run the code above in your browser using DataLab