Skip to content

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

@solomonchristyab

Description

@solomonchristyab

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions