prescindMeta {tm} | R Documentation |
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.
prescindMeta(object, meta)
object |
a corpus. |
meta |
a character vector of meta data names to be shifted up. |
A data frame constructed from object
with shifted up
meta
data.
data("crude") DMetaData(crude) meta(crude, tag = "ID", type = "local") prescindMeta(crude, c("ID", "Heading"))