load_mapbiomas.Rd
Loads information about land cover and use
load_mapbiomas(
dataset,
raw_data = FALSE,
geo_level = "municipality",
language = "eng",
cover_level = 1
)
A dataset name ("mapbiomas_cover", "mapbiomas_transition", "mapbiomas_irrigation", "mapbiomas_deforestation_regeneration", "mapbiomas_mining", "mapbiomas_grazing_quality", "mapbiomas_water" or "mapbiomas_fire")
A boolean
setting the return of raw (TRUE
) or processed (FALSE
) data.
A string
that defines the geographic level of the data.
For datasets "mapbiomas_cover", "mapbiomas_transition", "mapbiomas_deforestation_regeneration" and "mapbiomas_fire", can be "municipality" or "state" (faster download).
For dataset "mapbiomas_mining", can be "indigenous_land", "municipality", "state", "biome" or "country".
For dataset "mapbiomas_irrigation", can be "state" or "biome".
For dataset "mapbiomas_water", can be "municipality", "state" or "biome".
Does not apply to other datasets.
A string
that indicates in which language the data will be returned. Portuguese ("pt") and English ("eng") are supported.
A numeric
or string
that indicates the cover aggregation level. Can be "0", "1", "2", "3", "4", or "none", which means no aggregation. Aggregation only supported for "mapbiomas_cover" and "mapbiomas_grazing_quality" datasets.
A tibble
.
if (FALSE) {
# download treated Mapbiomas Cover data in english at the highest aggregation level
data <- load_mapbiomas(
dataset = "mapbiomas_cover",
raw_data = FALSE,
geo_level = "municipality",
language = "eng",
cover_level = 0
)
# download treated Mapbiomas Transition data in portuguese
data <- load_mapbiomas(
dataset = "mapbiomas_transition", raw_data = FALSE,
geo_level = "state", language = "pt"
)
# download treated data on mining on indigenous lands
data <- load_mapbiomas("mapbiomas_mining",
raw_data = FALSE,
geo_level = "indigenous_land"
)
}