DublinCore-methods {tm}R Documentation

Methods for Function DublinCore in Package ‘tm’

Description

Methods for function DublinCore in package tm, which provide a bijective mapping between Simple Dublin Core meta data and tm meta data structures.

Methods

object = "TextDocument", tag = NULL
Returns or sets the Simple Dublin Core meta datum named tag for object. tag must be a valid Simple Dublin Core element name (i.e, Title, Creator, Subject, Description, Publisher, Contributor, Date, Type, Format, Identifier, Source, Language, Relation, Coverage, or Rights) or NULL. For the latter all Dublin Core meta data are printed.

Examples

data("crude")
DublinCore(crude[[1]])
meta(crude[[1]])
DublinCore(crude[[1]], tag = "Creator") <- "Ano Nymous"
DublinCore(crude[[1]], tag = "Format") <- "XML"
DublinCore(crude[[1]])
meta(crude[[1]])

[Package tm version 0.3-3 Index]