chunker methods {chunkR} | R Documentation |
chunker objects can be manipulated with the following methods:
next_chunk: allows to read the next chunk of a chunker object
get_table: retrieve the current data chunk contained in the object
In addition, the following information can be retrieved from chunker objects:
get_completed: get the number of rows already read
get_colnames: get column names of the chunker object
next_chunk(obj) ## S4 method for signature 'chunker' next_chunk(obj) get_table(obj) ## S4 method for signature 'chunker' get_table(obj) get_colnames(obj) ## S4 method for signature 'chunker' get_colnames(obj) get_completed(obj) ## S4 method for signature 'chunker' get_completed(obj) get_total(obj) ## S4 method for signature 'chunker' get_total(obj) get_type(obj) ## S4 method for signature 'chunker' get_type(obj) get_attr(obj) ## S4 method for signature 'chunker' get_attr(obj)
obj |
object of class chunker |
See chunker
for examples.