create_bonds_query_string: Create URL query string to download bond yields from Bank of...

Description Usage Arguments Value Examples

Description

Create URL query string to download bond yields from Bank of Canada website.

Usage

1
create_bonds_query_string(years_span = 10)

Arguments

years_span

A positive integer

Value

query_str The url query string for the last years_span years from today.

Examples

1
2
3
4
5
# For the last year of data
create_bonds_query_string(1)

# For the last 10 years of data
create_bonds_query_string(10)

vathymut/bondyields documentation built on May 3, 2019, 4:35 p.m.