【发布时间】:2017-01-20 08:03:17
【问题描述】:
我想将一些元数据附加到 kwic 输出中,例如客户 ID(见下文),以便轻松查找主文件。我尝试使用 cbind 附加数据,但没有正确匹配。
如果这是可能的例子将不胜感激。
docname position contextPre keyword contextPost CustID
text3790 5 nothing at all looks good and sounds great 1
text3801 11 think the offer is a good value and has a lot 3
text3874 10 not so sure thats a good word to use 5
原始数据帧
CustID Comment
1 nothing at all looks good and sounds great
2 did not see anything that was very appealing
3 I think the offer is a good value and has a lot of potential
4 these items look terrible how are you still in business
5 not so sure thats a good word to use
6 having a hard time believing some place would sell an item so low
7 it may be worth investing in some additional equipment
【问题讨论】:
标签: r