qf_get_tweets_by_user: Extracts and stores tweets locally

Description Usage Arguments

View source: R/get_tweets.R

Description

Extracts and stores tweets locally

Usage

1
2
3
4
5
6
7
qf_get_tweets_by_user(
  users,
  wait = 1,
  n = 100,
  cache_id = TRUE,
  twitter_token = NULL
)

Arguments

users

A character vector of handles or id of Twitter users. Twitter users should ideally be provided in the form of user ids. If screen names are given, they will be converted to Twitter ids. In the rare case when a user screen name is made exclusively by numbers, provide users as lists using rtweet::as_screenname. See '?rtweet::as_screenname' for details.

wait

An integer, defaults to 1. Seconds to wait between requests to Twitter.

n

An integer, number of new tweets to request per users, defaults to 100.

twitter_token

A twitter token generated by rtweet.


giocomai/edjnetquotefinder documentation built on Feb. 11, 2022, 12:51 p.m.