Description Usage Arguments Value
View source: R/computeSupplyComponents.R
After the full SUA has been balanced, all the commodities need to be rolled up to their primary equivalents. This function does this, aggregating up trade and food.
1 | computeSupplyComponents(data, standParams, loop)
|
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. |
loop |
just an index of loops |
A data.table with the aggregated primary commodities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.