swyggq 发表于 2017-3-9 20:08 
感觉你可能是函数没写好
否则应该不会出现这么惨数据的
而且这样效率应该会很低
这个数据是从json转过来的,部分json如下所示:
{"reviewerID": "A2IBPI20UZIR0U", "asin": "1384719342", "reviewerName": "cassandra tu \"Yeah, well, that's just like, u...", "helpful": [0, 0], "reviewText": "Not much ...despite their pricing,", "overall": 5.0, "summary": "good", "unixReviewTime": 1393545600, "reviewTime": "02 28, 2014"}
{"reviewerID": "A14VAT5EAX3D9S", "asin": "1384719342", "reviewerName": "Jake", "helpful": [13, 14], "reviewText": "The product ...this product! :]", "overall": 5.0, "summary": "Jake", "unixReviewTime": 1363392000, "reviewTime": "03 16, 2013"}
{"reviewerID": "A195EZSQDW3E21", "asin": "1384719342", "reviewerName": "Rick Bennette \"Rick Bennette\"", "helpful": [1, 1], "reviewText": "The primary... you put it.", "overall": 5.0, "summary": "It Does The Job Well", "unixReviewTime": 1377648000, "reviewTime": "08 28, 2013"}
我直接读,只能保留最后一行,不知道怎么回事,所以我就在}后面都加了个",",然后用[]括起来,就读成现在这个样子了。。。我的目的是想读成data.frame格式,请问该怎么修改这个json(这个文件很大,不能做大改动)
谢谢