ExtractorTwtid: Class to handle twtid files

Description Usage Arguments Format Details Inherit Methods Private fields See Also

Description

It is a class that inherits from the Instance class and implements the functions of extracting the text and the date of an twtid-type file.

Usage

1

Arguments

path

(character) Path of the twtid-type file.

Format

An object of class R6ClassGenerator of length 24.

Details

The connection to twitter is handled through the Connections class, which needs a configuration file with the necessary keys to make requests to the twitter API.

This class stores in the folder indicates in the file configuration the tweets processed so far, this allowing you to save twitter queries. The text fields, the date and the language of the tweet are stored.

The file configuration has to have the section cache with the value of the cachePathTwtid. This variable has to be the path to store the tweets and it is neccesary that it has two folder named: "_spam_" and "_ham_"

Inherit

This class inherits from Instance and implements the obtainSource and obtainDate abstracts functions.

Methods

Private fields

See Also

Instance


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