Yields | R Documentation |
Get data on yields curve for various countries.
countries
Countries to scrap data for. Default for all countres.
new()
Create a new Yields object.
Yields$new(countries = c("US", "China", "EU"))
countries
character vector of countries to scrap data for.
A new 'Yields' object.
get_yields()
Scrap yields.
Yields$get_yields(eu_yields_history_file)
eu_yields_history_file
yields histoty path.
Data.table with yields data
get_yields_us()
Scrap yields for US.
Yields$get_yields_us()
Data.table with yields data
get_yields_china()
Scrap yields for China.
Yields$get_yields_china()
Data.table with yields data
get_yields_eu()
Scrap yields for EU from ECB.
Yields$get_yields_eu(yields_history_file)
yields_history_file
yields histoty path.
Data.table with yields data for EU from ECB.
clone()
The objects of this class are cloneable with this method.
Yields$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.