24601p commited on
Commit
d2f82dd
·
verified ·
1 Parent(s): 8bc1a1a

Document web copy

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md CHANGED
@@ -9,6 +9,8 @@ size_categories:
9
  configs:
10
  - config_name: trade
11
  data_files: ITPD_E_R2025_usd.parquet
 
 
12
  ---
13
 
14
  # ITPD-E R2025 — compact parquet + lookup tables
@@ -25,6 +27,7 @@ Gravity Dataset. It powers the
25
  | File | Rows | Description |
26
  |---|---|---|
27
  | `ITPD_E_R2025_usd.parquet` | 87,537,140 | One row per exporter × importer × industry × year, 1986–2023 (150 MB, zstd) |
 
28
  | `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) |
29
  | `lookups/country_year.csv` | 8,617 | ISO3 + year → ITPD-E/DGD dynamic code and the name used that year |
30
  | `lookups/country_successor.csv` | 36 | Former countries / aggregates → successor states (e.g. SVU → 15 states) |
@@ -44,6 +47,18 @@ Gravity Dataset. It powers the
44
  USD; values were multiplied by 1,000,000 and rounded to the nearest dollar
45
  (max change $0.50 per row; 99.5% of rows unchanged).
46
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  ## Joins
48
 
49
  - Country attributes: `exporter_iso3` / `importer_iso3` → `lookups/country.csv.iso3`
 
9
  configs:
10
  - config_name: trade
11
  data_files: ITPD_E_R2025_usd.parquet
12
+ - config_name: web
13
+ data_files: web/ITPD_E_R2025_web.parquet
14
  ---
15
 
16
  # ITPD-E R2025 — compact parquet + lookup tables
 
27
  | File | Rows | Description |
28
  |---|---|---|
29
  | `ITPD_E_R2025_usd.parquet` | 87,537,140 | One row per exporter × importer × industry × year, 1986–2023 (150 MB, zstd) |
30
+ | `web/ITPD_E_R2025_web.parquet` | 33,468,219 | Smaller copy for the website (81 MB) — see below |
31
  | `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) |
32
  | `lookups/country_year.csv` | 8,617 | ISO3 + year → ITPD-E/DGD dynamic code and the name used that year |
33
  | `lookups/country_successor.csv` | 36 | Former countries / aggregates → successor states (e.g. SVU → 15 states) |
 
47
  USD; values were multiplied by 1,000,000 and rounded to the nearest dollar
48
  (max change $0.50 per row; 99.5% of rows unchanged).
49
 
50
+ ## Web copy (`web/ITPD_E_R2025_web.parquet`)
51
+
52
+ The [International Trade Explorer](https://mrtimo.github.io/itpde/) downloads this
53
+ 81 MB file instead of the 150 MB full table. Same 13 columns, but:
54
+
55
+ - only rows with positive trade (zero-trade rows dropped: 54.1M rows flagged `u`/`r`);
56
+ - `trade` rounded to the nearest $1,000 (values under $1,000 kept exact, so no positive flow becomes zero);
57
+ - `flag_mirror`, `exporter_name` and `importer_name` are left empty (use `lookups/country.csv` / `country_year.csv` for names).
58
+
59
+ Row counts of positive flows are identical to the full table; the largest difference in
60
+ any exporter × importer × year total is $14,172. **Use the full table for research.**
61
+
62
  ## Joins
63
 
64
  - Country attributes: `exporter_iso3` / `importer_iso3` → `lookups/country.csv.iso3`