Checking status…
Catalog / Cepii Gravity
cepii_gravity

Cepii Gravity

Metadata onlyLicense under review

CEPII Gravity Dataset ingest. Source: http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=8 Authors: Head & Mayer (CEPII) License: Free for research use Coverage: All country pairs, 1948-2019, bilateral trade gravity variables Key variables: dist (distance), comlang_off (common language),…

Metadata only. This source’s license does not permit redistribution, so we catalog its metadata but do not re-serve the data. Use the provider link to obtain it under the original terms.

Licensing & provenance

License
License under review
Redistribution
Not permitted (metadata only)
Commercial use
Restricted / no
Modification
Permitted

Access & mirrors

Download
Select & download cepii_gravity series as CSV →
API
Get a free API key, then GET /v1/series/<id>.csv
Canonical landing
https://econdatalibrary.com/cepii_gravity.html
Update cadence
static
Update strategy
bulk snapshot if changed
Storage layout
single-file — data/clean_full/cepii_gravity/cepii_gravity.parquet (one pa.table written once). Download is buffered fully in memory (500MB cap), not cached to data/raw.

Full description

CEPII Gravity Dataset ingest. Source: http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=8 Authors: Head & Mayer (CEPII) License: Free for research use Coverage: All country pairs, 1948-2019, bilateral trade gravity variables Key variables: dist (distance), comlang_off (common language), colony, contig (contiguity), gdp_o, gdp_d (origin/dest GDP), pop_o, pop_d, tradeflow_comtrade_o/d (trade) fta_wto, gatt_o, gatt_d, wto_o, wto_d (trade agreements) lang_ethno, col_dep, col_dep_ever, etc. Gravity data is bilateral (country pairs), so series_key includes both countries. series_key: GRAVITY:{variable}:{iso3_o}:{iso3_d} e.g. GRAVITY:dist:USA:CHN Note: The full gravity dataset is large (1.4GB CSV). We fetch a compressed version or summary statistics to keep file size manageable. Output: data/clean_full/cepii_gravity/cepii_gravity.parquet Run: python jobs/ingest_cepii_gravity.py

Structured metadata

schema.org/Dataset (Google Dataset Search)
{
  "@context": "https://schema.org/",
  "@type": "Dataset",
  "name": "Cepii Gravity",
  "description": "CEPII Gravity Dataset ingest. Source: http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=8 Authors: Head & Mayer (CEPII) License: Free for research use Coverage: All country pairs, 1948-2019, bilateral trade gravity variables Key variables: dist (distance), comlang_off (common language),…",
  "url": "https://econdatalibrary.com/cepii_gravity.html",
  "identifier": "cepii_gravity",
  "isAccessibleForFree": false,
  "publisher": {
    "@type": "Organization",
    "name": "Econ Data Library",
    "url": "https://econdatalibrary.com"
  },
  "creator": {
    "@type": "Organization",
    "name": "Cepii Gravity"
  },
  "keywords": [
    "cepii_gravity"
  ],
  "sameAs": [
    "https://huggingface.co/datasets/econdatalibrary-cepii_gravity",
    "https://zenodo.org/communities/econdatalibrary"
  ],
  "usageInfo": "Metadata-only catalog entry. This source's license does not permit redistribution, so the data itself is not served here; use the provider link to obtain the data under its terms."
}
Croissant (ML-ready, schema.org JSON-LD)
{
  "@context": {
    "@language": "en",
    "@vocab": "https://schema.org/",
    "cr": "http://mlcommons.org/croissant/",
    "data": {
      "@id": "cr:data",
      "@type": "@json"
    },
    "dataType": {
      "@id": "cr:dataType",
      "@type": "@vocab"
    },
    "sc": "https://schema.org/",
    "conformsTo": "dct:conformsTo",
    "dct": "http://purl.org/dc/terms/"
  },
  "@type": "sc:Dataset",
  "conformsTo": "http://mlcommons.org/croissant/1.0",
  "name": "cepii_gravity",
  "description": "CEPII Gravity Dataset ingest. Source: http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=8 Authors: Head & Mayer (CEPII) License: Free for research use Coverage: All country pairs, 1948-2019, bilateral trade gravity variables Key variables: dist (distance), comlang_off (common language),…",
  "url": "https://econdatalibrary.com/cepii_gravity.html",
  "creator": {
    "@type": "sc:Organization",
    "name": "Cepii Gravity"
  },
  "publisher": {
    "@type": "sc:Organization",
    "name": "Econ Data Library",
    "url": "https://econdatalibrary.com"
  },
  "isAccessibleForFree": false,
  "usageInfo": "Metadata-only Croissant record; underlying data is not redistributed under this source's license."
}
Part of the Econ Data Library catalog · metadata generated 2026-07-14 from the central registry · browse all datasets
ElkassabgiData

One account. Every library.

HF Data Library  ·  Econ Data Library  · more to come