tbl: Create a lazy table reference from a .vtr file

View source: R/tbl.R

tblR Documentation

Create a lazy table reference from a .vtr file

Description

Opens a vectra1 file and returns a lazy query node. No data is read until collect() is called.

Usage

tbl(path)

Arguments

path

Path to a .vtr file.

Value

A vectra_node object representing a lazy scan of the file.

Examples

f <- tempfile(fileext = ".vtr")
write_vtr(mtcars, f)
node <- tbl(f)
print(node)
unlink(f)


vectra documentation built on May 8, 2026, 9:06 a.m.