searchUsers: Returns list of users related to a search query

Description Usage Arguments Author(s) Examples

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_folder, verbose = TRUE)

Arguments

q

The search query to run against people search

count

Number of potential user results to retrieve

oauth_folder

folder where OAuth tokens are stored. It can also be the name of a file that contains the token, 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 pablo.barbera@nyu.edu

Examples

1
2
3
4
5
## Not run: 
## Search users using query "pablo"
 userdata <- searchUsers(q="pablo", count=200, oauth_folder="~/Dropbox/credentials")

## End(Not run)

SMAPPNYU/smappR documentation built on May 9, 2019, 11:19 a.m.