Description Usage Arguments Value
Retrieves data from the SMIF server
Loads/reloads the data from the SMIF server
Checks overall connection to internet (Google and Yahoo),
returns FALSE
if connection cannot be made to site,
returns TRUE
if
1 2 3 4 5 | getServerData(what, adv = F, adj = T, ...)
loadServerData(...)
clearServerData()
|
what |
Character; string indicating what to retrieve. Valid entries include 'holdings', 'cash balance'. |
adv |
Logical; should full, unaltered data be returned. Defaults to
|
adj |
Logical; should price data be estimated/adjusted to present value
(for |
... |
additional parameters |
site.name |
Character; name of the site to check |
Data.frame; current holdings for the SMIF (if what=="holdings"
)
xts; cash balance history of the SMIF (if what=="cash"
)
Logical; can site (or internet) be connected to Clears the server data stored by replacing the environment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.