Closed vikasgupta1812 closed 8 years ago
Thanks, included in the errata: https://github.com/crubba/www-r-datacollection.com/blob/master/errata/errata.rmd
short_corpus <- release_corpus[c(
which(
meta(
release_corpus, tag = "organisation"
) == "Department for Business, Innovation & Skills"
)[1:20],
which(
meta(
release_corpus, tag = "organisation"
) == "Wales Office"
)[1:20],
which(
meta(
release_corpus, tag = "organisation"
) == "Department for Environment, Food & Rural Affairs"
)[1:20]
)]
table(unlist(meta(short_corpus, "organisation")))
sFilter and prescindMeta have been removed in the tm package version 0.6 refer: http://cran.r-project.org/web/packages/tm/news.html