Description Usage Arguments Value Examples
get ubci index data from source. Source is here.
1 2 | ubci_index(index = "UBMI", from = "2000-01-01",
to = as.character(Sys.Date()))
|
index |
default is UBMI. |
from |
Optional for various time series. A character string representing a start date in YYYY-MM-DD format. |
to |
Optional for various time series. A character string representing an end date in YYYY-MM-DD format. Default is system date today. |
Return type is tibble has columes contain index, date, open, high, low, close.
1 2 3 4 5 | index <- ubci_index(index = "UBMI")
index
ubci_index(index = "UBMI", from="2018-05-15")
ubci_index(index = "UBMI", to="2018-05-15")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.