Learn R Programming

bbk (version 0.8.0)

boc_catalog: 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")

Value

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

Arguments

type

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

Examples

Run this code
if (FALSE) {
catalog <- boc_catalog()
head(catalog)

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

Run the code above in your browser using DataLab