get_provinces {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 province boundaries of Peru. For more information, you can visit the following page https://ide.inei.gob.pe/
get_provinces(dsn = NULL, show_progress = TRUE, quiet = TRUE)
dsn |
Character. Output filename. If missing, a temporary file is created. |
show_progress |
Logical. Suppress bar progress. |
quiet |
Logical. Suppress info message. |
An sf or tibble object.
library(geoidep)
prov <- get_provinces(show_progress = FALSE)
head(prov)