Description Usage Arguments Value
This function pulls the tree for standardization.
1 | getStandardizationTree(aupusER, defaultOnly = FALSE)
|
aupusER |
The extraction rate table from the AUPUS data object. This argument is needed because it provides a way to overwrite the default extraction rates with country specific ones, if available. |
defaultOnly |
Logical. Should only default extraction rates be used? Or should country-specific rates be used when available and default rates used in all other cases? The old methodology isn't clear about what is used. |
A data.table object containing 4 columns: child, parent, extractionRate, and caloriesOnly. The child and parent columns contain character values of the items, extractionRate contains the extraction rates, and caloriesOnly is a logical indicating if the edge of interest corresponds to an aggregation of just calories or both calories and quantities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.