Last chance! 50% off unlimited learning
Sale ends in
search_twitter_and_store(searchString, table_name = "tweets", lang = NULL, locale = NULL, geocode = NULL, retryOnRateLimit = 120, ...)
searchTwitter
register_db_backend
NULL
, restricts tweets to the given
language, given by an ISO 639-1 codeNULL
, 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
in link{searchTwitter}
GET
table_name
are being passed directly to searchTwitter
.This function will check if table_name
exists, and if so will also use a sinceID
of the
most recent ID in the table. The search is performed, the returned tweets are stored
in the database via store_tweets_db
.
register_db_backend
, searchTwitter
, store_tweets_db
## Not run:
# register_sqlite_backend("sqlit_file")
# n = search_twitter_and_store("#rstats", "rstats_tweets")
# ## End(Not run)
Run the code above in your browser using DataLab