tCorpus-cash-delete_columns: Delete column from the data and meta data

Description Arguments Details Examples

Description

Usage:

Arguments

cnames

the names of the columns to delete

Details

## R6 method for class tCorpus. Use as tc$method (where tc is a tCorpus object).

1
1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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$get()
tc$delete_columns('token')
tc$get()

tc$get_meta()
tc$delete_meta_columns('date')
tc$get_meta()

kasperwelbers/corpustools documentation built on Sept. 1, 2018, 1:03 p.m.