tCorpus$delete_columns | R Documentation |
Usage:
cnames |
the names of the columns to delete |
## R6 method for class tCorpus. Use as tc$method (where tc is a tCorpus object).
delete_columns(cnames)
delete_meta_columns(cnames)
d = data.frame(text = c('Text one','Text two','Text three'),
date = c('2010-01-01','2010-01-01','2012-01-01'))
tc = create_tcorpus(d)
tc$tokens
tc$delete_columns('token')
tc$tokens
tc$meta
tc$delete_meta_columns('date')
tc$meta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.