Description Usage Arguments Value Examples
Fetches index series from DataHub
1 | fetch_index(code, source_code, query = list())
|
code |
the code of the index series |
source_code |
the source code of the index series |
query |
optional, availible list(from = yyyy-mm-dd, to = yyyy-mm-dd, bridge = 'linear' or 'last') |
dataframe
index series code
source code
series date
value of the series
1 2 3 | fetch_index('NEY', 'HS')
fetch_index('LHA', 'AL', query = list(to = '2019-02-01'))
fetch_index('VIVH-F', 'THI', query = list(from = '2019-01-01', bridge = 'linear'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.