Learn R Programming

bdpar (version 3.1.0)

GuessDatePipe: Class to obtain the date field of an Instance

Description

Obtains the date using the method which implements the subclass of Instance.

Arguments

Inherit

This class inherit from GenericPipe and implements the pipe abstract function.

Super class

bdpar::GenericPipe -> GuessDatePipe

Methods

Inherited methods


Method new()

Creates a GuessDatePipe object.

Usage

GuessDatePipe$new(
  propertyName = "date",
  alwaysBeforeDeps = list("TargetAssigningPipe"),
  notAfterDeps = list()
)

Arguments

propertyName

A character value. Name of the property associated with the GenericPipe.

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).


Method pipe()

Preprocesses the Instance to obtain the date.

Usage

GuessDatePipe$pipe(instance)

Arguments

instance

A Instance value. The Instance to preprocess.

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

GuessDatePipe$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

AbbreviationPipe, ContractionPipe, File2Pipe, FindEmojiPipe, FindEmoticonPipe, FindHashtagPipe, FindUrlPipe, FindUserNamePipe, GuessLanguagePipe, Instance, InterjectionPipe, MeasureLengthPipe, GenericPipe, SlangPipe, StopWordPipe, StoreFileExtPipe, TargetAssigningPipe, TeeCSVPipe, ToLowerCasePipe