getTweets: Gets tweets that match a given string

View source: R/getTweets.R

getTweetsR Documentation

Gets tweets that match a given string

Description

getTweets takes a string and matches it to recent tweets. It includes retweets.

Usage

getTweets(string, n = 18000)

Arguments

string

the string to look for

n

number of tweets, default = 18000 (see https://github.com/mkearney/rtweet)

ofile

file to save to

Details

Puts the results into a data.table and returns the data.table for further fun.

Author(s)

Ben Anderson, b.anderson@soton.ac.uk

See Also

Other tweets: createSearchFromTags(), getHashtags(), loadTweets(), processTweets()


dataknut/hashTagR documentation built on Sept. 20, 2023, 7:24 a.m.