| TeeCSVPipe {bdpar} | R Documentation |
Class to handle a CSV with the properties field of the preprocessed Instance
Description
Complete a CSV with the properties of the preprocessed
Instance.
Details
The path to save the properties should be defined in the "teeCSVPipe.output.path" field of bdpar.Options variable.
Inherit
This class inherits from GenericPipe and implements the
pipe abstract function.
Super class
bdpar::GenericPipe -> TeeCSVPipe
Methods
Public methods
Inherited methods
Method new()
Creates a TeeCSVPipe object.
Usage
TeeCSVPipe$new( propertyName = "", alwaysBeforeDeps = list(), notAfterDeps = list(), withData = TRUE, withSource = TRUE, outputPath = NULL )
Arguments
propertyNameA
charactervalue. Name of the property associated with theGenericPipe.alwaysBeforeDepsA
listvalue. The dependencies alwaysBefore (GenericPipesthat must be executed before this one).notAfterDepsA
listvalue. The dependencies notAfter (GenericPipesthat cannot be executed after this one).withDataA
logicalvalue. Indicates if the data is added to CSV.withSourceA
logicalvalue. Indicates if the source is added to CSV.outputPathA
charactervalue. The path of CSV.
Method pipe()
Completes the CSV with the preprocessed
Instance.
Usage
TeeCSVPipe$pipe(instance)
Arguments
Returns
The Instance with the modifications that have
occurred in the pipe.
Method clone()
The objects of this class are cloneable with this method.
Usage
TeeCSVPipe$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
See Also
AbbreviationPipe, bdpar.Options,
ContractionPipe, File2Pipe,
FindEmojiPipe, FindEmoticonPipe,
FindHashtagPipe, FindUrlPipe,
FindUserNamePipe, GuessDatePipe,
GuessLanguagePipe, Instance,
InterjectionPipe, MeasureLengthPipe,
GenericPipe, ResourceHandler,
SlangPipe, StopWordPipe,
StoreFileExtPipe, TargetAssigningPipe,
ToLowerCasePipe