Learn R Programming

twitteR (version 1.1.9)

twListToDF: A function to convert twitteR lists to data.frames

Description

This function will take a list of objects from a single twitteR class and return a data.frame version of the members

Usage

twListToDF(twList)

Arguments

twList
A list of objects of a single twitteR class, restrictions are listed in details

Value

A data.frame with rows corresponding to the objects in the list and columns being the fields of the class

Details

The classes supported by this function are status, user, and directMessage.

See Also

status, user, directMessage

Examples

Run this code
  ## Not run: 
#     zz <- searchTwitter("#rstats")
#     twListToDF(zz)
#   ## End(Not run)

Run the code above in your browser using DataLab