Skip to contents

Read chunkwise from a data source

Usage

read_chunkwise(src, chunk_size = 10000L, ...)

# S3 method for character
read_chunkwise(
  src,
  chunk_size = 10000L,
  format = c("csv", "csv2", "table"),
  stringsAsFactors = FALSE,
  ...
)

# S3 method for laf
read_chunkwise(src, chunk_size = 10000L, ...)

# S3 method for tbl_sql
read_chunkwise(src, chunk_size = 10000L, ...)

Arguments

src

source to read from

chunk_size

size of the chunks

...

parameters used by specific classes

format

used for specifying type of text file

stringsAsFactors

logical should string be read as factors?

Value

an object of type tbl_chunk