BACI (Base pour l’Analyse du Commerce International) is a comprehensive database of bilateral trade flows developed by CEPII (Centre d’Études Prospectives et d’Informations Internationales), a leading French research center on international trade.
This dataset provides:
The BACI dataset is widely used in academic research, policy analysis, and international trade studies due to its comprehensive coverage and quality control procedures.
BACI is constructed from UN Comtrade data with significant processing: - Reconciliation of discrepancies between reported imports and exports - Imputation of missing values using econometric techniques - Classification using the Harmonized System (HS) nomenclature - All values converted to USD for comparability
For detailed methodological information, visit the CEPII BACI documentation.
The HS92 classification provides trade data organized under the 1992 version of the Harmonized System nomenclature.
Important: The BACI dataset is very large. All data is packaged in a single compressed file on the CEPII server. Even if you only need data for specific years, the entire dataset must be downloaded first, then processed locally.
Recommendation: Plan your download during off-peak hours or use a stable, high-speed connection.
Currently only one dataset is available:
Controls whether to download the original data or the processed/cleaned version.
TRUE: Returns raw CEPII data with original formatting
and column namesFALSE: Returns treated data with standardized English
variable names and cleaned formattingSpecifies which year(s) to download. You can request single or multiple years.
raw_data = TRUE): CEPII’s
original format with variable codes and potentially non-standard
namingraw_data = FALSE):
Standardized with English variable names, consistent column formatting,
and ready for immediate analysisEach row typically represents a trade flow with: - Exporter: Country code (ISO 3-letter code) - Importer: Country code (ISO 3-letter code) - Year: Calendar year of the trade flow - Product code: HS 6-digit classification - Product name: Description of the product - Value: Trade value in USD - Quantity: Physical quantity (where available)