Loads data on changes in forest cover and vegetation detected by DETER, across four biome/coverage products: the Legal Amazon, the Cerrado biome, the Pantanal biome, and non-forest areas within the Legal Amazon.

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

Arguments

dataset

A dataset name ("deter_amz", "deter_cerrado", "deter_pantanal", "deter_non_forest") with information about the Legal Amazon, Cerrado, Pantanal, and non-forest areas within the Legal Amazon, respectively. Note that the raw source data uses different class-name vocabularies across these four products (upper-snake-case codes for deter_amz/deter_cerrado, e.g. "DESMATAMENTO_CR"; lowercase Portuguese labels for deter_pantanal/deter_non_forest, e.g. "cicatriz de queimada") – this is not normalized by load_deter(), the returned alert_type column keeps whichever vocabulary the source used for that biome.

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 sf object.

Examples

if (FALSE) { # interactive()
### DO NOT RUN ###
# download treated DETER Amazon data
deter_amz <- load_deter(
  dataset = "deter_amz",
  raw_data = FALSE,
  language = "eng"
)

# download treated DETER Cerrado data
deter_cerrado <- load_deter(
  dataset = "deter_cerrado",
  raw_data = FALSE,
  language = "eng"
)

# download treated DETER Pantanal data
deter_pantanal <- load_deter(
  dataset = "deter_pantanal",
  raw_data = FALSE,
  language = "eng"
)

# download treated DETER non-forest (Legal Amazon) data
deter_non_forest <- load_deter(
  dataset = "deter_non_forest",
  raw_data = FALSE,
  language = "eng"
)
}