load_prodes.Rd
Loads information on clearcut deforestation in the Legal Amazon and annual deforestation rates in the region.
load_prodes(
dataset = "prodes",
raw_data = FALSE,
time_period,
language = "eng"
)
A dataset name ("prodes").
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 tibble
with the selected data.
if (FALSE) {
# Download treated data (raw_data = FALSE) from 2010 (time_period = 2010)
# in portuguese (language = 'pt').
data <- load_prodes(
raw_data = FALSE,
time_period = 2010,
language = "pt"
)
}