Count tweets
Usage
tweet_counts_recent(query, ..., token = NULL, parse = TRUE, verbose = FALSE)
tweet_counts_all(query, ..., token = NULL, parse = TRUE, verbose = FALSE)
Arguments
- query
One query for matching Tweets.
- ...
Other arguments passed to the API.
- token
These endpoints only accept a bearer token (can be created via
rtweet_app()
). In most cases you are better of changing the default for all calls viaauth_as()
.- parse
If
TRUE
, the default, returns a tidy data frame. UseFALSE
to return the "raw" list corresponding to the JSON returned from the Twitter API.- verbose
A logical value to provide more information about the paginated queries (if any) and to store the data of each page.