load_ibama.RdLoads information on environmental fines in the Amazon region
load_ibama(dataset, raw_data = FALSE, states = "all", language = "eng")A dataset name ("embargoed_areas", "distributed_fines", or "collected_fines")
A boolean setting the return of raw (TRUE) or processed (FALSE) data.
A string specifying for which states to download the data. It is "all" by default, but can be a single state such as "AC" or any vector such as c("AC", "AM"). Does not apply to the "areas_embargadas" dataset.
A string that indicates in which language the data will be returned. Currently, only Portuguese ("pt") and English ("eng") are supported.
A tibble.
if (FALSE) {
# Download treated embargoes data (raw_data = FALSE) in english (language = "eng")
data <- load_ibama(
dataset = "embargoed_areas", raw_data = FALSE,
language = "eng"
)
# Download treated collected fines data from "BA"
data <- load_ibama(
dataset = "collected_fines", raw_data = FALSE,
states = "BA", language = "pt"
)
}