getTweets: getTweets

Description Usage Arguments Value Examples

View source: R/getTweets.R

Description

Get all tweets for a collection.

Usage

1
2
getTweets(collection_title, collection_id = NULL, start_date = "",
  end_date = "", chunksize = 10, profile = "vectR", debug = FALSE)

Arguments

collection_title

Title of the collection

start_date

Tweets created before this date "YYYY-MM-DD" are ignored. Default is ""

end_date

Tweets created after this date "YYYY-MM-DD" are ignored. Default is ""

profile

Default is vectR

collection_is

Id of the collection. Default is NULL

limit

max. number of tweets fetched

Value

A dataframe with following coloums

'id' id of the tweet

'screen_name' of the twitteruser

'name' of the twitteruser

'text' tweettext

'created_at' date in raw twitter api format

'created_at' date in Date() format

'hashtags' hastags, separated by ,

'user_mentions' screen_names of mentioned users, separated by ,

'retweet_screen_name' screenname of the retweeted user, if the tweet is a retweet.

Additional coloumns for annotated values

Examples

1
getTweets("testcollection")

helderheit/vectR documentation built on May 21, 2019, 9:37 a.m.