Description Usage Arguments Value
This function perform Flag Validation for the commodity Tree Validation. The possible flags are (decided with Data Team):
Extraction Rates: (T,-) = validated up do 2013 - protected (E,t) = copied from 2014 onwards - not protected but that do not change during standardization process (E,f) = manually changed by the user - protected
Shares: (E,-) = coming from old methodology - NOT protected. These values willbe overwritten at any run of the module, except the values of oils, which are kept, unless manually changed (E,f) = manually changed by the user - protected (I,i) = calculated by the module - not protected
1 2  | validateTree(tree = NULL, min.er = 0, max.er = 10,
  validateShares = TRUE)
 | 
tree | 
 the commodity tree to check  | 
min.er | 
 the lower limit of the range of acceptable values for Extraction Rates. default to 0  | 
max.er | 
 the upper limit of the range of acceptable values for Extraction Rates. default to 7  | 
validateShares | 
 if to check also shares flags and figures or only Extraction Rates. Default set to TRUE  | 
A message with indication of validation complete or a file with values to correct an email if on the system.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.