streamable table
streamable_table(read, write, extension)
| read | read function. Arguments should be " |
|---|---|
| write | write function. Arguments should be " |
| extension | file extension to use (e.g. "tsv", "csv") |
a streamable_table object (S3)
Note several constraints on this design. The write method must be able
to take a generic R connection object (which will allow it to handle
the compression methods used, if any), and the read method must be able
to take a textConnection object. readr functions handle these cases
out of the box, so the above method is easy to write. Also note that
the write method must be able to omit_header. See the built-in methods
for more examples.