searchTwitter(searchString, n=25, lang=NULL, since=NULL, until=NULL,
locale=NULL, geocode=NULL, ...)
Rtweets(n=25, lang=NULL, since=NULL, ...)
NULL
, restricts tweets to the given
language, given by an ISO 639-1 codeNULL
, restricts tweets to those since the
given date. Date is to be formatted as YYYY-MM-DDNULL
, restricts tweets to those since the
given date. Date is to be formatted as YYYY-MM-DDNULL
, will set the locale for the search.
As of 03/06/11 only ja
is effective, as per the Twitter APINULL
, returns tweets by users located
within a given radius of the given latitude/longitude. See
Details
below for more informationgetURL
n
argument. Authorized tweets are public tweets as well as those
protected tweets that are available to the user after authenticating
via registerTwitterOAuth
. For the geocode
argument, the values are given in the format
latitude,longitude,radius
, where the radius can have either
mi
(miles) or km
(kilometers) as a unit. For example
geocode='37.781157,-122.39720,1mi'
.
The Rtweets
function is a wrapper around searchTwitter
which hardcodes in a search for #rstats}.
status
objectsstatus
, registerTwitterOAuth
## Search between two dates searchTwitter('charlie sheen', since='2011-03-01', until='2011-03-02')
## geocoded results
searchTwitter('patriots', geocode='42.375,-71.1061111,10mi')