get_departaments {geoidep}R Documentation

Download INEI departmental boundaries

Description

This function allows you to download the latest version of the geometry and ubigeos corresponding to the official political division of the departament boundaries of Peru. For more information, you can visit the following page https://ide.inei.gob.pe/

Usage

get_departaments(dsn = NULL, show_progress = TRUE, quiet = TRUE)

Arguments

dsn

Character. Output filename. If missing, a temporary file is created.

show_progress

Logical. Suppress bar progress.

quiet

Logical. Suppress info message.

Value

A sf or tibble object.

Examples


library(geoidep)
dep <- get_departaments(show_progress = FALSE)
head(dep)


[Package geoidep version 0.2.0 Index]