calculateEle11: Calculate Element 11 (Initial Existence)

Description Usage Arguments Value

Description

Initial existence (element 11) at time t is imputed with final existence (element 161) at time t-1, but imputation only occurs if data is missing. Note that not all item types are not updated in this way (see code).

Usage

1
calculateEle11(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 11's value and symbol updated.


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