Skip to contents

Downloads spatial data of protected natural areas in Peru declared by SERNAP (National Service of Natural Protected Areas). Data were obtained from GEO ANP as the official source. The data are in the "WGRS84" reference system and CRS(4326).

Usage

get_anp_peru(anp = NULL, showProgress = TRUE)

Arguments

anp

A character or a vector with the name(s) of the protected natural areas in Peru.

showProgress

Logical TRUE or FALSE to display a progress bar during download.

Value

An "sf" "data.frame" object containing the spatial data of Peru's protected natural areas.

Examples

# \donttest{
# Read specific ANP
manu <- get_anp_peru(anp = "Manu")

pampa_galeras <- get_anp_peru(anp = "Pampa Galeras")

# Read more than one ANP
anps <- get_anp_peru(anp = c("Manu", "Yanachaga", "Calipuy"))
#> Spatial data for: Parque Nacional - MANU and Parque Nacional - YANACHAGA CHEMILLEN and Reserva Nacional - CALIPUY and Santuario Nacional - CALIPUY  has been downloaded as a list object.
#> Problem connecting to data server. Please try again in a few minutes.
# }