| getPrimary | R Documentation | 
Function trace back to the primary item starting from an edge-item. It uses the commodity tree to go back level by level untill the first one.
getPrimary(edge, tree, standParams)
| edge | a CPC (or a vector of CPC codes) | 
| tree | Commodity tree, data.table | 
| standParams | computation parameters | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.