WITSclean: WITS data clean

View source: R/WITSclean_function.R

WITScleanR Documentation

WITS data clean

Description

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.

Usage

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

Value

International Trade Network - igraph object


MatthewSmith430/ITNr documentation built on April 15, 2024, 8:05 a.m.