# Global Import-Export HS4 Profile Series (1995-2024)

Annual HS4 trade values and growth, with exporter/importer concentration indexes and volatility for each product category.

## What one row represents
one year and one HS4 product category

## Included measures and context
- Annual global trade value and growth
- Exporter and importer concentration indexes
- Trade volatility score

## Metric notes
- HS4 is a four-digit Harmonized System product group.
- 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 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.

- `year` — `uint16`
- `hs4` — `string`
- `global_trade_usd` — `float64`
- `yoy_growth_pct` — `float64`
- `exporter_concentration_hhi` — `float64`
- `importer_concentration_hhi` — `float64`
- `volatility_score` — `float64`

## Coverage and size
- Coverage: 1995-2024 annual observations where available
- Records: 36,680
- Parquet file size: 2 MB
- Release: 1.0.0
- SHA-256: `20c70219a35042d4e0045059351d8ab7ce70699611ab23b41ebf074a849e4eec`

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