Description Usage Arguments Value Author(s) See Also Examples
These functions allow a user to store twitteR based data to a database backend as well as retrieving previously stored data
1 2 3 4 | store_tweets_db(tweets, table_name="tweets")
store_users_db(users, table_name="users")
load_users_db(as.data.frame = FALSE, table_name = "users")
load_tweets_db(as.data.frame = FALSE, table_name = "tweets")
|
tweets |
A list of |
users |
A list of |
as.data.frame |
if |
table_name |
The database table to use for storing and loading |
store_tweets_db
and store_users_db
return TRUE
of FALSE
based on their success or not. The loading functions return either a data.frame
of the data (representing the underlying table) or a list of the appropriate twitteR
objects.
Jeff Gentry
register_db_backend
, register_sqlite_backend
, register_mysql_backend
1 2 3 4 5 6 7 | ## Not run:
register_sqlite_backend("/path/to/sqlite/file")
tweets = searchTwitter("#scala")
store_tweets_db(tweets)
from_db = load_tweets_db()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.