page_version: Versionning an article

Description Usage Arguments Value

View source: R/page_version.R

Description

Versionning an article

Usage

1
page_version(corpus, meta, parallel = TRUE)

Arguments

corpus

A character vector built with page_content

meta

A list of revisions metadata which each item had been built with page_revisions

parallel

A logical indicating whether the foreach loop should go parallel or not. If TRUE, you need to declare a parallel backend, see foreach documentation.

Value

A four-columns data-frame giving for each word an unique id, the word itself, the revision number in which it appear, and the revision number in which it disappear. For the last one, a missing value indicate that the word is still present into the page at the moment of the extraction.


cafeine05/WikiSocio documentation built on Nov. 17, 2018, 10:01 a.m.