Learn R Programming

bdpar (version 1.0.1)

TeeCSVPipe: Class to handle a CSV with the properties field of the preprocessed Instance

Description

Complete a CSV with the properties of the preprocessed Instance.

Usage

TeeCSVPipe

Arguments

Constructor

TeeCSVPipe$new(propertyName = "",
               alwaysBeforeDeps = list(),
               notAfterDeps = list())
  • Arguments

    • propertyName: (character) name of the property associated with the Pipe.

    • alwaysBeforeDeps: (list) the dependences alwaysBefore (Pipes that must be executed before this one).

    • notAfterDeps: (list) the dependences notAfter (Pipes that cannot be executed after this one).

Inherit

This class inherits from PipeGeneric and implements the pipe abstract function.

Methods

  • pipe: completes the CSV with the preprocessed Instance.

    • Usage: pipe(instance, withData = TRUE, withSource = TRUE)

    • Value: the Instance with the modifications that have occurred in the Pipe.

    • Arguments:

      • instance: (Instance) Instance to preproccess.

      • withData: (logical) indicate if the data is added to CSV.

      • withSource: (logical) indicate if the source is added to CSV.

Details

The path to save the properties have to indicate in the configuration file.

The way to indicate is the following:

[CSVPath]

outPutTeeCSVPipePath = <<out_put_TeeCSVPipe_path>>

See Also

AbbreviationPipe, ContractionPipe, File2Pipe, FindEmojiPipe, FindEmoticonPipe, FindHashtagPipe, FindUrlPipe, FindUserNamePipe, GuessDatePipe, GuessLanguagePipe, Instance, InterjectionPipe, MeasureLengthPipe, PipeGeneric, ResourceHandler, SlangPipe, StopWordPipe, StoreFileExtPipe, TargetAssigningPipe, ToLowerCasePipe