opr: Overnight Policy Rate (OPR)

Description Usage Arguments Details Source Examples

View source: R/opr.R

Description

This function allows you to obtain data on Overnight Policy Rate (OPR) decided by the Monetary Policy Committee from the BNM API.

Usage

1
opr(year = NULL)

Arguments

year

Optional. Integer value above 2000. Series of integer values also supported (experimental).

Details

This function has initial support for vectorisation, i.e. returning a single tibble given a vector of years as arguments.

Source

https://api.bnm.gov.my/

Examples

1
2
## Not run: opr()
opr(2018:2019)

philip-khor/bnmr documentation built on Oct. 19, 2021, 1:10 p.m.