powered by
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 tibble.
tibble
A dataset name ("HS92").
A boolean setting the return of raw (TRUE) or processed (FALSE) data.
boolean
TRUE
FALSE
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.
numeric
A string that indicates in which language the data will be returned. Portuguese ("pt") and English ("eng") are supported.
string
if (FALSE) { # download treated data for 2016 (takes a long time to download) clean_baci <- load_baci( raw_data = FALSE, time_period = 2016 ) }
Run the code above in your browser using DataLab