Description Usage Arguments Format Details Author(s) See Also
VReader
Visitor class responsible for reading documents of various formats. Current formats include .csv, .Rdata, and .txt files
1 |
file |
Object of the File family of classes |
An object of class R6ClassGenerator
of length 24.
VReader Class Overview: The VReader class is an implementation of the visitor design pattern, as described in the book "Design Patterns: Elements of Reusable Object-Oriented Software" by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides (hence Gang of Four). This visitor pattern allows new operations to be defined without changing the classes upon which the visitor method operates.
VReader Methods: The VReader class supports csv, Rdata, and text files through the following methods:
readCsv(file)
Method for reading csv files.
readRdata(file)
Method for reading Rdata files.
readText(file)
Method for reading text files.
John James, jjames@DataScienceSalon.org
Other Read/Write Classes: Reader
,
VWriter
, Writer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.