getUsers: Returns user data for up to 100 Twitter users

Description Usage Arguments Author(s) Examples

Description

getUsers connects to the REST API of Twitter and returns user objects (user information) for up to 100 Twitter users, based on their screen names or user IDs

Usage

1
2
getUsers(oauth_folder = "~/credentials", screen_names = NULL, id = NULL,
  include_entities = "true", verbose = FALSE)

Arguments

oauth_folder

folder where OAuth tokens are stored.

screen_names

user names of the Twitter users

id

ids of Twitter users

include_entities

if "true", returned data will include most recent tweet

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: 
## Download user data for user "p_barbera"
 userdata <- getUsers(screen_names="p_barbera", oauth_folder="oauth")

## End(Not run)

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