Learn R Programming

textmining (version 0.0.1)

tmMetaData: Function to create tmMetaData

Description

Function to create tmMetaData

Usage

tmMetaData(id = 1, language = "en", author = character(0), date = Sys.Date(), title = paste("Document_", id, sep = ""), ...)

Arguments

id
id of document
language
string language of document
author
string authors name
date
Date - date of reading in/date of publication
title
string title of document
...
other metadata

Value

returns tmMetaData object

Examples

Run this code
tmMetaData(id = 1, author = "Author", newmetadata = "random")
tmMetaData(title = "New title")

Run the code above in your browser using DataLab