# Global Import-Export Country Profile (1995-2024)

A yearly country profile combining trade flows with economic, education, partner, tariff, and market-potential indicators.

## What one row represents
one country and calendar year

## Included measures and context
- Exports, imports, growth, and trade balance
- GDP, population, labor, education, and openness measures
- Trading partners, tariffs, and market-potential indicators

## Metric notes
- CAGR is the compound annual growth rate across a multi-year period.
- HHI summarizes concentration; higher values indicate activity is concentrated among fewer participants.
- 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 pp are percentage-point changes.
- 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`
- `export_partner_hhi` — `float64`
- `export_product_hhi` — `float64`
- `momentum_score` — `float64`
- `risk_score` — `float64`
- `gdp_million_usd` — `float64`
- `gdp_per_capita_usd` — `float64`
- `population` — `float64`
- `labor_force` — `float64`
- `investment_rate_pct` — `float64`
- `savings_rate_pct` — `float64`
- `secondary_education_pct` — `float64`
- `tertiary_education_pct` — `float64`
- `total_factor_productivity` — `float64`
- `trade_openness_pct` — `float64`
- `exports_gdp_pct` — `float64`
- `num_active_partners` — `uint16`
- `num_fta_partners` — `uint16`
- `num_wto_partners` — `uint16`
- `num_eu_partners` — `uint16`
- `num_shared_border_partners` — `uint16`
- `num_shared_language_partners` — `uint16`
- `avg_partner_distance_km` — `float64`
- `avg_partner_gdp_million_usd` — `float64`
- `avg_partner_gdp_per_capita_usd` — `float64`
- `avg_buyer_biz_entry_days` — `float64`
- `avg_buyer_biz_entry_cost_pct` — `float64`
- `pct_partners_with_fta` — `float64`
- `pct_partners_shared_language` — `float64`
- `pct_partners_shared_border` — `float64`
- `avg_applied_tariff_pct` — `float64`
- `avg_mfn_tariff_pct` — `float64`
- `avg_preferential_tariff_pct` — `float64`
- `tariff_advantage_pp` — `float64`
- `avg_distance_all_partners_km` — `float64`
- `num_border_partners` — `uint16`
- `num_colonial_partners` — `uint16`
- `avg_substitution_elasticity` — `float64`
- `pct_products_high_elasticity` — `float64`
- `pct_products_low_elasticity` — `float64`
- `real_market_potential` — `float64`
- `foreign_market_potential` — `float64`

## Coverage and size
- Coverage: 1995-2024 annual observations where available
- Records: 5,899
- Parquet file size: 1 MB
- Release: 1.0.0
- SHA-256: `1e65911fb8a18bf105dfecd8efbc28de602d195b98e88abac56a1f1b5cef2a23`

## 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-profile-v1/
- Original dataset record: https://huggingface.co/datasets/yugalinks/import-export-country-profile-v1
