Learn R Programming

RTL (version 1.3.7)

getBoC: Bank of Canada Valet API

Description

Extracts series from the Bank of Canada's Valet API. API documentation at https://www.bankofcanada.ca/valet/docs.

Usage

getBoC(series)

Value

A long data frame. tibble

Arguments

series

Array of series name: c("FXCADUSD","BD.CDN.2YR.DQ.YLD"). character

Author

Philippe Cote

Examples

Run this code
RTL::getBoC(series = c("FXCADUSD","BD.CDN.2YR.DQ.YLD"))

Run the code above in your browser using DataLab