Description Usage Arguments Value References
the export similarity index for the trade data and will return a ESI matrix if you have many commodities
1 2 3 4 5 6 7 |
trade_data |
the tibble covnerted by the polish_data function |
commodity_codes |
the codes of the commodities based on which the ESI is calculated |
Year |
split the trade_data by year variable or not, if true the final output will be a list of ESI matrices, otherwise just a single matrix |
partner_average |
if true, it will combine all the partners(importers here) together to calculate the trade value or volume, otherwise the final ESI index will be the average of the ESI for each importer |
a list of ESI matrices if the Year parameter is true, otherwise a single matrix
A Measure of ‘Export Similarity’ and Its Possible Uses, Author(s): J. M. Finger and M. E. Kreinin, Source: The Economic Journal, Vol. 89, No. 356 (Dec., 1979), pp. 905-912
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.