FindEmojiPipe: Class to find and/or replace the emoji on the data of an...

Description Usage Arguments Format Details Inherit Methods See Also

Description

This class allows you to preprocess the data of an instance to find the emojis that are in it. Optionally, you can decide whether to replace the data emojis or not.

Usage

1
2
3
FindEmojiPipe$new(propertyName = "Emojis",
                  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).

Format

An object of class R6ClassGenerator of length 24.

Details

The emoji list that is used is the one provided by the variable emojis of the rtweet package.

The pipe will invalidate the instance in the moment that the resulting data is empty.

Inherit

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

Methods

See Also

PipeGeneric, Instance


miferreiro/bdp4R documentation built on May 20, 2019, 12:59 a.m.