Add dataset card
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768---pretty_name: ITPD-E R2025 (whole US dollars) with country, industry and gravity lookupstags: - economics - international-trade - gravity-modelsize_categories: - 10M<n<100Mconfigs: - config_name: trade data_files: ITPD_E_R2025_usd.parquet---
# ITPD-E R2025 — compact parquet + lookup tables
A compact, analysis-ready copy of the **USITC International Trade and ProductionDatabase for Estimation (ITPD-E), release 2025**, plus lookup tables that link itto ISO / UN M49 country codes, World Bank income groups and the USITC DynamicGravity Dataset. It powers the[International Trade Explorer](https://mrtimo.github.io/itpde/)([source](https://github.com/mrtimo/itpde)).
## Files
| File | Rows | Description ||---|---|---|| `ITPD_E_R2025_usd.parquet` | 87,537,140 | One row per exporter × importer × industry × year, 1986–2023 (150 MB, zstd) || `lookups/country.csv` | 257 | Country codes used in ITPD-E: ISO 3166-1 alpha-2/3/numeric, former ISO 3166-3 codes, UN M49 regions, LDC/LLDC/SIDS flags, World Bank region/income/lending (current) || `lookups/country_year.csv` | 8,617 | ISO3 + year → ITPD-E/DGD dynamic code and the name used that year || `lookups/country_successor.csv` | 36 | Former countries / aggregates → successor states (e.g. SVU → 15 states) || `lookups/industry.csv` | 170 | ITPD-E industry id → description, broad sector || `lookups/flag_zero.csv` | 3 | Meaning of `flag_zero` (p / r / u) || `lookups/wb_income_group.csv` | 7,661 | World Bank income group by country and GNI year (1987–2023) || `lookups/dgd_country_year.csv` | 8,151 | DGD 2.1 country attributes by year (WTO/GATT/EU membership, GDP, population, polity…), 1986–2019 || `lookups/dgd_pair_year.parquet` | 1,956,949 | DGD 2.1 country-pair attributes by year (distance, contiguity, common language, colonial ties, trade agreements, sanctions), 1986–2019 |
## Main table columns
`exporter_iso3`, `exporter_iso3_dynamic`, `exporter_name`, `importer_iso3`,`importer_iso3_dynamic`, `importer_name`, `broad_sector`, `industry_id`,`industry_descr`, `year`, `trade`, `flag_mirror`, `flag_zero`.
**`trade` is in whole current US dollars (BIGINT).** ITPD-E publishes millions ofUSD; values were multiplied by 1,000,000 and rounded to the nearest dollar(max change $0.50 per row; 99.5% of rows unchanged).
## Joins
- Country attributes: `exporter_iso3` / `importer_iso3` → `lookups/country.csv.iso3`- Income group in the trade year: (`iso3`, `year`) → `wb_income_group.csv` (`iso3`, `gni_year`)- Gravity, country-year: (`exporter_iso3_dynamic`, `year`) → `dgd_country_year.csv` (`dynamic_code`, `year`)- Gravity, pair-year: (`exporter_iso3_dynamic`, `importer_iso3_dynamic`, `year`) → `dgd_pair_year.parquet` (`dynamic_code_o`, `dynamic_code_d`, `year`)
## Caveats
- Domestic flows (exporter = importer) are included: production sold at home. They are complete only through 2021.- Coverage: agriculture from 1986, manufacturing and mining & energy from 1988, services from 2000 (source changes in 2004 and 2010).- `flag_mirror` ranges 0–407 although documented as 0/1; > 0 means mirror data was used.- 11 country codes are not current ISO codes (7 former ISO 3166-3 codes; `SVU`, `BLX`, `ETF`, `FRE` are ITPD-E-specific).
## Sources
- USITC ITPD-E R2025 — https://www.usitc.gov/data/gravity/itpde.htm- USITC Dynamic Gravity Dataset 2.1 — https://www.usitc.gov/data/gravity/dgd.htm- World Bank country classifications (OGHIST, CLASS) — https://datahelpdesk.worldbank.org/knowledgebase/articles/906519- ISO 3166 / UN M49 codes via https://github.com/datasets/country-codes; ISO 3166-3 former codes compiled from Wikipedia
Please cite the original sources when using this data.README.mdAdded+68