View source: R/download_FRED.R
download_FRED | R Documentation |
download_FRED
returns the deposits and swap rates for the day input,
along with the date conventions for that specific currency. The source is
FRED.
download_FRED(
start = as.Date("2004-01-01"),
end = as.Date("2005-01-04"),
currency = "JPY"
)
start |
is the start date of the data frame we want |
end |
is the end date of the data frame we want |
currency |
is the three-letter currency code. As of now, it works for USD, EUR, and JPY. The default is JPY. |
a data frame that contains the rates based on the ISDA pecifications
download_markit
build_rates
## Not run:
download_FRED(start = as.Date("2003-12-31"), end = as.Date("2005-01-04"),
currency = "JPY")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.