adaptTradeDataNames: Standardise TL or ES variable names.

View source: R/adaptTradeDataNames.R

adaptTradeDataNamesR Documentation

Standardise TL or ES variable names.

Description

Use the same variable names in both datasets.

Usage

adaptTradeDataNames(tradedata)

Arguments

tradedata

TL or ES trade data.

Details

TL and ES data use different variable names for reporters, partners, commodities, values, quantity, and year. This function give these variables the same name in both datasets.

Value

TL or ES data with common names (TL will also have "qunit").


SWS-Methodology/faoswsTrade documentation built on Feb. 13, 2023, 1:04 a.m.