get_sernanp_data {geoidep} | R Documentation |
This function allows you to download the latest version of data available on the sernanp geoviewer. For more information, you can visit the following web page: https://geo.sernanp.gob.pe/visorsernanp/
get_sernanp_data(layer = NULL, dsn = NULL, show_progress = TRUE, quiet = FALSE)
layer |
Select only one from the list of available layers, for more information please use 'get_data_sources(provider = "sernanp")'. Defaults to NULL. |
dsn |
Character. Output filename with the spatial format. If missing, a temporary file is created. |
show_progress |
Logical. Suppress bar progress. |
quiet |
Logical. Suppress info message. |
An sf object.
library(geoidep)
library(sf)
anp <- get_sernanp_data(layer = "zonificacion_anp" , show_progress = FALSE)
plot(st_geometry(anp))