| DataStream | R Documentation |
DataStream Class
DataStream Class
A R6 class to manage data streams.
next_valueThe next data value from the DataStream or an error message.
new()Initialize the DataStream object
DataStream$new(requery, num = 2)
requeryThe requery object, usually of class 'curl'
numNumeric. Defines the number of lines to read from the data source.
close()Close the DataStream
This method tries to destroy the object, and closes the requery if opened.
DataStream$close()
A character message indicating the status of the close operation.
get_state()Get the status of the DataStream
DataStream$get_state()
A character string indicating the current status of the DataStream.
clone()The objects of this class are cloneable with this method.
DataStream$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.