Learn R Programming

smappR (version 0.5)

getStatuses: Downloads tweets by their ID from REST API and saves to a json file

Description

Downloads tweets by their ID from REST API and saves to a json file

Usage

getStatuses(ids = NULL, filename, oauth_folder, verbose = TRUE, sleep = 1)

Arguments

ids
list of tweet IDs to be downloaded
filename
Name of file where json tweets will be stored
oauth_folder
folder where OAuth tokens are stored.
verbose
If TRUE, prints information about API calls on console
sleep
Number of seconds to sleep between API calls.