gta_imp_exp_hs_tuples: GTA Importer-Exporter-Product tuples

View source: R/gta imp exp hs tuples.R

gta_imp_exp_hs_tuplesR Documentation

GTA Importer-Exporter-Product tuples

Description

Generates the importer-exporter-product tuples for GTA interventions.

Usage

gta_imp_exp_hs_tuples(
  master.path = "data/master_plus.Rdata",
  master.data.frame = FALSE,
  replica.path.tuple = "data/database replica/gta_tuple.Rdata",
  df.name = "master.tuple",
  pc.name = "parameter.tuple"
)

Arguments

master.path

Specifies where the GTA data file is located (Default: 'data/master_plus.Rdata'). Set to 'online' to download the latest copy.

master.data.frame

Specify if the master.path is a data frame in the current environment. Default is FALSE.

replica.path.tuple

Location of the database replica. Default is 'data/database replica/database replica - parts - base.Rdata'.

df.name

Set the name of the generated result data frame. Default is 'master.tuple'.

pc.name

Set the name of the generated parameter choice data frame. Default is 'parameter.tuple'.

Value

Output is two data frames. First data frame includes the importer-exporter-product relationships for the given interventions. Second data frame states parameter choices.

Author(s)

Global Trade Alert

References

www.globaltradealert.org


global-trade-alert/gtalibrary documentation built on April 26, 2024, 12:38 p.m.