get_opr: Overnight Policy Rate (OPR)

View source: R/opr.R

get_oprR Documentation

Overnight Policy Rate (OPR)

Description

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

Usage

get_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://apikijangportal.bnm.gov.my/

Examples

## Not run: get_opr()
get_opr(2018:2019)

philip-khor/bnmr documentation built on Nov. 23, 2023, 6:59 a.m.