Learn R Programming

geoperu (version 0.0.0.2)

get_anp_peru: Download Spatial Data of Protected Natural Areas (ANP) in Peru

Description

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)

Value

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

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.

Examples

Run this code
# \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"))
# }

Run the code above in your browser using DataLab