calculateEle546: Calculate Element 546 (Total Demand)

Description Usage Arguments Value

Description

Element 546 (Total Demand) is computed as a summation of elements 541, 151, and 91 If some of those values are missing, they are ignored in the calculation. However, if all three of the values are missing, then the resulting calculation returns a 0M for element 546.

Usage

1
calculateEle546(data, aupusParam)

Arguments

data

The AUPUS node dataset, typically as produced by buildNodes.

aupusParam

A list of running parameters to be used in pulling the data. Typically, this is generated from getAupusParameter (see that function for a description of the required elements).

Value

This function returns an integer vector containing the row numbers of observations which were updated. However, it also has a side effect: rows within the passed data.table ("data") have element 546's value and symbol updated.


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