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

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/utils.R

Description

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

Usage

1
twListToDF(twList)

Arguments

twList

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

Details

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

Value

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

Author(s)

Jeff Gentry

See Also

status, user, directMessage

Examples

1
2
3
4
5
  ## Not run: 
    zz <- searchTwitter("#rstats")
    twListToDF(zz)
  
## End(Not run)

twitteR documentation built on May 29, 2017, 8:26 p.m.