# Global Import-Export HS4 Overview (1995-2024)

An HS4 product-category overview with recent and historical trade values, growth, peak comparisons, concentration, volatility, and active trading counts.

## What one row represents
one HS4 product category

## Included measures and context
- Latest value and multi-year averages
- Growth rates and historical peak comparisons
- Active corridors, exporters, importers, and HS6 products

## Metric notes
- HS4 is a four-digit Harmonized System product group.
- 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.
- Count fields report the number of items named in the field, such as products, partners, or routes.
- Values ending in pct are percentages.

## 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.

- `hs4` — `string`
- `first_data_year` — `uint16`
- `latest_data_year` — `uint16`
- `years_with_data` — `uint16`
- `latest_trade_usd` — `float64`
- `trade_avg_3y_usd` — `float64`
- `trade_avg_5y_usd` — `float64`
- `trade_avg_10y_usd` — `float64`
- `trade_cagr_3y_pct` — `float64`
- `trade_cagr_5y_pct` — `float64`
- `trade_cagr_10y_pct` — `float64`
- `historical_peak_usd` — `float64`
- `historical_peak_year` — `uint16`
- `latest_below_peak_pct` — `float64`
- `yoy_growth_latest_pct` — `float64`
- `positive_growth_year_share_pct` — `float64`
- `trend_acceleration_pct` — `float64`
- `trend_label` — `string`
- `exporter_concentration_hhi` — `float64`
- `importer_concentration_hhi` — `float64`
- `trade_volatility_cv` — `float64`
- `active_corridor_count` — `uint64`
- `active_exporter_count` — `uint16`
- `active_importer_count` — `uint16`
- `active_hs6_count` — `uint64`
- `refreshed_at` — `timestamp[ms, tz=UTC]`

## Coverage and size
- Coverage: 1995-2024 annual observations where available
- Records: 1,223
- Parquet file size: 204 KB
- Release: 1.0.0
- SHA-256: `b6fcc841c89a2193b41cc6e6d8905bde66f6b6fa5cc87e64f8e95c6ed0dba827`

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