Description Usage Arguments Value Examples
View source: R/dataFunctions.R
Search for Tweets containing entered words/phrases over designated time period and save with desired file name in file directory.
1 | streamTweets(searchWords, searchPeriod, fileName = "streamedTweets.json")
|
searchWords |
Words or phrases to be included in tweets, format: "word1,word2,a phrase" |
searchPeriod |
Number of seconds that Tweets will be collected for |
fileName |
File name of the results of the function, format: "myfilename.json" |
File in local directory with Tweets containing desired words and/or phrases.
1 | streamTweets("tree,bushes,apple orchard",60,"treeTweets.json")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.