load_degrad.Rd
Loads information on forest degradation in the Brazilian Amazon, replaced by DETER-B in December 2016.
load_degrad(
dataset = "degrad",
raw_data = FALSE,
time_period,
language = "eng"
)
A dataset name ("degrad").
A boolean
setting the return of raw (TRUE
) or processed (FALSE
) data.
A numeric
indicating for which years the data will be loaded, in the format YYYY. Can be any vector of numbers, such as 2010:2012.
A string
that indicates in which language the data will be returned. Portuguese ("pt") and English ("eng") are supported.
A list
of tibbles (if raw_data
= TRUE
) or a tibble (if raw_data
= FALSE
).
if (FALSE) {
# download treated data (raw_data = TRUE) related to forest degradation
# from 2010 to 2012 (time_period = 2010:2012).
data <- load_degrad(
dataset = "degrad",
raw_data = FALSE,
time_period = 2010:2012
)
}