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

An HS6 product overview combining its description and classification with recent trade values, growth, price observations, trading-partner counts, and coverage indicators.

## What one row represents
one HS6 product code

## Included measures and context
- Product description and classification
- Recent trade value, growth, concentration, and volatility
- Price, route-risk, data-freshness, and coverage measures where available

## Metric notes
- HS6 codes identify products at the six-digit Harmonized System level.
- 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 CSV file. The schema lists the same fields, and the sample file shows example values.

- `hs_code` — `string`
- `hs_description` — `string`
- `hs_chapter` — `string`
- `hs_heading` — `string`
- `substitution_elasticity` — `float64`
- `price_range_label` — `string`
- `trade_type_label` — `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`
- `historical_peak_usd` — `float64`
- `historical_peak_year` — `uint16`
- `latest_below_peak_pct` — `float64`
- `yoy_growth_latest_pct` — `float64`
- `cagr_3y_latest_pct` — `float64`
- `cagr_5y_calculated_pct` — `float64`
- `cagr_10y_calculated_pct` — `float64`
- `positive_growth_year_share_pct` — `float64`
- `trend_acceleration_pct` — `float64`
- `trend_label` — `string`
- `exporter_concentration_hhi` — `float64`
- `importer_concentration_hhi` — `float64`
- `volatility_score` — `float64`
- `active_importer_count` — `uint16`
- `active_exporter_count` — `uint16`
- `active_corridor_count` — `uint32`
- `latest_price_year` — `uint16`
- `median_price_across_exporters_usd_per_ton` — `float64`
- `priced_exporter_count` — `uint16`
- `monitored_risk_lane_count` — `uint32`
- `watch_lane_count` — `uint32`
- `high_attention_lane_count` — `uint32`
- `critical_attention_lane_count` — `uint32`
- `data_freshness_years` — `uint8`
- `coverage_score` — `float64`
- `confidence_label` — `string`
- `data_status` — `string`
- `refreshed_at` — `timestamp[ms, tz=UTC]`

## Coverage and size
- Coverage: 1995-2024 annual observations where available
- Records: 5,386
- CSV file size: 3.1 MB
- Release: 1.0.0
- SHA-256: `4bfbd0a7eb533a180866109b6ddf9d8b8ba10e6fd1bc203b8c08a755347a40e8`

## Files
- `data.csv` — 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 CSV file with Python
```python
import pyarrow as pa
import pyarrow.csv as csv

column_types = {
    "hs_code": pa.type_for_alias("string"),
    "hs_description": pa.type_for_alias("string"),
    "hs_chapter": pa.type_for_alias("string"),
    "hs_heading": pa.type_for_alias("string"),
    "substitution_elasticity": pa.type_for_alias("double"),
    "price_range_label": pa.type_for_alias("string"),
    "trade_type_label": pa.type_for_alias("string"),
    "first_data_year": pa.type_for_alias("uint16"),
    "latest_data_year": pa.type_for_alias("uint16"),
    "years_with_data": pa.type_for_alias("uint16"),
    "latest_trade_usd": pa.type_for_alias("double"),
    "trade_avg_3y_usd": pa.type_for_alias("double"),
    "trade_avg_5y_usd": pa.type_for_alias("double"),
    "trade_avg_10y_usd": pa.type_for_alias("double"),
    "historical_peak_usd": pa.type_for_alias("double"),
    "historical_peak_year": pa.type_for_alias("uint16"),
    "latest_below_peak_pct": pa.type_for_alias("double"),
    "yoy_growth_latest_pct": pa.type_for_alias("double"),
    "cagr_3y_latest_pct": pa.type_for_alias("double"),
    "cagr_5y_calculated_pct": pa.type_for_alias("double"),
    "cagr_10y_calculated_pct": pa.type_for_alias("double"),
    "positive_growth_year_share_pct": pa.type_for_alias("double"),
    "trend_acceleration_pct": pa.type_for_alias("double"),
    "trend_label": pa.type_for_alias("string"),
    "exporter_concentration_hhi": pa.type_for_alias("double"),
    "importer_concentration_hhi": pa.type_for_alias("double"),
    "volatility_score": pa.type_for_alias("double"),
    "active_importer_count": pa.type_for_alias("uint16"),
    "active_exporter_count": pa.type_for_alias("uint16"),
    "active_corridor_count": pa.type_for_alias("uint32"),
    "latest_price_year": pa.type_for_alias("uint16"),
    "median_price_across_exporters_usd_per_ton": pa.type_for_alias("double"),
    "priced_exporter_count": pa.type_for_alias("uint16"),
    "monitored_risk_lane_count": pa.type_for_alias("uint32"),
    "watch_lane_count": pa.type_for_alias("uint32"),
    "high_attention_lane_count": pa.type_for_alias("uint32"),
    "critical_attention_lane_count": pa.type_for_alias("uint32"),
    "data_freshness_years": pa.type_for_alias("uint8"),
    "coverage_score": pa.type_for_alias("double"),
    "confidence_label": pa.type_for_alias("string"),
    "data_status": pa.type_for_alias("string"),
    "refreshed_at": pa.timestamp("ms", tz="UTC"),
}
reader = csv.open_csv(
    "data.csv",
    read_options=csv.ReadOptions(use_threads=False),
    parse_options=csv.ParseOptions(newlines_in_values=True, ignore_empty_lines=False),
    convert_options=csv.ConvertOptions(
        column_types=column_types, null_values=[""],
        strings_can_be_null=True, quoted_strings_can_be_null=False,
    ),
)
for batch in reader:
    print(batch.num_rows)  # Process one batch at a time.
```

Install `pyarrow` if it is not already available: `python -m pip install pyarrow`.

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

---

Published by Yugalinks: https://www.yugalinks.org/datasets/v1/import-export/import-export-product-overview-v1

Contact: [support@yugalinks.com](mailto:support@yugalinks.com)


## CSV values

The CSV uses UTF-8 and includes the field names in the first row. Country and product codes are text; keep their leading zeros.
An unquoted empty field means unavailable. A quoted empty field is an empty string. Literal text such as NA and null remains text.
Keep the column types shown above when reading numbers, so large counts and decimal values are not rounded.
