sync_local_treasury_rates: Synchronize Local Treasury Rates

sync_local_treasury_ratesR Documentation

Synchronize Local Treasury Rates

Description

Synchronize Local Treasury Rates

Usage

sync_local_treasury_rates(dataset, years = NULL, local_path = NULL)

Arguments

dataset

Treasury dataset key. Supported values are "bill_rates", "par_yield_curve", "long_term_rates", "real_yield_curve", and "real_long_term_rates".

years

Optional integer vector of calendar years to fetch. If omitted, the function combines the historical archive with current-year annual XML feeds from 2024 through the current year.

local_path

Optional local storage path.

Value

A sync result list.


investdatar documentation built on Aug. 21, 2026, 5:17 p.m.