View source: R/geo_utilities.R
gattributes | R Documentation |
Get attributes from feature class
gattributes(geodata)
geodata |
spatial data |
attribures as data frame
## Not run:
library(gisr)
# Admin level 0 [country] geodata
adm0 <- get_admin0("Ghana")
# Extract attrs from geodata
.df <- gattributes(geodata = adm0)
head(.df)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.