library(tm)
file <- system.file("texts", "europresse_test2.html",
package = "tm.plugin.europresse")
corpus <- Corpus(EuropresseSource(file))
# See the contents of the documents
inspect(corpus)
# See meta-data associated with first article
meta(corpus[[1]])
Run the code above in your browser using DataLab