get_districts {geoidep} | R Documentation |
This function allows you to download the latest version of the geometry and ubigeos corresponding to the official political division of the district boundaries of Peru. For more information, you can visit the following page https://ide.inei.gob.pe/
get_districts(dsn = NULL, show_progress = TRUE, quiet = TRUE)
dsn |
Character. Output filename with the *.gpkg format. If missing, a temporary file is created. |
show_progress |
Logical. Suppress bar progress. |
quiet |
Logical. Suppress info message. |
A sf object.
library(geoidep)
dist <- get_districts(show_progress = FALSE)
head(dist)