Description Usage Arguments Value Author(s) See Also Examples
A function to parse JSON files containing tweets stored using the function tweet2r
. Tweets are stored as a data.frame ready to be use within R.
1 | t2DataFrame(fileprefix, path = ".", pattern = ".json$")
|
fileprefix |
File prefix for JSON files where tweets has been stored after harvesting. If tweets have been retrieved with the |
path |
A character vector to folder. see ?list.files() |
pattern |
Limits possible file extensions, optional as regular expression. see ?list.files() |
tweets |
Return harvested tweets with |
Pau Arag<c3><b3> Galindo parago@uji.es
1 2 3 4 5 6 7 8 9 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.