load_baci {datazoom.amazonia}R Documentation

BACI - External Trade

Description

provides disaggregated data on bilateral trade flows for more than 5000 products and 200 countries. See http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=37.

Usage

load_baci(dataset = "HS92", raw_data, time_period, language = "pt")

Arguments

dataset

A dataset name ("HS92").

raw_data

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

time_period

A numeric indicating what years will the data be loaded in the format YYYY. Can be only one year at a time.

language

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

Value

A tibble consisting of imports or exports data.

Examples

## Not run: 
# download treated trade data from 2018
exp_mun <- load_br_trade(
  dataset = "HS92",
  raw_data = FALSE, time_period = 2018
)

## End(Not run)


[Package datazoom.amazonia version 0.3.0 Index]