searchUsers: Returns list of users related to a search query

Description Usage Arguments Author(s) Examples

View source: R/search-users.R

Description

searchUsers Provides a simple, relevance-based search interface to public user accounts on Twitter. Try querying by topical interest, full name, company name, location, or other criteria. Exact match searches are not supported. Only the first 1,000 matches are available.

Usage

1
searchUsers(q = NULL, count = 100, oauth, verbose = TRUE)

Arguments

q

The search query to run against people search

count

Number of potential user results to retrieve

oauth

One of the following: either a list with details for an access token (see example below), a folder where OAuth tokens are stored, or a csv file with the format: consumer_key, consumer_secret, access_token, access_token_secret.

verbose

shows additional ouput about token usage in console

Author(s)

Pablo Barbera P.Barbera@lse.ac.uk

Examples

1
2
3
4
5
## Not run: 
## Search users using query "pablo"
 userdata <- searchUsers(q="pablo", count=200, oauth=my_oauth)

## End(Not run)

lingeringcode/tweetscoresmod documentation built on Feb. 18, 2020, 5:28 p.m.