search_tweets_download: Search tweets download

Description Usage Arguments Details Value

View source: R/search_tweets.R

Description

Automate the data collection for large Twitter searches (via search_tweets)

Usage

1

Arguments

q

Search query to be used to find matching tweets from the past 6-9 days. See search_tweets) for more information on Twitter search query syntax.

n

Number of desired tweets to return. See details for more information about relevant rate limits.

...

Other parameters are passed to search_tweets).

.stw

Optionally supply a preexisting output vector (like that returned by this function)–if NULL, the default, this function will start fresh.

Details

This function attempts to search and collect data for up to 18,000 (when using the default rtweet authorization token) or 63,000 (when using token generated from your own Twitter app with sufficient bearer token- level permissions) statuses every 15 minutes, sleeping between calls unti Twitter's API rate limit resets.

Value

Returns a list data frames of search data


mkearney/rtweet.download documentation built on Dec. 14, 2019, 7:27 p.m.