Learn R Programming

tm.plugin.webmining (version 1.3)

corpus.update: Update/Extend WebCorpus with new feed items.

Description

The corpus.update method ensures, that the original WebCorpus feed sources are downloaded and checked against already included TextDocuments. Based on the ID included in the TextDocument's meta data, only new feed elements are downloaded and added to the WebCorpus. All relevant information regariding the original source feeds are stored in the WebCorpus' meta data (meta).

Usage

corpus.update(x, ...)

Arguments

x
object of type WebCorpus
...
fieldname
name of Corpus field name to be used as ID, defaults to "ID"

retryempty
specifies if empty corpus elements should be downloaded again, defaults to TRUE

...
additional parameters to Corpus function