# Global Import-Export Country Year Totals (1995-2024)

Annual country-level exports, imports, and trade balances, with year-over-year and three-year growth measures where available.

## What one row represents
one country and calendar year

## Included measures and context
- Exports, imports, and trade balance in US dollars
- Year-over-year export and import growth
- Three-year export and import growth rates

## Metric notes
- CAGR is the compound annual growth rate across a multi-year period.
- Year-over-year growth compares a value with the previous year; a negative percentage indicates a decline.
- Fields marked USD are monetary values denominated in US dollars.
- Values ending in pct are percentages.
- Country fields ending in ISO3 use three-letter ISO 3166-1 country codes.

## Fields
Column names are shown exactly as they appear in the Parquet file. The schema lists the same fields, and the sample file shows example values.

- `year` — `uint16`
- `country_iso3` — `string`
- `exports_usd` — `float64`
- `imports_usd` — `float64`
- `trade_balance_usd` — `float64`
- `yoy_exports_growth_pct` — `float64`
- `yoy_imports_growth_pct` — `float64`
- `exports_cagr_3y_pct` — `float64`
- `imports_cagr_3y_pct` — `float64`

## Coverage and size
- Coverage: 1995-2024 annual observations where available
- Records: 5,899
- Parquet file size: 421 KB
- Release: 1.0.0
- SHA-256: `8d90e8dd99a354fbd2b2f4eea653fb5607ce5ab631c42b351b101dbbb05ba9c2`

## Files
- `data.parquet` — complete dataset
- `manifest.json` — dataset description, coverage, record count, and download details
- `schema.json` — field names, row definition, included measures, and metric notes
- `sample.json` — example records
- `README.md` — these notes

## Read the Parquet file with Python
```python
import pandas as pd

data = pd.read_parquet("data.parquet")
print(data.head())
```

Install `pandas` and `pyarrow` if they are not already available: `python -m pip install pandas pyarrow`.

## Sources and related files
- OECD BIMTS HS2017-6D
- Dataset page: https://www.yugalinks.com/datasets/import-export/import-export-country-year-totals-v1/
- Original dataset record: https://huggingface.co/datasets/yugalinks/import-export-country-year-totals-v1
