| prescindMeta {tm} | R Documentation |
Extracts meta data from each individual document (either stored in its attributes or in additional user-defined local meta data pairs) of a corpus and creates a data frame which contains both the global meta data information of the corpus plus the extracted (i.e., shifted up) local meta data of the individual text documents.
prescindMeta(x, meta)
x |
A corpus. |
meta |
A character vector of meta data names to be shifted up. |
A data frame constructed from x with shifted up
meta data.
data("crude")
DMetaData(crude)
meta(crude, tag = "ID", type = "local")
prescindMeta(crude, c("ID", "Heading"))