Description Usage Arguments Value
View source: R/calculateFoodAggregates.R
The function creates all the Food aggregates to be displayed in the FBS. This function calls the popoulation dataset in the SWS and displays population in the resulting datatable
1 2 | calculateFoodAggregates(standData = standData, params = c(),
yearVals = yearVals)
|
standData |
The data.frame resulting from the standardization process containing all the elements needed for the calculation of DES |
params |
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. |
A data.table containing all the food aggregates, by country-commodity-year and also containing the population by year
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.