| tbl_csv | R Documentation |
Opens a CSV file for lazy, streaming query execution. Column types are
inferred from the first 1000 rows. No data is read until collect() is
called. Gzip-compressed files (.csv.gz) are supported transparently.
tbl_csv(path, batch_size = .DEFAULT_BATCH_SIZE)
path |
Path to a |
batch_size |
Number of rows per batch (default 65536). |
A vectra_node object representing a lazy scan of the CSV file.
f <- tempfile(fileext = ".csv")
write.csv(mtcars, f, row.names = FALSE)
node <- tbl_csv(f)
print(node)
unlink(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.