get_local_data_partitioned: Read Monthly Partitioned Local Data

View source: R/core_local.R

get_local_data_partitionedR Documentation

Read Monthly Partitioned Local Data

Description

Reads a dataset stored as monthly RDS partitions. Time bounds are applied to partition discovery before files are loaded. If no partition directory exists, an existing monolithic RDS file is read for backward compatibility.

Usage

get_local_data_partitioned(
  local_file_path,
  time_col,
  from = NULL,
  to = NULL,
  order_cols = time_col,
  tz = "UTC"
)

Arguments

local_file_path

Virtual monolithic .rds path used to derive the sibling .parts directory and metadata sidecar.

time_col

Name of the partition timestamp column.

from, to

Optional inclusive time bounds.

order_cols

Optional output ordering columns.

tz

Time zone used to determine month boundaries.

Value

A data.table, or NULL when no local data exists.


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