# Malaysia exports to China by HS6 product (1995–2024)

Annual exports from Malaysia to China by six-digit product code, 1995–2024 where reported. Download 83,241 records to compare products and years on this route.

## Each record
one reported year, exporting country, importing country, and six-digit product code

## Latest reported year
2024: US$89,091,270,319 across 3,183 reported product records in this file.

## Leading reported products
- Oils: petroleum oils and oils obtained from bituminous minerals, crude (HS 270900): US$27,613,701,669
- Electronic integrated circuits: processors and controllers, whether or not combined with memories, converters, logic circuits, amplifiers, clock and timing circuits, or other circuits (HS 854231): US$13,953,369,076
- Electronic integrated circuits: n.e.c. in heading no. 8542 (HS 854239): US$4,488,398,243
- Petroleum gases and other gaseous hydrocarbons: liquefied, natural gas (HS 271111): US$3,435,325,567
- HS 271019 (HS 271019): US$2,649,231,263

## Included data
- Annual export values in US dollars
- HS6 product codes and country identifiers
- Reported observations by year from 1995 to 2024 where available

## Coverage
83,241 records; 1995–2024 where reported. Missing years or product codes are not filled in.

## Download and fields
- `data.csv` — complete dataset
- `schema.json` — field names and types
- `sample.json` — example records
- `manifest.json` — file size and checksum
- SHA-256: `5250d0fde739e15d64582987ad8485b98f912b9dd3c1c8568c0af00c50f6ac64`

## Read with Python
```python
import pyarrow as pa
import pyarrow.csv as csv

column_types = {
    "year": pa.type_for_alias("uint16"),
    "exporter_iso3": pa.type_for_alias("string"),
    "importer_iso3": pa.type_for_alias("string"),
    "hs_code": pa.type_for_alias("string"),
    "export_value_usd": pa.type_for_alias("double"),
    "yoy_growth_pct": pa.type_for_alias("double"),
    "cagr_3y_pct": pa.type_for_alias("double"),
}
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.
```

## Sources and terms
- OECD Balanced International Merchandise Trade Statistics (BIMTS)
- OECD Terms & Conditions: https://www.oecd.org/termsandconditions/

---

Published by Yugalinks: https://www.yugalinks.org/datasets/v1/corridors-hs6-1/malaysia-to-china-exports-by-hs6-mys-chn

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.
