A function to parse JSON files containing tweets stroed using the function tweet2r. Tweets are stored as a data.frame ready to be use within R.
Usage
t2DataFrame(fileprefix)
Arguments
fileprefix
File prefix for JSON files where tweets has been stored after harvesting. If tweets have been retrieved with the tweet2r function it should be the same fileprefix name.
Value
tweets
Return harvested tweets with tweet2r as a data.frame.
## Not run:
#json file prefix names
fileprefix="tweets"
#function to parse tweets from JSON file and import to R
tweets<-t2DataFrame(fileprefix)
## End(Not run)