addMissingElements: Add Missing Elements

Description Usage Arguments Value

Description

This function takes a data.table and adds rows to it so that the data contains an observation for all elements for each commodity in the dataset.

Usage

1
addMissingElements(data, standParams)

Arguments

data

The data.table containing the full dataset for standardization.

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.

Value

The same data.table as what was passed ("data") but possibly with additional rows.


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