Description Usage Arguments Value Examples
Submit a search query (terms separated by "+") and get a return set of data (corpus).
1 2 |
search |
Search query to issue to twitter. Use "+" to separate query terms. |
n |
The maximum number of tweets to return |
since |
If not NULL, restricts tweets to those since the given date. Date is to be formatted as YYYY-MM-DD |
until |
If not NULL, restricts tweets to those up until the given date. Date is to be formatted as YYYY-MM-DD |
sinceID |
If not NULL, returns tweets with IDs greater (ie newer) than the specified ID |
maxID |
If not NULL, returns tweets with IDs smaller (ie older) than the specified ID |
A list
containing a vector of all doc and a data.frame of all tweets
1 2 | setupTwitterConn()
tweets <- tweet_corpus(search = "audusd OR aud_usd OR aud/usd", n = 1000, since = as.character(Sys.Date()-1), until = as.character(Sys.Date()))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.