Crandore Hub

tradeIndices

International Trade Intensity, Openness and Diversification Measures

Calculates commonly used indicators for empirical international trade analysis from user-supplied data. Measures include trade openness, bilateral export and import intensity, the Herfindahl-Hirschman concentration index, normalized and entropy-based diversification, structural diversification relative to a benchmark, export similarity, trade complementarity, revealed comparative advantage, and intra-industry trade. Functions are vectorized where appropriate, validate economically meaningful inputs, and require no external data service. The definition of trade openness follows the World Bank indicator metadata <https://data.worldbank.org/indicator/NE.TRD.GNFS.ZS>. Methodological background for several trade indicators is provided by the World Bank's World Integrated Trade Solution <https://wits.worldbank.org/wits/wits/witshelp/Content/Utilities/e1.trade_indicators.htm> and the World Trade Organization (2012, ISBN:9789287038128).

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 tradeIndices_0.1.0.tar.gz 69.7 KiB
0.1.0 rolling linux/noble R-4.5 tradeIndices_0.1.0.tar.gz 69.6 KiB
0.1.0 rolling source/ R- tradeIndices_0.1.0.tar.gz 34.4 KiB
0.1.0 latest linux/jammy R-4.5 tradeIndices_0.1.0.tar.gz 69.7 KiB
0.1.0 latest linux/noble R-4.5 tradeIndices_0.1.0.tar.gz 69.6 KiB
0.1.0 latest source/ R- tradeIndices_0.1.0.tar.gz 34.4 KiB
0.1.0 2026-04-23 source/ R- tradeIndices_0.1.0.tar.gz 0 B

Dependencies (latest)

Suggests