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
propertyName
A
character
value. Name of the property associated with theGenericPipe
.alwaysBeforeDeps
A
list
value. The dependencies alwaysBefore (GenericPipes
that must be executed before this one).notAfterDeps
A
list
value. The dependencies notAfter (GenericPipes
that cannot be executed after this one).withData
A
logical
value. Indicates if the data is added to CSV.withSource
A
logical
value. Indicates if the source is added to CSV.outputPath
A
character
value. 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
deep
Whether 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