load_baci.Rd
Loads disaggregated data on bilateral trade flows for more than 5000 products and 200 countries.
load_baci(dataset = "HS92", raw_data = FALSE, time_period, language = "eng")
A dataset name ("HS92").
A boolean
setting the return of raw (TRUE
) or processed (FALSE
) data.
A numeric
indicating for which years the data will be loaded, in the format YYYY. Can be any vector of numbers, such as 2010:2012.
A string
that indicates in which language the data will be returned. Portuguese ("pt") and English ("eng") are supported.
A tibble
.
if (FALSE) {
# download treated data for 2016 (takes a long time to download)
clean_baci <- load_baci(
raw_data = FALSE,
time_period = 2016
)
}