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"
)

Arguments

dataset

A dataset name ("prodes").

raw_data

A boolean setting the return of raw (TRUE) or processed (FALSE) data.

time_period

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.

language

A string that indicates in which language the data will be returned. Portuguese ("pt") and English ("eng") are supported.

Value

A tibble with the selected data.

Examples

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"
)
}