import_statuses {twitteR} | R Documentation |
Functions to import twitteR objects from various sources
Description
Functions designed to import data into twitteR objects from a variety of data sources. Currently only JSON is supported, and this entire branch of functionality should be considered experimental & under development.
Usage
import_statuses(raw_data, conversion_func = json_to_statuses)
import_trends(raw_data, conversion_func = json_to_trends)
import_users(raw_data, conversion_func = json_to_users)
import_obj(raw_data, conversion_func, ...)
json_to_users(raw_data)
json_to_statuses(raw_data)
json_to_trends(raw_data)
Arguments
raw_data |
Data to be be parsed via the prescribed function |
conversion_func |
The function to convert |
... |
Arguments to pass along to |
Value
A list of twitteR objects of the appropriate type, e.g. status
, user
, etc
Author(s)
Jeff Gentry
See Also
Examples
## Not run:
status_list = import_statuses(list_of_status_json)
## End(Not run)
[Package twitteR version 1.1.9 Index]