get_districts {geoidep}R Documentation

Download INEI district boundaries

Description

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/

Usage

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

Arguments

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.

Value

A sf object.

Examples


library(geoidep)
dist <- get_districts(show_progress = FALSE)
head(dist)


[Package geoidep version 0.2.0 Index]