streamR icon indicating copy to clipboard operation
streamR copied to clipboard

Couldn't convert json string to dataframe using parseTweets() ; Error in iconv(lines, "ASCII", "UTF-8", sub = "")

Open solomonchristyab opened this issue 9 years ago • 0 comments

I tried converting .json file to dataframe in R. But it ended up showing:

> thanioruvan.tweets <- parseTweets("thanioruvan_tweets.json")
**Error in iconv(lines, "ASCII", "UTF-8", sub = "") : **
  embedded nul in string: '{"created_at":["Mon Sep 21 01:48:19 +0000 2015"],"id":[6.45776539955532e+017],"id_str":["645776539955531776"],"text":["RT @SathieshDhas: Trvld 150km 4hrs up dwn, spnt 30\0 2 watch #ThaniOruvan Worth doin mre.....

thanioruvan_tweets.json has nearly 980 tweets downloaded using getTimeline()

Kindly fix up this issue.

Thanks in advance!

solomonchristyab avatar Feb 26 '16 08:02 solomonchristyab