The census of agriculture collects information about agricultural establishments and the agricultural activities carried out there, covering characteristics of the producer and establishment, economy and employment in rural areas, livestock, farming and agroindustry.

Data is collected by IBGE and is available at country, state and municipality level.


  1. dataset:there are 10 possible choices:

  2. raw_data: there are two options:

  3. geo_level: "country" or "state". For dataset "livestock_production", it can also be "municipality"

  4. time_period: picks the years for which the data will be downloaded:

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


# Download total land area data at the country level in year 2006
data <- load_censoagro(
  dataset = "agricultural_land_area",
  raw_data = TRUE,
  geo_level = "country",
  time_period = 2006

# Download temporary production crops data by state (geo_level = "state") in year 2006
# in portuguese (language = "pt")
data <- load_censoagro(
  dataset = "vegetable_production_temporary",
  raw_data = FALSE,
  geo_level = "state",
  time_period = 1996,
  language = "pt"