synchronizeByProducts: Synchronize By-Products

Description Usage Arguments Value

Description

Synchronize By-Products

Usage

1
synchronizeByProducts(data, tree, standParams, specificTree = FALSE)

Arguments

data

The data.table containing the full dataset for standardization.

tree

The commodity tree which provides the edge structure.

standParams

The parameters for standardization. These parameters provide information about the columns of data and tree, specifying (for example) which columns should be standardized, which columns represent parents/children, etc.

specificTree

Logical. If TRUE, it is assumed that there is a unique record in tree for each unique element of standParams$mergeKey. If FALSE, extraction rates for each parent/child commodity are assumed to apply globally over all time.

Value

A data.table of the same form as data, but after the processing has been performed.


SWS-Methodology/faoswsAupus documentation built on May 9, 2019, 11:45 a.m.