Description Usage Arguments Value Note Examples
Given a valid index code available, this function returns the corresponding historical data
for the specified period (start_date
until end_date
). The returned dataframe
includes Session, Value and Change columns
1 | index_data(index_code, start_date, end_date)
|
index_code |
A character vector of length one. Use |
start_date |
A character vector of length one matching the format 'dd/mm/yyyy' |
end_date |
A character vector of length one matching the format 'dd/mm/yyyy' |
data.frame
The difference between end_date
and start_date
should be less than or
equal 3 years.
1 2 | ## Not run: index_data('MASI', '01/01/2014', '31/12/2016')
## Not run: index_data('MADEX', '01/01/2017', '30/06/2017')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.