Learn R Programming

tm (version 0.4)

prescindMeta: Prescind meta data

Description

Extracts meta data from each individual document (either stored in its slots or in additional user-defined local meta data pairs) of a corpus and creates a dataframe which contains both the global meta data information of the corpus plus the extracted (i.e., shifted up) local meta data.

Usage

prescindMeta(object, meta)

Arguments

object
a corpus.
meta
a character vector of meta data names to be shifted up.

Value

  • A data frame constructed from object with shifted up meta data.

See Also

DMetaData, and meta

Examples

Run this code
data("crude")
DMetaData(crude)
meta(crude, tag = "ID", type = "local")
prescindMeta(crude, c("ID", "Heading"))

Run the code above in your browser using DataLab