load_seeg {datazoom.amazonia}R Documentation

Greenhouse gases emission estimates (SEEG)

Description

Loads data of estimates of emission of greenhouse gases

Usage

load_seeg(dataset = NULL, raw_data, geo_level, language = "eng")

Arguments

dataset

A dataset name ("seeg", seeg_farming", "seeg_industry", "seeg_energy", "seeg_land", "seeg_residuals"). On which "seeg" contains all five sectors (only works with raw_data = TRUE) and the others are filtered specifically by a main source of emission. See http://seeg.eco.br/notas-metodologicas/

raw_data

A boolean setting the return of raw (TRUE) or processed (FALSE) data.

geo_level

A string that defines the geographic level of the data. Can be one of "country", "state" or "municipality".

language

A string that indicates in which language the data will be returned. Currently, only Portuguese ("pt") and English ("eng") are supported. Defaults to "eng".

Value

A tibble with the selected data.

Examples

## Not run: 
# download state raw data
seeg <- load_seeg(
  dataset = "seeg",
  raw_data = TRUE,
  geo_level = "state"
)

# download country energy treated data
seeg1 <- load_seeg(
  dataset = "seeg_energy",
  raw_data = FALSE,
  geo_level = "country"
)

# download land municipality treated data
seeg2 <- load_seeg(
  dataset = "seeg_land",
  raw_data = FALSE,
  geo_level = "municipality"
)

## End(Not run)

[Package datazoom.amazonia version 0.3.0 Index]