The dataset is originally from the CEPII Research and Expertise on the World Economy. The database is built from data directly reported by each country to the United Nations Statistical Division (Comtrade)
load_baci provides disaggregated data on bilateral trade flows for more than 5000 products and 200 countries.
The function returns either the raw data or a data frame with aggregates considering the exporter, the importer, the country and the product.
library(datazoom.amazonia) # Download treated trade data in portuguese = load_baci(dataset = "HS92", raw_data = FALSE, time_period = 2018, baci language = "pt")