get_forest_loss_data {geoidep} | R Documentation |
Download the forest and loss information from Geobosque
Description
This function allows you to download the ubigeos corresponding to the official political division of the district, province or region boundaries of Peru with forest and loss information. For more information, you can visit the following website: https://geobosques.minam.gob.pe
Usage
get_forest_loss_data(layer = NULL, ubigeo = NULL, show_progress = TRUE)
Arguments
layer |
A string.Specifies one of the following available layers; stock_bosque_perdida_distrito, stock_bosque_perdida_provincia, stock_bosque_perdida_departamento. |
ubigeo |
A string Specifies the unique geographical code of interest. |
show_progress |
Logical. Indicates whether to display the progress bar. |
Details
Available layers are:
-
stock_bosque_perdida_distrito: Returns data on forest stock, forest loss, rank loss for a given district.
-
stock_bosque_perdida_provincia: Returns data on forest stock, forest loss, rank loss for a given province.
-
stock_bosque_perdida_departamento: Returns data on forest stock, forest loss, rank loss for a given region.
Value
A tibble object.
Examples
library(geoidep)
geobosque <- get_forest_loss_data(
layer = "stock_bosque_perdida_distrito",
ubigeo = "010101",
show_progress = FALSE)
head(geobosque)