boc_catalog: Fetch Bank of Canada (BoC) available series or group

View source: R/boc.R

boc_catalogR Documentation

Fetch Bank of Canada (BoC) available series or group

Description

Access all available series or groups from the Bank of Canada Valet API.

Usage

boc_catalog(type = "groups")

Arguments

type

(character(1))
Set of data to return. One of "groups" or "series". Default "groups".

Value

A data.table::data.table() with the requested data.

Source

https://www.bankofcanada.ca/valet/docs

Examples

## Not run: 
catalog <- boc_catalog()
head(catalog)

# filter for effective exchange rate series
dt <- catalog[grepl("CEER", label)]
head(dt)

## End(Not run)

bbk documentation built on Nov. 5, 2025, 6:07 p.m.