Loads information on changes in forest cover in the Amazon.

load_deter(dataset, raw_data = FALSE, language = "eng")

Arguments

dataset

A dataset name ("deter_amz", "deter_cerrado") with information about both Amazon and Cerrado

raw_data

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

language

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

Value

A tibble (if raw_data = TRUE) or a sf object (if raw_data = FALSE).

Examples

if (FALSE) {
# Download treated data (raw_data = FALSE) from Amazonia (dataset = "deter_amz")
deter_amz <- load_deter(
  dataset = "deter_amz",
  raw_data = FALSE
)
}