The dataset is originally from the Brazilian Institute of Environment and Renewable Natural Resources (Ibama), documenting environmental embargoes and fines at the individual level from 2005 to the present day. In addition, it is possible to download distributed and collected fines from 1994 until the present day.

The function returns either the raw data or a data frame with aggregates considering, for each time-location period, counts for total the number of infractions, infractions that already went to trial, and number of unique perpetrators of infractions. There are also two data frames regarding distributed and collected fines across municipalities


  1. dataset: there are three possible choices.

  2. raw_data: there are two options:

  3. states: specifies 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.

  4. language: you can choose between Portuguese ("pt") and English ("eng")



# Download treated embargoes data (raw_data = FALSE) in english (language = "eng")
data <- load_ibama(dataset = "areas_embargadas", 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")