This function is used to read the desinged index system file or dataframe. Note that the data format should be like this ([xxx] are columns for computing index automatically): —- pathString, weight, [func], [parameter], [remark], ... overall,,,, overall/growth/yoy3, 0.3, yoy, 3, yoy index for 3 monthes
1 2 3 | weight = getWeight(filename)
or
weight = getweight(dataframe)
|
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.