parser

Description

parser

Usage

1
2
parser(x, n = NULL, return_tweets = TRUE, return_users = TRUE,
  clean_tweets = FALSE, as_double = FALSE)

Arguments

x

nested list of API data returned from fromJSON

n

desired number to return

return_tweets

logical indicating whether to return tweets data object.

return_users

logical indicating whether to return users data object.

clean_tweets

logical indicating whether to remove non-ASCII characters in text of tweets. defaults to FALSE.

as_double

logical indicating whether to handle ID variables as double (numeric) class. By default, this is set to FALSE, meaning ID variables are treated as character vectors. Setting this to TRUE can provide performance (speed and memory) boost but can also lead to issues when printing and saving, depending on the format.