fetch_interest: Fetches interest series from DataHub

Description Usage Arguments Value Examples

View source: R/interest.R

Description

Fetches interest series from DataHub

Usage

1
fetch_interest(code, source_code, query = list())

Arguments

code

the code of the interest series

source_code

the source code of the interest series

query

optional, availible list(from = yyyy-mm-dd, to = yyyy-mm-dd)

Value

dataframe

code

interest series code

source_code

source code

date

series date

value

value of the series

Examples

1
2
fetch_interest('IBID-12M', 'SI')
fetch_interest('PENK-XXX', 'SI', query = list(from = '2019-01-01', to = '2019-02-01'))

palmargisla/datahub-r documentation built on Sept. 18, 2019, 9:50 p.m.