sync_all_treasury_rates: Synchronize All Treasury Rate Datasets

sync_all_treasury_ratesR Documentation

Synchronize All Treasury Rate Datasets

Description

Synchronize All Treasury Rate Datasets

Usage

sync_all_treasury_rates(
  datasets = names(.treasury_dataset_map()),
  years = NULL,
  local_path = NULL
)

Arguments

datasets

Optional dataset vector. If omitted, sync all supported Treasury rate datasets.

years

Optional year filter passed to sync_local_treasury_rates(). When omitted, each dataset uses a full-history backfill only if no local file exists; otherwise it syncs from the latest local year through the current year.

local_path

Optional local storage path.

Value

Summary data.table.


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