This function is specifically made for the ExtJS based OpenCPU app. It converts the 'stocktable' dataframe to a tree structure that can be loaded by the ExtJS tree store. It uses the 'stocktable' data object that ships with the package.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.