# Global Import-Export HS2 Year Series (1995-2024)

Annual global trade values by HS2 product category, alongside the number of active corridors and HS6 products for each year.

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

## Included measures and context
- Yearly trade value in US dollars
- Number of active corridors
- Number of active HS6 products

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

## 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`
- `hs2` — `string`
- `global_trade_usd` — `float64`
- `corridor_count` — `uint64`
- `active_hs6_count` — `uint64`

## Coverage and size
- Coverage: 1995-2024 annual observations where available
- Records: 2,910
- Parquet file size: 47 KB
- Release: 1.0.0
- SHA-256: `6d8a1e80815cddc68c95af25310b7c71cd6d64697908d478063867f939495dee`

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