calculateEle144: Calculate Element 144 (Consumption Per Day)

Description Usage Arguments Value

Description

The consumption per day is the ratio of total consumption to the population. This value is computed for all replaceable symbols (i.e. when the current figure is not official). For some commodity groups, an adjustment is made by multiplying by 1000.

Usage

1
calculateEle144(population11Num, data, aupusParam)

Arguments

population11Num

The column corresponds to element 11 of population.

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 144's value and symbol updated.


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