Export More or Export Better? Evidence from China’s Cross-Border E-Commerce Pilot Zones

Published: 1 November 2026| Version 1 | DOI: 10.17632/jryvc96k8w.1
Contributor:

Description

This repository contains the research datasets, analytical panels, variable definitions, and supporting code for a study of China's Cross-Border E-Commerce (CBEC) Comprehensive Pilot Zones and export-basket upgrading in Guangdong Province. The dataset covers 21 prefecture-level cities in Guangdong from 2011 to 2024, encompassing successive rounds of CBEC pilot-zone designation. It supports the examination of changes in export sophistication, high-complexity export shares, product composition, imported intermediate inputs, foreign-market diversification, and intercity network exposure. The data are organized at multiple levels of aggregation, including 294 city-year observations, 3,528 city-industry-year observations, and 70,560 city-HS6-product-year observations. The underlying trade datasets additionally contain export and import observations by product, trading partner, city, and year. The product sample comprises 240 HS6 products across 12 product groups, with classification information aligned to HS2017 and BEC Rev.4.

Files

Steps to reproduce

1. Download the files and extract CBEC_Guangdong_Data_and_Code.zip. The extracted CBEC_Guangdong directory contains the data, scripts, configuration, documentation, and validation files. 2. Use Python 3.10 or later. From the CBEC_Guangdong directory, install the required dependencies: python -m pip install -r requirements.txt 3. The supplied analytical datasets can be examined directly in the data/processed directory. The principal panels are city_year.csv, city_product_group_year.csv, and city_product_year.csv.gz. Supporting files contain destination and origin panels, annual decomposition, network weights, and product reference information. 4. To rebuild the analytical panels from the included source data, execute the following command on a working copy of the extracted directory: python code/run_pipeline.py --mode rebuild This runs the panel-construction and validation scripts. Rebuilding updates files in data/processed without modifying the files in data/raw. 5. To run the supplied consistency checks independently, execute: python code/03_validate_data.py --root . The validation outputs are saved in validation/checks.csv and validation/report.json. The deposited validation report records 60 passed checks. 6. For R-based analysis, run the following command from the project directory: source("code/load_data.R") This loads the principal analytical panels and preserves categorical identifiers, including city and HS6 product codes. 7. Consult documentation/variable_dictionary.csv, documentation/schema.json, and documentation/measurement_parameters.json for variable definitions, data types, measurement parameters, and sample specifications. The README documents the correspondence between the manuscript's measurement equations and the deposited variables. 8. The Excel workbook provides a convenient, independently readable snapshot of the analytical datasets. The compressed CSV files in the ZIP archive provide the underlying data and complete variable coverage.

Categories

Economics, International Trade

Licence