Description Usage Arguments Value Source See Also
getRfData
gets the risk-free rate data from the specified
directory and file. If the file does not exist, then it downloads the data
and stores it in the specified file.
1 2 3 |
maturity |
Numerical, maturity of yield in years (integer 1 to 30). Has
effect only if the file does not exist, or |
file |
String, file name. Default is generated based on today's date. |
dir |
String, directory of the file. Default is generated temporary directory. |
start |
Date (or an object that can be parsed using |
end |
Date (or an object that can be parsed using |
force |
Logical, whether to force download data even if the file with the specified name already exists. |
quite |
Logical, whether to suppress any output to console. |
frequency |
Character, one of daily, weekly, monthly, quarterly,
half-yearly, annual. Has effect only if the file does not exist,
or |
String, file path where the downloaded data is stored.
Data comes from ECB.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.