WITSclean function

WITS data clean

WITS data clean

This function takes (import) trade data downloaded from WITS, cleans it and transforms it into a network. Adding a number of country level attributes to nodes in the network, including: regional partition, GDP, GDP per capita, GDP growth and FDI.

WITSclean(CSVfile, YEAR, threshold, cutoff)

Arguments

  • CSVfile: WITS csv file
  • YEAR: Year
  • threshold: Apply a threshold - TRUE, Extract the backbone - FALSE
  • cutoff: Threshold - cutoff level, Backbone - significance level

Returns

International Trade Network - igraph object

  • Maintainer: Matthew Smith
  • License: GPL-3
  • Last published: 2023-03-31

Useful links