tweet_counts_recent | R Documentation |
Count tweets
tweet_counts_recent(query, ..., token = NULL, parse = TRUE, verbose = FALSE)
tweet_counts_all(query, ..., token = NULL, parse = TRUE, verbose = FALSE)
query |
One query for matching Tweets. |
... |
Other arguments passed to the API. |
token |
These endpoints only accept a bearer token (can be created via
|
parse |
If |
verbose |
A logical value to provide more information about the paginated queries (if any) and to store the data of each page. |
The number of tweets for a given granularity
https://developer.twitter.com/en/docs/twitter-api/tweets/counts/api-reference/get-tweets-counts-all
if (FALSE) {
tcr <- tweet_counts_recent(query = "#rtweet", parse = FALSE)
tca <- tweet_counts_all(query = "#rtweet", parse = FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.