Learn R Programming

vectra (version 0.6.2)

tbl: 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)

Value

A vectra_node object representing a lazy scan of the file.

Arguments

path

Path to a .vtr file.

Examples

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

Run the code above in your browser using DataLab