treeToStandardization: Tree to Standardization

Description Usage Arguments Value

Description

During the AUPUS procedure, two classes of trees are used: the commodity trees which specify how elements are to be processed down, and the standardization trees which specify how commodities roll up. This function updates an aupus network (list of edges and ndoes) with a standardization tree in place of the AUPUS tree.

Usage

1
treeToStandardization(aupusNetwork, aupusER, defaultOnly = FALSE)

Arguments

aupusNetwork

The network object, consisting of a list of two objects: nodes and edges. Each individual object is a data.table object. See ?suaToNetworkRepresentation.

aupusER

The extraction rate table from the AUPUS data object. This argument is needed because it provides a way to overwrite the default extraction rates with country specific ones, if available.

defaultOnly

Logical. Should only default extraction rates be used? Or should country-specific rates be used when available and default rates used in all other cases? The old methodology isn't clear about what is used.

Value

The aupusNetwork, updated with the new edges and nodes.


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