createTriplet: This function creates the triplet element for an item if the...

Description Usage Arguments Details Value

Description

The element triplet includes the input, productivity and output. However, for certain commodities certain element was never collected and under the sparse data representation the element is not availble.

Usage

1

Arguments

data

The data, must be denormalised

formula

The formula table, see getYieldFormula.

Details

This function creates the temporary element that is required for processing.

Value

The original data if the triplet is present, otherwise a new data.table with the missing elements created.


SWS-Methodology/faoswsProcessing documentation built on June 19, 2019, 5:14 p.m.